![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
A wedge is defined by: More...
#include <BRepPrim_GWedge.hxx>

Public Member Functions | |
| BRepPrim_GWedge () | |
| Default constructor. | |
| BRepPrim_GWedge (const BRepPrim_Builder &B, const gp_Ax2 &Axes, const double dx, const double dy, const double dz) | |
| Creates a GWedge algorithm. <Axes> is the axis system for the primitive. | |
| BRepPrim_GWedge (const BRepPrim_Builder &B, const gp_Ax2 &Axes, const double dx, const double dy, const double dz, const double ltx) | |
| Creates a GWedge primitive. <Axes> is the axis system for the primitive. | |
| BRepPrim_GWedge (const BRepPrim_Builder &B, const gp_Ax2 &Axes, const double xmin, const double ymin, const double zmin, const double z2min, const double x2min, const double xmax, const double ymax, const double zmax, const double z2max, const double x2max) | |
| Create a GWedge primitive. <Axes> is the axis system for the primitive. | |
| gp_Ax2 | Axes () const |
| Returns the coordinates system from <me>. | |
| double | GetXMin () const |
| Returns Xmin value from <me>. | |
| double | GetYMin () const |
| Returns YMin value from <me>. | |
| double | GetZMin () const |
| Returns ZMin value from <me>. | |
| double | GetZ2Min () const |
| Returns Z2Min value from <me>. | |
| double | GetX2Min () const |
| Returns X2Min value from <me>. | |
| double | GetXMax () const |
| Returns XMax value from <me>. | |
| double | GetYMax () const |
| Returns YMax value from <me>. | |
| double | GetZMax () const |
| Returns ZMax value from <me>. | |
| double | GetZ2Max () const |
| Returns Z2Max value from <me>. | |
| double | 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 nonexistent. | |
| void | Close (const BRepPrim_Direction d1) |
| Closes <me> in <d1> direction. A face and its edges or vertices are said existent. | |
| bool | 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>. | |
| bool | 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. | |
| bool | 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. | |
| bool | 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. | |
| bool | 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. | |
| bool | IsDegeneratedShape () |
| Checks a shape on degeneracy. | |
A wedge is defined by:
Axes: an Axis2 (coordinate system)
YMin, YMax the coordinates of the ymin and ymax rectangular faces parallel to the ZX plane (of the coordinate systems)
ZMin, ZMax, XMin, XMax the rectangular left (YMin) face parallel to the Z and X axes.
Z2Min, Z2Max, X2Min, X2Max the rectangular right (YMax) face parallel to the Z and X axes.
For a box Z2Min = ZMin, Z2Max = ZMax, X2Min = XMin, X2Max = XMax
The wedge can be open in the corresponding direction of its Boolean myInfinite
| BRepPrim_GWedge::BRepPrim_GWedge | ( | ) |
Default constructor.
| BRepPrim_GWedge::BRepPrim_GWedge | ( | const BRepPrim_Builder & | B, |
| const gp_Ax2 & | Axes, | ||
| const double | dx, | ||
| const double | dy, | ||
| const double | dz ) |
Creates a GWedge 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_GWedge::BRepPrim_GWedge | ( | const BRepPrim_Builder & | B, |
| const gp_Ax2 & | Axes, | ||
| const double | dx, | ||
| const double | dy, | ||
| const double | dz, | ||
| const double | ltx ) |
Creates a GWedge 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_GWedge::BRepPrim_GWedge | ( | const BRepPrim_Builder & | B, |
| const gp_Ax2 & | Axes, | ||
| const double | xmin, | ||
| const double | ymin, | ||
| const double | zmin, | ||
| const double | z2min, | ||
| const double | x2min, | ||
| const double | xmax, | ||
| const double | ymax, | ||
| const double | zmax, | ||
| const double | z2max, | ||
| const double | x2max ) |
Create a GWedge 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
| gp_Ax2 BRepPrim_GWedge::Axes | ( | ) | const |
Returns the coordinates system from <me>.
| void BRepPrim_GWedge::Close | ( | const BRepPrim_Direction | d1 | ) |
Closes <me> in <d1> direction. A face and its edges or vertices are said existent.
| const TopoDS_Edge & BRepPrim_GWedge::Edge | ( | const BRepPrim_Direction | d1, |
| const BRepPrim_Direction | d2 ) |
Returns the Edge of <me> located in <d1><d2> direction.
| const TopoDS_Face & BRepPrim_GWedge::Face | ( | const BRepPrim_Direction | d1 | ) |
Returns the Face of <me> located in <d1> direction.
| double BRepPrim_GWedge::GetX2Max | ( | ) | const |
Returns X2Max value from <me>.
| double BRepPrim_GWedge::GetX2Min | ( | ) | const |
Returns X2Min value from <me>.
| double BRepPrim_GWedge::GetXMax | ( | ) | const |
Returns XMax value from <me>.
| double BRepPrim_GWedge::GetXMin | ( | ) | const |
Returns Xmin value from <me>.
| double BRepPrim_GWedge::GetYMax | ( | ) | const |
Returns YMax value from <me>.
| double BRepPrim_GWedge::GetYMin | ( | ) | const |
Returns YMin value from <me>.
| double BRepPrim_GWedge::GetZ2Max | ( | ) | const |
Returns Z2Max value from <me>.
| double BRepPrim_GWedge::GetZ2Min | ( | ) | const |
Returns Z2Min value from <me>.
| double BRepPrim_GWedge::GetZMax | ( | ) | const |
Returns ZMax value from <me>.
| double BRepPrim_GWedge::GetZMin | ( | ) | const |
Returns ZMin value from <me>.
| bool BRepPrim_GWedge::HasEdge | ( | const BRepPrim_Direction | d1, |
| const BRepPrim_Direction | d2 ) const |
Returns True if <me> has an Edge in <d1><d2> direction.
| bool BRepPrim_GWedge::HasFace | ( | const BRepPrim_Direction | d1 | ) | const |
Returns True if <me> has a Face in <d1> direction.
| bool BRepPrim_GWedge::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.
| bool BRepPrim_GWedge::HasWire | ( | const BRepPrim_Direction | d1 | ) | const |
Returns True if <me> has a Wire in <d1> direction.
| bool BRepPrim_GWedge::IsDegeneratedShape | ( | ) |
Checks a shape on degeneracy.
| bool BRepPrim_GWedge::IsInfinite | ( | const BRepPrim_Direction | d1 | ) | const |
Returns True if <me> is open in <d1> direction.
| gp_Lin BRepPrim_GWedge::Line | ( | const BRepPrim_Direction | d1, |
| const BRepPrim_Direction | d2 ) |
Returns the line of the Edge of <me> located in <d1><d2> direction.
| void BRepPrim_GWedge::Open | ( | const BRepPrim_Direction | d1 | ) |
Opens <me> in <d1> direction. A face and its edges or vertices are said nonexistent.
| gp_Pln BRepPrim_GWedge::Plane | ( | const BRepPrim_Direction | d1 | ) |
Returns the plane of the Face of <me> located in <d1> direction.
| gp_Pnt BRepPrim_GWedge::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.
| const TopoDS_Shell & BRepPrim_GWedge::Shell | ( | ) |
Returns the Shell containing the Faces of <me>.
| const TopoDS_Vertex & BRepPrim_GWedge::Vertex | ( | const BRepPrim_Direction | d1, |
| const BRepPrim_Direction | d2, | ||
| const BRepPrim_Direction | d3 ) |
Returns the Vertex of <me> located in <d1><d2><d3> direction.
| const TopoDS_Wire & BRepPrim_GWedge::Wire | ( | const BRepPrim_Direction | d1 | ) |
Returns the Wire of <me> located in <d1> direction.