Open CASCADE Technology 6.6.0
|
Describes the common behavior of surfaces which
have a simple parametric equation in a local
coordinate system. The Geom package provides
several implementations of concrete elementary surfaces:
More...
#include <Geom_ElementarySurface.hxx>
Public Member Functions | |
void | SetAxis (const gp_Ax1 &A1) |
Changes the main axis (ZAxis) of the elementary surface. Raised if the direction of A1 is parallel to the XAxis of the coordinate system of the surface. | |
void | SetLocation (const gp_Pnt &Loc) |
Changes the location of the local coordinates system of the surface. | |
void | SetPosition (const gp_Ax3 &A3) |
Changes the local coordinates system of the surface. | |
gp_Ax1 | Axis () const |
Returns the main axis of the surface (ZAxis). | |
gp_Pnt | Location () const |
Returns the location point of the local coordinate system of the surface. | |
const gp_Ax3 & | Position () const |
Returns the local coordinates system of the surface. | |
virtual void | UReverse () |
Reverses the U parametric direction of the surface. | |
virtual Standard_Real | UReversedParameter (const Standard_Real U) const =0 |
Return the parameter on the Ureversed surface for the point of parameter U on <me>. me->UReversed()->Value(me->UReversedParameter(U),V) is the same point as me->Value(U,V) | |
virtual void | VReverse () |
Reverses the V parametric direction of the surface. | |
virtual Standard_Real | VReversedParameter (const Standard_Real V) const =0 |
Return the parameter on the Vreversed surface for the point of parameter V on <me>. me->VReversed()->Value(U,me->VReversedParameter(V)) is the same point as me->Value(U,V) | |
GeomAbs_Shape | Continuity () const |
Returns GeomAbs_CN, the global continuity of any elementary surface. | |
Standard_Boolean | IsCNu (const Standard_Integer N) const |
Returns True. | |
Standard_Boolean | IsCNv (const Standard_Integer N) const |
Returns True. | |
Protected Attributes | |
gp_Ax3 | pos |
gp_Ax1 Geom_ElementarySurface::Axis | ( | ) | const |
GeomAbs_Shape Geom_ElementarySurface::Continuity | ( | ) | const [virtual] |
Implements Geom_Surface.
Standard_Boolean Geom_ElementarySurface::IsCNu | ( | const Standard_Integer | N | ) | const [virtual] |
Implements Geom_Surface.
Standard_Boolean Geom_ElementarySurface::IsCNv | ( | const Standard_Integer | N | ) | const [virtual] |
Implements Geom_Surface.
gp_Pnt Geom_ElementarySurface::Location | ( | ) | const |
const gp_Ax3& Geom_ElementarySurface::Position | ( | ) | const |
void Geom_ElementarySurface::SetAxis | ( | const gp_Ax1 & | A1 | ) |
void Geom_ElementarySurface::SetLocation | ( | const gp_Pnt & | Loc | ) |
void Geom_ElementarySurface::SetPosition | ( | const gp_Ax3 & | A3 | ) |
virtual void Geom_ElementarySurface::UReverse | ( | ) | [virtual] |
Implements Geom_Surface.
Reimplemented in Geom_Plane.
virtual Standard_Real Geom_ElementarySurface::UReversedParameter | ( | const Standard_Real | U | ) | const [pure virtual] |
Implements Geom_Surface.
Implemented in Geom_Plane, Geom_ConicalSurface, Geom_CylindricalSurface, Geom_SphericalSurface, and Geom_ToroidalSurface.
virtual void Geom_ElementarySurface::VReverse | ( | ) | [virtual] |
Implements Geom_Surface.
Reimplemented in Geom_Plane, and Geom_ConicalSurface.
virtual Standard_Real Geom_ElementarySurface::VReversedParameter | ( | const Standard_Real | V | ) | const [pure virtual] |
Implements Geom_Surface.
Implemented in Geom_Plane, Geom_ConicalSurface, Geom_CylindricalSurface, Geom_SphericalSurface, and Geom_ToroidalSurface.
gp_Ax3 Geom_ElementarySurface::pos [protected] |