Open CASCADE Technology 7.8.2.dev
|
Provides constructors without Builders. More...
#include <BRepPrim_Wedge.hxx>
Public Member Functions | |
BRepPrim_Wedge () | |
Default constructor. | |
BRepPrim_Wedge (const gp_Ax2 &Axes, const Standard_Real dx, const Standard_Real dy, const Standard_Real dz) | |
Creates a Wedge algorithm. <Axes> is the axis system for the primitive. | |
BRepPrim_Wedge (const gp_Ax2 &Axes, const Standard_Real dx, const Standard_Real dy, const Standard_Real dz, const Standard_Real ltx) | |
Creates a Wedge primitive. <Axes> is the axis system for the primitive. | |
BRepPrim_Wedge (const gp_Ax2 &Axes, const Standard_Real xmin, const Standard_Real ymin, const Standard_Real zmin, const Standard_Real z2min, const Standard_Real x2min, const Standard_Real xmax, const Standard_Real ymax, const Standard_Real zmax, const Standard_Real z2max, const Standard_Real x2max) | |
Create a Wedge primitive. <Axes> is the axis system for the primitive. | |
Public Member Functions inherited from BRepPrim_GWedge | |
BRepPrim_GWedge () | |
Default constructor. | |
BRepPrim_GWedge (const BRepPrim_Builder &B, const gp_Ax2 &Axes, const Standard_Real dx, const Standard_Real dy, const Standard_Real dz) | |
Creates a GWedge algorithm. <Axes> is the axis system for the primitive. | |
BRepPrim_GWedge (const BRepPrim_Builder &B, const gp_Ax2 &Axes, const Standard_Real dx, const Standard_Real dy, const Standard_Real dz, const Standard_Real ltx) | |
Creates a GWedge primitive. <Axes> is the axis system for the primitive. | |
BRepPrim_GWedge (const BRepPrim_Builder &B, const gp_Ax2 &Axes, const Standard_Real xmin, const Standard_Real ymin, const Standard_Real zmin, const Standard_Real z2min, const Standard_Real x2min, const Standard_Real xmax, const Standard_Real ymax, const Standard_Real zmax, const Standard_Real z2max, const Standard_Real x2max) | |
Create a GWedge primitive. <Axes> is the axis system for the primitive. | |
gp_Ax2 | Axes () const |
Returns the coordinates system from <me>. | |
Standard_Real | GetXMin () const |
Returns Xmin value from <me>. | |
Standard_Real | GetYMin () const |
Returns YMin value from <me>. | |
Standard_Real | GetZMin () const |
Returns ZMin value from <me>. | |
Standard_Real | GetZ2Min () const |
Returns Z2Min value from <me>. | |
Standard_Real | GetX2Min () const |
Returns X2Min value from <me>. | |
Standard_Real | GetXMax () const |
Returns XMax value from <me>. | |
Standard_Real | GetYMax () const |
Returns YMax value from <me>. | |
Standard_Real | GetZMax () const |
Returns ZMax value from <me>. | |
Standard_Real | GetZ2Max () const |
Returns Z2Max value from <me>. | |
Standard_Real | GetX2Max () const |
Returns X2Max value from <me>. | |
void | Open (const BRepPrim_Direction d1) |
Opens <me> in <d1> direction. A face and its edges or vertices are said nonexistant. | |
void | Close (const BRepPrim_Direction d1) |
Closes <me> in <d1> direction. A face and its edges or vertices are said existant. | |
Standard_Boolean | IsInfinite (const BRepPrim_Direction d1) const |
Returns True if <me> is open in <d1> direction. | |
const TopoDS_Shell & | Shell () |
Returns the Shell containing the Faces of <me>. | |
Standard_Boolean | HasFace (const BRepPrim_Direction d1) const |
Returns True if <me> has a Face in <d1> direction. | |
const TopoDS_Face & | Face (const BRepPrim_Direction d1) |
Returns the Face of <me> located in <d1> direction. | |
gp_Pln | Plane (const BRepPrim_Direction d1) |
Returns the plane of the Face of <me> located in <d1> direction. | |
Standard_Boolean | HasWire (const BRepPrim_Direction d1) const |
Returns True if <me> has a Wire in <d1> direction. | |
const TopoDS_Wire & | Wire (const BRepPrim_Direction d1) |
Returns the Wire of <me> located in <d1> direction. | |
Standard_Boolean | HasEdge (const BRepPrim_Direction d1, const BRepPrim_Direction d2) const |
Returns True if <me> has an Edge in <d1><d2> direction. | |
const TopoDS_Edge & | Edge (const BRepPrim_Direction d1, const BRepPrim_Direction d2) |
Returns the Edge of <me> located in <d1><d2> direction. | |
gp_Lin | Line (const BRepPrim_Direction d1, const BRepPrim_Direction d2) |
Returns the line of the Edge of <me> located in <d1><d2> direction. | |
Standard_Boolean | HasVertex (const BRepPrim_Direction d1, const BRepPrim_Direction d2, const BRepPrim_Direction d3) const |
Returns True if <me> has a Vertex in <d1><d2><d3> direction. | |
const TopoDS_Vertex & | Vertex (const BRepPrim_Direction d1, const BRepPrim_Direction d2, const BRepPrim_Direction d3) |
Returns the Vertex of <me> located in <d1><d2><d3> direction. | |
gp_Pnt | Point (const BRepPrim_Direction d1, const BRepPrim_Direction d2, const BRepPrim_Direction d3) |
Returns the point of the Vertex of <me> located in <d1><d2><d3> direction. | |
Standard_Boolean | IsDegeneratedShape () |
Checks a shape on degeneracy. | |
Provides constructors without Builders.
|
inline |
Default constructor.
BRepPrim_Wedge::BRepPrim_Wedge | ( | const gp_Ax2 & | Axes, |
const Standard_Real | dx, | ||
const Standard_Real | dy, | ||
const Standard_Real | dz ) |
Creates a Wedge algorithm. <Axes> is the axis system for the primitive.
XMin, YMin, ZMin are set to 0 XMax, YMax, ZMax are set to dx, dy, dz Z2Min = ZMin Z2Max = ZMax X2Min = XMin X2Max = XMax The result is a box dx,dy,dz should be positive
BRepPrim_Wedge::BRepPrim_Wedge | ( | const gp_Ax2 & | Axes, |
const Standard_Real | dx, | ||
const Standard_Real | dy, | ||
const Standard_Real | dz, | ||
const Standard_Real | ltx ) |
Creates a Wedge primitive. <Axes> is the axis system for the primitive.
XMin, YMin, ZMin are set to 0 XMax, YMax, ZMax are set to dx, dy, dz Z2Min = ZMin Z2Max = ZMax X2Min = ltx X2Max = ltx The result is a STEP right angular wedge dx,dy,dz should be positive ltx should not be negative
BRepPrim_Wedge::BRepPrim_Wedge | ( | const gp_Ax2 & | Axes, |
const Standard_Real | xmin, | ||
const Standard_Real | ymin, | ||
const Standard_Real | zmin, | ||
const Standard_Real | z2min, | ||
const Standard_Real | x2min, | ||
const Standard_Real | xmax, | ||
const Standard_Real | ymax, | ||
const Standard_Real | zmax, | ||
const Standard_Real | z2max, | ||
const Standard_Real | x2max ) |
Create a Wedge primitive. <Axes> is the axis system for the primitive.
all the fields are set to the corresponding value XYZMax - XYZMin should be positive ZX2Max - ZX2Min should not be negative