OCC Main Page | ModelingData | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingData
TKGeomBase
GC


GC_MakeCylindricalSurface Class Reference

This class implements the following algorithms used
to create a CylindricalSurface from Geom.
* Create a CylindricalSurface parallel to another and
passing through a point.
* Create a CylindricalSurface parallel to another at a
distance
<dist>.
* Create a CylindricalSurface passing through 3 points.
* Create a CylindricalSurface by its axis and radius.
* Create a cylindricalSurface by its circular base.
The local coordinate system of the CylindricalSurface is defined
with an axis placement (see class ElementarySurface).

The "ZAxis" is the symmetry axis of the CylindricalSurface,
it gives the direction of increasing parametric value V.

The parametrization range is :
U [0, 2*PI], V ]- infinite, + infinite[

The "XAxis" and the "YAxis" define the placement plane of the
surface (Z = 0, and parametric value V = 0) perpendicular to
the symmetry axis. The "XAxis" defines the origin of the
parameter U = 0. The trigonometric sense gives the positive
orientation for the parameter U.
.

#include <GC_MakeCylindricalSurface.hxx>

Inheritance diagram for GC_MakeCylindricalSurface:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT GC_MakeCylindricalSurface (const gp_Ax2 &A2, const Standard_Real Radius)
 A2 defines the local coordinate system of the cylindrical surface.
The "ZDirection" of A2 defines the direction of the surface's
axis of symmetry.
At the creation the parametrization of the surface is defined
such that the normal Vector (N = D1U ^ D1V) is oriented towards
the "outside region" of the surface.
Warnings :
It is not forbidden to create a cylindrical surface with
Radius = 0.0
Status is "NegativeRadius" if Radius < 0.0
.
Standard_EXPORT GC_MakeCylindricalSurface (const gp_Cylinder &C)
 Creates a CylindricalSurface from a non persistent Cylinder
from package gp.
.
Standard_EXPORT GC_MakeCylindricalSurface (const gp_Cylinder &Cyl, const gp_Pnt &Point)
 Make a CylindricalSurface from Geom <thecylinder>
parallel to another
CylindricalSurface <cylinder> and passing through a
Pnt <point>.
.
Standard_EXPORT GC_MakeCylindricalSurface (const gp_Cylinder &Cyl, const Standard_Real Dist)
 Make a CylindricalSurface from Geom <thecylinder>
parallel to another
CylindricalSurface <cylinder> at the distance <dist>
which can be greater or lower than zero.
The radius of the result is the absolute value of the
radius of <cyl> plus <dist>
.
Standard_EXPORT GC_MakeCylindricalSurface (const gp_Pnt &P1, const gp_Pnt &P2, const gp_Pnt &P3)
 Make a CylindricalSurface from Geom <thecylinder>
passing through 3 Pnt <p1>,<p2>,<p3>.
Its axis is <p1p2> and its radius is the distance
between <p3> and <p1p2>
.
Standard_EXPORT GC_MakeCylindricalSurface (const gp_Ax1 &Axis, const Standard_Real Radius)
 Make a CylindricalSurface by its axis <axis> and radius
<radius>.
.
Standard_EXPORT GC_MakeCylindricalSurface (const gp_Circ &Circ)
 Make a CylindricalSurface by its circular base.
.
Standard_EXPORT const Handle_Geom_CylindricalSurface & Value () const
 Returns the constructed cylinder.
Exceptions StdFail_NotDone if no cylinder is constructed.
.
Standard_EXPORT const Handle_Geom_CylindricalSurface & Operator () const
Standard_EXPORT operator Handle_Geom_CylindricalSurface () const

Private Attributes

Handle_Geom_CylindricalSurface TheCylinder

Constructor & Destructor Documentation

Standard_EXPORT GC_MakeCylindricalSurface::GC_MakeCylindricalSurface const gp_Ax2 &  A2,
const Standard_Real  Radius
 

Standard_EXPORT GC_MakeCylindricalSurface::GC_MakeCylindricalSurface const gp_Cylinder &  C  ) 
 

Standard_EXPORT GC_MakeCylindricalSurface::GC_MakeCylindricalSurface const gp_Cylinder &  Cyl,
const gp_Pnt &  Point
 

Standard_EXPORT GC_MakeCylindricalSurface::GC_MakeCylindricalSurface const gp_Cylinder &  Cyl,
const Standard_Real  Dist
 

Standard_EXPORT GC_MakeCylindricalSurface::GC_MakeCylindricalSurface const gp_Pnt &  P1,
const gp_Pnt &  P2,
const gp_Pnt &  P3
 

Standard_EXPORT GC_MakeCylindricalSurface::GC_MakeCylindricalSurface const gp_Ax1 &  Axis,
const Standard_Real  Radius
 

Standard_EXPORT GC_MakeCylindricalSurface::GC_MakeCylindricalSurface const gp_Circ &  Circ  ) 
 


Member Function Documentation

Standard_EXPORT const Handle_Geom_CylindricalSurface& GC_MakeCylindricalSurface::Operator  )  const
 

void GC_MakeCylindricalSurface::operator delete void *  anAddress  )  [inline]
 

Reimplemented from GC_Root.

Standard_EXPORT GC_MakeCylindricalSurface::operator Handle_Geom_CylindricalSurface  )  const
 

void* GC_MakeCylindricalSurface::operator new size_t  size  )  [inline]
 

Reimplemented from GC_Root.

void* GC_MakeCylindricalSurface::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented from GC_Root.

Standard_EXPORT const Handle_Geom_CylindricalSurface& GC_MakeCylindricalSurface::Value  )  const
 


Field Documentation

Handle_Geom_CylindricalSurface GC_MakeCylindricalSurface::TheCylinder [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:22:40 2008 for OpenCASCADE by  doxygen 1.4.1