Open CASCADE Technology 6.6.0
|
Implement the OneAxis algoritm for a revolution
surface.
#include <BRepPrim_Revolution.hxx>
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) |
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] |
virtual TopoDS_Face BRepPrim_Revolution::MakeEmptyLateralFace | ( | ) | const [virtual] |
Implements BRepPrim_OneAxis.
Reimplemented in BRepPrim_Cylinder, BRepPrim_Cone, BRepPrim_Sphere, and BRepPrim_Torus.
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.