Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions
BRepPrim_Revolution Class Reference

Implement the OneAxis algoritm for a revolution
surface.
More...

#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.
More...
 
virtual TopoDS_Face MakeEmptyLateralFace () const
 The surface normal should be directed towards the
outside.
More...
 
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.
More...
 
virtual gp_Pnt2d MeridianValue (const Standard_Real V) const
 Returns the meridian point at parameter <V> in the
plane XZ.
More...
 
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.
More...
 
- Public Member Functions inherited from BRepPrim_OneAxis
virtual void Delete ()
 
virtual ~BRepPrim_OneAxis ()
 
void SetMeridianOffset (const Standard_Real MeridianOffset=0)
 
const gp_Ax2Axes () const
 
void Axes (const gp_Ax2 &A)
 
Standard_Real Angle () const
 
void Angle (const Standard_Real A)
 
Standard_Real VMin () const
 
void VMin (const Standard_Real V)
 
Standard_Real VMax () const
 
void VMax (const Standard_Real V)
 
virtual Standard_Boolean MeridianOnAxis (const Standard_Real V) const
 
virtual Standard_Boolean MeridianClosed () const
 
virtual Standard_Boolean VMaxInfinite () const
 
virtual Standard_Boolean VMinInfinite () const
 
virtual Standard_Boolean HasTop () const
 
virtual Standard_Boolean HasBottom () const
 
virtual Standard_Boolean HasSides () const
 
const TopoDS_ShellShell ()
 
const TopoDS_FaceLateralFace ()
 
const TopoDS_FaceTopFace ()
 
const TopoDS_FaceBottomFace ()
 
const TopoDS_FaceStartFace ()
 
const TopoDS_FaceEndFace ()
 
const TopoDS_WireLateralWire ()
 
const TopoDS_WireLateralStartWire ()
 
const TopoDS_WireLateralEndWire ()
 
const TopoDS_WireTopWire ()
 
const TopoDS_WireBottomWire ()
 
const TopoDS_WireStartWire ()
 
const TopoDS_WireAxisStartWire ()
 
const TopoDS_WireEndWire ()
 
const TopoDS_WireAxisEndWire ()
 
const TopoDS_EdgeAxisEdge ()
 
const TopoDS_EdgeStartEdge ()
 
const TopoDS_EdgeEndEdge ()
 
const TopoDS_EdgeStartTopEdge ()
 
const TopoDS_EdgeStartBottomEdge ()
 
const TopoDS_EdgeEndTopEdge ()
 
const TopoDS_EdgeEndBottomEdge ()
 
const TopoDS_EdgeTopEdge ()
 
const TopoDS_EdgeBottomEdge ()
 
const TopoDS_VertexAxisTopVertex ()
 
const TopoDS_VertexAxisBottomVertex ()
 
const TopoDS_VertexTopStartVertex ()
 
const TopoDS_VertexTopEndVertex ()
 
const TopoDS_VertexBottomStartVertex ()
 
const TopoDS_VertexBottomEndVertex ()
 

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.
More...
 
void Meridian (const Handle< Geom_Curve > &M, const Handle< Geom2d_Curve > &PM)
 
- Protected Member Functions inherited from BRepPrim_OneAxis
 BRepPrim_OneAxis (const BRepPrim_Builder &B, const gp_Ax2 &A, const Standard_Real VMin, const Standard_Real VMax)
 

Additional Inherited Members

- Protected Attributes inherited from BRepPrim_OneAxis
BRepPrim_Builder myBuilder
 

Detailed Description

Implement the OneAxis algoritm for a revolution
surface.

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 
)

Create a revolution body <M> is the meridian nd
must be in the XZ plane of . <PM> is the
meridian in the XZ plane.

BRepPrim_Revolution::BRepPrim_Revolution ( const gp_Ax2 A,
const Standard_Real  VMin,
const Standard_Real  VMax 
)
protected

Create a revolution body. The meridian is set
later. Reserved for derivated classes.

Member Function Documentation

virtual TopoDS_Face BRepPrim_Revolution::MakeEmptyLateralFace ( ) const
virtual

The surface normal should be directed towards the
outside.

Implements BRepPrim_OneAxis.

Reimplemented in BRepPrim_Cone, BRepPrim_Cylinder, BRepPrim_Torus, and BRepPrim_Sphere.

virtual TopoDS_Edge BRepPrim_Revolution::MakeEmptyMeridianEdge ( const Standard_Real  Ang) const
virtual

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.

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

Returns the meridian point at parameter <V> in the
plane XZ.

Implements BRepPrim_OneAxis.

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

Sets the parametric urve of the edge <E> in the
face <F> to be the 2d representation of the
meridian.

Implements BRepPrim_OneAxis.


The documentation for this class was generated from the following file: