Open CASCADE Technology
6.5.4
|
Implement the cone primitive.
#include <BRepPrim_Cone.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | BRepPrim_Cone (const Standard_Real Angle, const gp_Ax2 &Position, const Standard_Real Height, const Standard_Real Radius=0) |
the STEP definition Angle = semi-angle of the cone Position : the coordinate system Height : height of the cone. Radius : radius of truncated face at z = 0 The apex is on z < 0 Errors : Height < Resolution Angle < Resolution / Height Angle > PI/2 - Resolution / Height | |
BRepPrim_Cone (const Standard_Real Angle) | |
infinite cone at origin on Z negative | |
BRepPrim_Cone (const Standard_Real Angle, const gp_Pnt &Apex) | |
infinite cone at Apex on Z negative | |
BRepPrim_Cone (const Standard_Real Angle, const gp_Ax2 &Axes) | |
infinite cone with Axes | |
BRepPrim_Cone (const Standard_Real R1, const Standard_Real R2, const Standard_Real H) | |
create a Cone at origin on Z axis, of height H, radius R1 at Z = 0, R2 at Z = H, X is the origin of angles. If R1 or R2 is 0 there is an apex. Otherwise, it is a truncated cone. Error : R1 and R2 < Resolution R1 or R2 negative Abs(R1-R2) < Resolution H < Resolution H negative | |
BRepPrim_Cone (const gp_Pnt &Center, const Standard_Real R1, const Standard_Real R2, const Standard_Real H) | |
same as above but at a given point | |
BRepPrim_Cone (const gp_Ax2 &Axes, const Standard_Real R1, const Standard_Real R2, const Standard_Real H) | |
same as above with given axes system. | |
virtual TopoDS_Face | MakeEmptyLateralFace () const |
The surface normal should be directed towards the outside. |
DEFINE_STANDARD_ALLOC BRepPrim_Cone::BRepPrim_Cone | ( | const Standard_Real | Angle, |
const gp_Ax2 & | Position, | ||
const Standard_Real | Height, | ||
const Standard_Real | Radius = 0 |
||
) |
BRepPrim_Cone::BRepPrim_Cone | ( | const Standard_Real | Angle, |
const gp_Pnt & | Apex | ||
) |
BRepPrim_Cone::BRepPrim_Cone | ( | const Standard_Real | Angle, |
const gp_Ax2 & | Axes | ||
) |
BRepPrim_Cone::BRepPrim_Cone | ( | const Standard_Real | R1, |
const Standard_Real | R2, | ||
const Standard_Real | H | ||
) |
BRepPrim_Cone::BRepPrim_Cone | ( | const gp_Pnt & | Center, |
const Standard_Real | R1, | ||
const Standard_Real | R2, | ||
const Standard_Real | H | ||
) |
BRepPrim_Cone::BRepPrim_Cone | ( | const gp_Ax2 & | Axes, |
const Standard_Real | R1, | ||
const Standard_Real | R2, | ||
const Standard_Real | H | ||
) |
virtual TopoDS_Face BRepPrim_Cone::MakeEmptyLateralFace | ( | ) | const [virtual] |
Reimplemented from BRepPrim_Revolution.