#include <GEOMAlgo_ShapeInfo.hxx>
Public Member Functions | |
Standard_EXPORT | GEOMAlgo_ShapeInfo () |
virtual Standard_EXPORT | ~GEOMAlgo_ShapeInfo () |
Standard_EXPORT void | Reset () |
Standard_EXPORT void | SetType (const TopAbs_ShapeEnum aType) |
Standard_EXPORT TopAbs_ShapeEnum | Type () const |
Standard_EXPORT void | SetNbSubShapes (const TopAbs_ShapeEnum aType, const Standard_Integer aNb) |
Standard_EXPORT Standard_Integer | NbSubShapes (const TopAbs_ShapeEnum aType) const |
Standard_EXPORT void | SetKindOfShape (const GEOMAlgo_KindOfShape aT) |
Standard_EXPORT GEOMAlgo_KindOfShape | KindOfShape () const |
Standard_EXPORT void | SetKindOfName (const GEOMAlgo_KindOfName aT) |
Standard_EXPORT GEOMAlgo_KindOfName | KindOfName () const |
Standard_EXPORT void | SetKindOfBounds (const GEOMAlgo_KindOfBounds aT) |
Standard_EXPORT GEOMAlgo_KindOfBounds | KindOfBounds () const |
Standard_EXPORT void | SetKindOfClosed (const GEOMAlgo_KindOfClosed aT) |
Standard_EXPORT GEOMAlgo_KindOfClosed | KindOfClosed () const |
Standard_EXPORT void | SetKindOfDef (const GEOMAlgo_KindOfDef aT) |
Standard_EXPORT GEOMAlgo_KindOfDef | KindOfDef () const |
Standard_EXPORT void | SetLocation (const gp_Pnt &aP) |
Standard_EXPORT const gp_Pnt & | Location () const |
Standard_EXPORT void | SetDirection (const gp_Dir &aD) |
Standard_EXPORT const gp_Dir & | Direction () const |
Standard_EXPORT void | SetPosition (const gp_Ax2 &aAx2) |
Standard_EXPORT void | SetPosition (const gp_Ax3 &aAx3) |
Standard_EXPORT const gp_Ax3 & | Position () const |
Standard_EXPORT void | SetPnt1 (const gp_Pnt &aP) |
Standard_EXPORT const gp_Pnt & | Pnt1 () const |
Standard_EXPORT void | SetPnt2 (const gp_Pnt &aP) |
Standard_EXPORT const gp_Pnt & | Pnt2 () const |
Standard_EXPORT void | SetRadius1 (const Standard_Real aR) |
Standard_EXPORT Standard_Real | Radius1 () const |
Standard_EXPORT void | SetRadius2 (const Standard_Real aR) |
Standard_EXPORT Standard_Real | Radius2 () const |
Standard_EXPORT void | SetLength (const Standard_Real aL) |
Standard_EXPORT Standard_Real | Length () const |
Standard_EXPORT void | SetWidth (const Standard_Real aW) |
Standard_EXPORT Standard_Real | Width () const |
Standard_EXPORT void | SetHeight (const Standard_Real aH) |
Standard_EXPORT Standard_Real | Height () const |
Standard_EXPORT void | Dump () const |
Protected Member Functions | |
Standard_EXPORT void | DumpVertex () const |
Standard_EXPORT void | DumpEdge () const |
Standard_EXPORT void | DumpWire () const |
Standard_EXPORT void | DumpFace () const |
Standard_EXPORT void | DumpShell () const |
Standard_EXPORT void | DumpSolid () const |
Standard_EXPORT void | DumpCompSolid () const |
Standard_EXPORT void | DumpCompound () const |
Protected Attributes | |
TopAbs_ShapeEnum | myType |
Standard_Integer | myNbSubShapes [9] |
GEOMAlgo_KindOfShape | myKindOfShape |
GEOMAlgo_KindOfName | myKindOfName |
GEOMAlgo_KindOfBounds | myKindOfBounds |
GEOMAlgo_KindOfClosed | myKindOfClosed |
GEOMAlgo_KindOfDef | myKindOfDef |
gp_Pnt | myLocation |
gp_Dir | myDirection |
gp_Ax3 | myPosition |
Standard_Real | myRadius1 |
Standard_Real | myRadius2 |
Standard_Real | myLength |
Standard_Real | myWidth |
Standard_Real | myHeight |
gp_Pnt | myPnt1 |
gp_Pnt | myPnt2 |
Standard_Integer | myNbTypes |
GEOMAlgo_ShapeInfo::GEOMAlgo_ShapeInfo | ( | ) |
References Reset().
|
virtual |
const gp_Dir & GEOMAlgo_ShapeInfo::Direction | ( | ) | const |
References myDirection.
void GEOMAlgo_ShapeInfo::Dump | ( | ) | const |
References DumpCompound(), DumpCompSolid(), DumpEdge(), DumpFace(), DumpShell(), DumpSolid(), DumpVertex(), DumpWire(), and myType.
|
protected |
|
protected |
|
protected |
References DumpDirection(), DumpKindOfBounds(), DumpKindOfClosed(), DumpKindOfName(), DumpKindOfShape(), DumpLocation(), DumpPosition(), GEOMAlgo_KN_ARCCIRCLE, GEOMAlgo_KN_ARCELLIPSE, GEOMAlgo_KN_CIRCLE, GEOMAlgo_KN_ELLIPSE, GEOMAlgo_KN_LINE, GEOMAlgo_KN_SEGMENT, KindOfBounds(), KindOfClosed(), KindOfName(), KindOfShape(), myDirection, myLength, myLocation, myPnt1, myPnt2, myPosition, myRadius1, myRadius2, and NbSubShapes().
|
protected |
References DumpKindOfBounds(), DumpKindOfClosed(), DumpKindOfDef(), DumpKindOfName(), DumpKindOfShape(), DumpLocation(), DumpPosition(), GEOMAlgo_KN_CONE, GEOMAlgo_KN_CYLINDER, GEOMAlgo_KN_DISKCIRCLE, GEOMAlgo_KN_DISKELLIPSE, GEOMAlgo_KN_PLANE, GEOMAlgo_KN_POLYGON, GEOMAlgo_KN_QUADRANGLE, GEOMAlgo_KN_RECTANGLE, GEOMAlgo_KN_SPHERE, GEOMAlgo_KN_TORUS, GEOMAlgo_KN_TRIANGLE, KindOfBounds(), KindOfClosed(), KindOfDef(), KindOfName(), KindOfShape(), myHeight, myLength, myLocation, myPosition, myRadius1, myRadius2, myWidth, and NbSubShapes().
|
protected |
References DumpKindOfClosed(), KindOfClosed(), and NbSubShapes().
|
protected |
References DumpKindOfBounds(), DumpKindOfClosed(), DumpKindOfName(), DumpKindOfShape(), DumpLocation(), DumpPosition(), GEOMAlgo_KN_BOX, GEOMAlgo_KN_CONE, GEOMAlgo_KN_CYLINDER, GEOMAlgo_KN_POLYHEDRON, GEOMAlgo_KN_SPHERE, GEOMAlgo_KN_TORUS, KindOfBounds(), KindOfClosed(), KindOfName(), KindOfShape(), myHeight, myLength, myLocation, myPosition, myRadius1, myRadius2, myWidth, and NbSubShapes().
|
protected |
References DumpLocation(), and myLocation.
|
protected |
References DumpKindOfClosed(), KindOfClosed(), and NbSubShapes().
Standard_Real GEOMAlgo_ShapeInfo::Height | ( | ) | const |
References myHeight.
GEOMAlgo_KindOfBounds GEOMAlgo_ShapeInfo::KindOfBounds | ( | ) | const |
References myKindOfBounds.
GEOMAlgo_KindOfClosed GEOMAlgo_ShapeInfo::KindOfClosed | ( | ) | const |
References myKindOfClosed.
GEOMAlgo_KindOfDef GEOMAlgo_ShapeInfo::KindOfDef | ( | ) | const |
References myKindOfDef.
GEOMAlgo_KindOfName GEOMAlgo_ShapeInfo::KindOfName | ( | ) | const |
References myKindOfName.
GEOMAlgo_KindOfShape GEOMAlgo_ShapeInfo::KindOfShape | ( | ) | const |
References myKindOfShape.
Standard_Real GEOMAlgo_ShapeInfo::Length | ( | ) | const |
References myLength.
const gp_Pnt & GEOMAlgo_ShapeInfo::Location | ( | ) | const |
References myLocation.
Standard_Integer GEOMAlgo_ShapeInfo::NbSubShapes | ( | const TopAbs_ShapeEnum | aType | ) | const |
References TypeToInteger().
const gp_Pnt & GEOMAlgo_ShapeInfo::Pnt1 | ( | ) | const |
References myPnt1.
const gp_Pnt & GEOMAlgo_ShapeInfo::Pnt2 | ( | ) | const |
References myPnt2.
const gp_Ax3 & GEOMAlgo_ShapeInfo::Position | ( | ) | const |
References myPosition.
Standard_Real GEOMAlgo_ShapeInfo::Radius1 | ( | ) | const |
References myRadius1.
Standard_Real GEOMAlgo_ShapeInfo::Radius2 | ( | ) | const |
References myRadius2.
void GEOMAlgo_ShapeInfo::Reset | ( | ) |
References GEOMAlgo_KB_UNKNOWN, GEOMAlgo_KC_UNKNOWN, GEOMAlgo_KD_UNKNOWN, GEOMAlgo_KN_UNKNOWN, GEOMAlgo_KS_UNKNOWN, myDirection, myHeight, myKindOfBounds, myKindOfClosed, myKindOfDef, myKindOfName, myKindOfShape, myLength, myLocation, myNbSubShapes, myNbTypes, myRadius1, myRadius2, myType, and myWidth.
void GEOMAlgo_ShapeInfo::SetDirection | ( | const gp_Dir & | aD | ) |
References myDirection.
void GEOMAlgo_ShapeInfo::SetHeight | ( | const Standard_Real | aH | ) |
References myHeight.
void GEOMAlgo_ShapeInfo::SetKindOfBounds | ( | const GEOMAlgo_KindOfBounds | aT | ) |
References myKindOfBounds.
void GEOMAlgo_ShapeInfo::SetKindOfClosed | ( | const GEOMAlgo_KindOfClosed | aT | ) |
References myKindOfClosed.
void GEOMAlgo_ShapeInfo::SetKindOfDef | ( | const GEOMAlgo_KindOfDef | aT | ) |
References myKindOfDef.
void GEOMAlgo_ShapeInfo::SetKindOfName | ( | const GEOMAlgo_KindOfName | aT | ) |
References myKindOfName.
void GEOMAlgo_ShapeInfo::SetKindOfShape | ( | const GEOMAlgo_KindOfShape | aT | ) |
References myKindOfShape.
void GEOMAlgo_ShapeInfo::SetLength | ( | const Standard_Real | aL | ) |
References myLength.
void GEOMAlgo_ShapeInfo::SetLocation | ( | const gp_Pnt & | aP | ) |
References myLocation.
void GEOMAlgo_ShapeInfo::SetNbSubShapes | ( | const TopAbs_ShapeEnum | aType, |
const Standard_Integer | aNb | ||
) |
References myNbSubShapes, myNbTypes, and TypeToInteger().
void GEOMAlgo_ShapeInfo::SetPnt1 | ( | const gp_Pnt & | aP | ) |
References myPnt1.
void GEOMAlgo_ShapeInfo::SetPnt2 | ( | const gp_Pnt & | aP | ) |
References myPnt2.
void GEOMAlgo_ShapeInfo::SetPosition | ( | const gp_Ax2 & | aAx2 | ) |
void GEOMAlgo_ShapeInfo::SetPosition | ( | const gp_Ax3 & | aAx3 | ) |
References myPosition.
void GEOMAlgo_ShapeInfo::SetRadius1 | ( | const Standard_Real | aR | ) |
References myRadius1.
void GEOMAlgo_ShapeInfo::SetRadius2 | ( | const Standard_Real | aR | ) |
References myRadius2.
void GEOMAlgo_ShapeInfo::SetType | ( | const TopAbs_ShapeEnum | aType | ) |
References myType.
void GEOMAlgo_ShapeInfo::SetWidth | ( | const Standard_Real | aW | ) |
References myWidth.
TopAbs_ShapeEnum GEOMAlgo_ShapeInfo::Type | ( | ) | const |
References myType.
Standard_Real GEOMAlgo_ShapeInfo::Width | ( | ) | const |
References myWidth.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |