Open CASCADE Technology 6.6.0
Public Member Functions | Protected Member Functions
BRepPrim_Revolution Class Reference

Implement the OneAxis algoritm for a revolution
surface.

#include <BRepPrim_Revolution.hxx>

Inheritance diagram for BRepPrim_Revolution:
Inheritance graph
[legend]

Public Member Functions

 BRepPrim_Revolution (const gp_Ax2 &A, const Standard_Real VMin, const Standard_Real VMax, const Handle< Geom_Curve > &M, const Handle< Geom2d_Curve > &PM)
 Create a revolution body <M> is the meridian nd
must be in the XZ plane of . <PM> is the
meridian in the XZ plane.

virtual TopoDS_Face MakeEmptyLateralFace () const
 The surface normal should be directed towards the
outside.

virtual TopoDS_Edge MakeEmptyMeridianEdge (const Standard_Real Ang) const
 Returns an edge with a 3D curve made from the
meridian in the XZ plane rotated by <Ang> around
the Z-axis. Ang may be 0 or myAngle.

virtual gp_Pnt2d MeridianValue (const Standard_Real V) const
 Returns the meridian point at parameter <V> in the
plane XZ.

virtual void SetMeridianPCurve (TopoDS_Edge &E, const TopoDS_Face &F) const
 Sets the parametric urve of the edge <E> in the
face <F> to be the 2d representation of the
meridian.

Protected Member Functions

 BRepPrim_Revolution (const gp_Ax2 &A, const Standard_Real VMin, const Standard_Real VMax)
 Create a revolution body. The meridian is set
later. Reserved for derivated classes.

void Meridian (const Handle< Geom_Curve > &M, const Handle< Geom2d_Curve > &PM)

Constructor & Destructor Documentation

BRepPrim_Revolution::BRepPrim_Revolution ( const gp_Ax2 A,
const Standard_Real  VMin,
const Standard_Real  VMax,
const Handle< Geom_Curve > &  M,
const Handle< Geom2d_Curve > &  PM 
)
BRepPrim_Revolution::BRepPrim_Revolution ( const gp_Ax2 A,
const Standard_Real  VMin,
const Standard_Real  VMax 
) [protected]

Member Function Documentation

virtual TopoDS_Face BRepPrim_Revolution::MakeEmptyLateralFace ( ) const [virtual]
virtual TopoDS_Edge BRepPrim_Revolution::MakeEmptyMeridianEdge ( const Standard_Real  Ang) const [virtual]

Implements BRepPrim_OneAxis.

void BRepPrim_Revolution::Meridian ( const Handle< Geom_Curve > &  M,
const Handle< Geom2d_Curve > &  PM 
) [protected]
virtual gp_Pnt2d BRepPrim_Revolution::MeridianValue ( const Standard_Real  V) const [virtual]

Implements BRepPrim_OneAxis.

virtual void BRepPrim_Revolution::SetMeridianPCurve ( TopoDS_Edge E,
const TopoDS_Face F 
) const [virtual]

Implements BRepPrim_OneAxis.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines