Version: 9.12.0
GEOMAlgo_ShapeInfo Class Reference

#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 SetKindOfPeriod (const GEOMAlgo_KindOfPeriod aT)
 
Standard_EXPORT GEOMAlgo_KindOfPeriod KindOfPeriod () 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 SetDegree (const Standard_Integer aDeg)
 
Standard_EXPORT Standard_Integer Degree () const
 
Standard_EXPORT void SetNbPoles (const Standard_Integer aNb)
 
Standard_EXPORT Standard_Integer NbPoles () const
 
Standard_EXPORT void SetNbKnots (const Standard_Integer aNb)
 
Standard_EXPORT Standard_Integer NbKnots () const
 
Standard_EXPORT void SetNbWeights (const Standard_Integer aNb)
 
Standard_EXPORT Standard_Integer NbWeights () const
 
Standard_EXPORT void SetNbMultiplicities (const Standard_Integer aNb)
 
Standard_EXPORT Standard_Integer NbMultiplicities () const
 
Standard_EXPORT void SetPoles (Handle(TColgp_HArray1OfPnt) P)
 
Standard_EXPORT Handle (TColgp_HArray1OfPnt) Poles() const
 
Standard_EXPORT void SetKnots (Handle(TColStd_HArray1OfReal) K)
 
Standard_EXPORT Handle (TColStd_HArray1OfReal) Knots() const
 
Standard_EXPORT void SetWeights (Handle(TColStd_HArray1OfReal) W)
 
Standard_EXPORT Handle (TColStd_HArray1OfReal) Weights() const
 
Standard_EXPORT void SetMultiplicities (Handle(TColStd_HArray1OfInteger) M)
 
Standard_EXPORT Handle (TColStd_HArray1OfInteger) Multiplicities() 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
 
 Handle (TColgp_HArray1OfPnt) myPoles
 
 Handle (TColStd_HArray1OfReal) myKnots
 
 Handle (TColStd_HArray1OfReal) myWeights
 
 Handle (TColStd_HArray1OfInteger) myMultiplicities
 

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
 
GEOMAlgo_KindOfPeriod myKindOfPeriod
 
Standard_Integer myNbTypes
 
Standard_Integer myNbKnots
 
Standard_Integer myNbPoles
 
Standard_Integer myNbWeights
 
Standard_Integer myNbMultiplicities
 
Standard_Integer myDegree
 

Constructor & Destructor Documentation

◆ GEOMAlgo_ShapeInfo()

GEOMAlgo_ShapeInfo::GEOMAlgo_ShapeInfo ( )

References Reset().

◆ ~GEOMAlgo_ShapeInfo()

GEOMAlgo_ShapeInfo::~GEOMAlgo_ShapeInfo ( )
virtual

Member Function Documentation

◆ Degree()

Standard_Integer GEOMAlgo_ShapeInfo::Degree ( ) const

References myDegree.

◆ Direction()

const gp_Dir & GEOMAlgo_ShapeInfo::Direction ( ) const

References myDirection.

◆ Dump()

void GEOMAlgo_ShapeInfo::Dump ( ) const

◆ DumpCompound()

void GEOMAlgo_ShapeInfo::DumpCompound ( ) const
protected

◆ DumpCompSolid()

void GEOMAlgo_ShapeInfo::DumpCompSolid ( ) const
protected

◆ DumpEdge()

◆ DumpFace()

◆ DumpShell()

void GEOMAlgo_ShapeInfo::DumpShell ( ) const
protected

◆ DumpSolid()

◆ DumpVertex()

void GEOMAlgo_ShapeInfo::DumpVertex ( ) const
protected

References DumpLocation(), and myLocation.

◆ DumpWire()

void GEOMAlgo_ShapeInfo::DumpWire ( ) const
protected

◆ Handle() [1/8]

GEOMAlgo_ShapeInfo::Handle ( TColgp_HArray1OfPnt  )
protected

◆ Handle() [2/8]

Standard_EXPORT GEOMAlgo_ShapeInfo::Handle ( TColgp_HArray1OfPnt  ) const

◆ Handle() [3/8]

Standard_EXPORT GEOMAlgo_ShapeInfo::Handle ( TColStd_HArray1OfInteger  ) const

◆ Handle() [4/8]

GEOMAlgo_ShapeInfo::Handle ( TColStd_HArray1OfInteger  )
protected

◆ Handle() [5/8]

Standard_EXPORT GEOMAlgo_ShapeInfo::Handle ( TColStd_HArray1OfReal  ) const

◆ Handle() [6/8]

GEOMAlgo_ShapeInfo::Handle ( TColStd_HArray1OfReal  )
protected

◆ Handle() [7/8]

GEOMAlgo_ShapeInfo::Handle ( TColStd_HArray1OfReal  )
protected

◆ Handle() [8/8]

Standard_EXPORT GEOMAlgo_ShapeInfo::Handle ( TColStd_HArray1OfReal  ) const

◆ Height()

Standard_Real GEOMAlgo_ShapeInfo::Height ( ) const

References myHeight.

◆ KindOfBounds()

GEOMAlgo_KindOfBounds GEOMAlgo_ShapeInfo::KindOfBounds ( ) const

References myKindOfBounds.

◆ KindOfClosed()

GEOMAlgo_KindOfClosed GEOMAlgo_ShapeInfo::KindOfClosed ( ) const

References myKindOfClosed.

◆ KindOfDef()

GEOMAlgo_KindOfDef GEOMAlgo_ShapeInfo::KindOfDef ( ) const

References myKindOfDef.

◆ KindOfName()

GEOMAlgo_KindOfName GEOMAlgo_ShapeInfo::KindOfName ( ) const

References myKindOfName.

◆ KindOfPeriod()

GEOMAlgo_KindOfPeriod GEOMAlgo_ShapeInfo::KindOfPeriod ( ) const

References myKindOfPeriod.

◆ KindOfShape()

GEOMAlgo_KindOfShape GEOMAlgo_ShapeInfo::KindOfShape ( ) const

References myKindOfShape.

◆ Length()

Standard_Real GEOMAlgo_ShapeInfo::Length ( ) const

References myLength.

◆ Location()

const gp_Pnt & GEOMAlgo_ShapeInfo::Location ( ) const

References myLocation.

◆ NbKnots()

Standard_Integer GEOMAlgo_ShapeInfo::NbKnots ( ) const

References myNbKnots.

◆ NbMultiplicities()

Standard_Integer GEOMAlgo_ShapeInfo::NbMultiplicities ( ) const

References myNbMultiplicities.

◆ NbPoles()

Standard_Integer GEOMAlgo_ShapeInfo::NbPoles ( ) const

References myNbPoles.

◆ NbSubShapes()

Standard_Integer GEOMAlgo_ShapeInfo::NbSubShapes ( const TopAbs_ShapeEnum  aType) const

◆ NbWeights()

Standard_Integer GEOMAlgo_ShapeInfo::NbWeights ( ) const

References myNbWeights.

◆ Pnt1()

const gp_Pnt & GEOMAlgo_ShapeInfo::Pnt1 ( ) const

References myPnt1.

◆ Pnt2()

const gp_Pnt & GEOMAlgo_ShapeInfo::Pnt2 ( ) const

References myPnt2.

◆ Position()

const gp_Ax3 & GEOMAlgo_ShapeInfo::Position ( ) const

References myPosition.

◆ Radius1()

Standard_Real GEOMAlgo_ShapeInfo::Radius1 ( ) const

References myRadius1.

◆ Radius2()

Standard_Real GEOMAlgo_ShapeInfo::Radius2 ( ) const

References myRadius2.

◆ Reset()

◆ SetDegree()

void GEOMAlgo_ShapeInfo::SetDegree ( const Standard_Integer  aDeg)

References myDegree.

◆ SetDirection()

void GEOMAlgo_ShapeInfo::SetDirection ( const gp_Dir &  aD)

References myDirection.

◆ SetHeight()

void GEOMAlgo_ShapeInfo::SetHeight ( const Standard_Real  aH)

References myHeight.

◆ SetKindOfBounds()

void GEOMAlgo_ShapeInfo::SetKindOfBounds ( const GEOMAlgo_KindOfBounds  aT)

References myKindOfBounds.

◆ SetKindOfClosed()

void GEOMAlgo_ShapeInfo::SetKindOfClosed ( const GEOMAlgo_KindOfClosed  aT)

References myKindOfClosed.

◆ SetKindOfDef()

void GEOMAlgo_ShapeInfo::SetKindOfDef ( const GEOMAlgo_KindOfDef  aT)

References myKindOfDef.

◆ SetKindOfName()

void GEOMAlgo_ShapeInfo::SetKindOfName ( const GEOMAlgo_KindOfName  aT)

References myKindOfName.

◆ SetKindOfPeriod()

void GEOMAlgo_ShapeInfo::SetKindOfPeriod ( const GEOMAlgo_KindOfPeriod  aT)

References myKindOfPeriod.

◆ SetKindOfShape()

void GEOMAlgo_ShapeInfo::SetKindOfShape ( const GEOMAlgo_KindOfShape  aT)

References myKindOfShape.

◆ SetKnots()

Standard_EXPORT void GEOMAlgo_ShapeInfo::SetKnots ( Handle(TColStd_HArray1OfReal)  K)

◆ SetLength()

void GEOMAlgo_ShapeInfo::SetLength ( const Standard_Real  aL)

References myLength.

◆ SetLocation()

void GEOMAlgo_ShapeInfo::SetLocation ( const gp_Pnt &  aP)

References myLocation.

◆ SetMultiplicities()

Standard_EXPORT void GEOMAlgo_ShapeInfo::SetMultiplicities ( Handle(TColStd_HArray1OfInteger)  M)

◆ SetNbKnots()

void GEOMAlgo_ShapeInfo::SetNbKnots ( const Standard_Integer  aNb)

References myNbKnots.

◆ SetNbMultiplicities()

void GEOMAlgo_ShapeInfo::SetNbMultiplicities ( const Standard_Integer  aNb)

References myNbMultiplicities.

◆ SetNbPoles()

void GEOMAlgo_ShapeInfo::SetNbPoles ( const Standard_Integer  aNb)

References myNbPoles.

◆ SetNbSubShapes()

void GEOMAlgo_ShapeInfo::SetNbSubShapes ( const TopAbs_ShapeEnum  aType,
const Standard_Integer  aNb 
)

◆ SetNbWeights()

void GEOMAlgo_ShapeInfo::SetNbWeights ( const Standard_Integer  aNb)

References myNbWeights.

◆ SetPnt1()

void GEOMAlgo_ShapeInfo::SetPnt1 ( const gp_Pnt &  aP)

References myPnt1.

◆ SetPnt2()

void GEOMAlgo_ShapeInfo::SetPnt2 ( const gp_Pnt &  aP)

References myPnt2.

◆ SetPoles()

void GEOMAlgo_ShapeInfo::SetPoles ( Handle(TColgp_HArray1OfPnt)  P)

◆ SetPosition() [1/2]

void GEOMAlgo_ShapeInfo::SetPosition ( const gp_Ax2 &  aAx2)

◆ SetPosition() [2/2]

void GEOMAlgo_ShapeInfo::SetPosition ( const gp_Ax3 &  aAx3)

References myPosition.

◆ SetRadius1()

void GEOMAlgo_ShapeInfo::SetRadius1 ( const Standard_Real  aR)

References myRadius1.

◆ SetRadius2()

void GEOMAlgo_ShapeInfo::SetRadius2 ( const Standard_Real  aR)

References myRadius2.

◆ SetType()

void GEOMAlgo_ShapeInfo::SetType ( const TopAbs_ShapeEnum  aType)

References myType.

◆ SetWeights()

Standard_EXPORT void GEOMAlgo_ShapeInfo::SetWeights ( Handle(TColStd_HArray1OfReal)  W)

◆ SetWidth()

void GEOMAlgo_ShapeInfo::SetWidth ( const Standard_Real  aW)

References myWidth.

◆ Type()

TopAbs_ShapeEnum GEOMAlgo_ShapeInfo::Type ( ) const

References myType.

◆ Width()

Standard_Real GEOMAlgo_ShapeInfo::Width ( ) const

References myWidth.

Member Data Documentation

◆ myDegree

Standard_Integer GEOMAlgo_ShapeInfo::myDegree
protected

◆ myDirection

gp_Dir GEOMAlgo_ShapeInfo::myDirection
protected

◆ myHeight

Standard_Real GEOMAlgo_ShapeInfo::myHeight
protected

◆ myKindOfBounds

GEOMAlgo_KindOfBounds GEOMAlgo_ShapeInfo::myKindOfBounds
protected

◆ myKindOfClosed

GEOMAlgo_KindOfClosed GEOMAlgo_ShapeInfo::myKindOfClosed
protected

◆ myKindOfDef

GEOMAlgo_KindOfDef GEOMAlgo_ShapeInfo::myKindOfDef
protected

◆ myKindOfName

GEOMAlgo_KindOfName GEOMAlgo_ShapeInfo::myKindOfName
protected

◆ myKindOfPeriod

GEOMAlgo_KindOfPeriod GEOMAlgo_ShapeInfo::myKindOfPeriod
protected

◆ myKindOfShape

GEOMAlgo_KindOfShape GEOMAlgo_ShapeInfo::myKindOfShape
protected

◆ myLength

Standard_Real GEOMAlgo_ShapeInfo::myLength
protected

◆ myLocation

gp_Pnt GEOMAlgo_ShapeInfo::myLocation
protected

◆ myNbKnots

Standard_Integer GEOMAlgo_ShapeInfo::myNbKnots
protected

◆ myNbMultiplicities

Standard_Integer GEOMAlgo_ShapeInfo::myNbMultiplicities
protected

◆ myNbPoles

Standard_Integer GEOMAlgo_ShapeInfo::myNbPoles
protected

◆ myNbSubShapes

Standard_Integer GEOMAlgo_ShapeInfo::myNbSubShapes[9]
protected

◆ myNbTypes

Standard_Integer GEOMAlgo_ShapeInfo::myNbTypes
protected

◆ myNbWeights

Standard_Integer GEOMAlgo_ShapeInfo::myNbWeights
protected

◆ myPnt1

gp_Pnt GEOMAlgo_ShapeInfo::myPnt1
protected

◆ myPnt2

gp_Pnt GEOMAlgo_ShapeInfo::myPnt2
protected

◆ myPosition

gp_Ax3 GEOMAlgo_ShapeInfo::myPosition
protected

◆ myRadius1

Standard_Real GEOMAlgo_ShapeInfo::myRadius1
protected

◆ myRadius2

Standard_Real GEOMAlgo_ShapeInfo::myRadius2
protected

◆ myType

TopAbs_ShapeEnum GEOMAlgo_ShapeInfo::myType
protected

◆ myWidth

Standard_Real GEOMAlgo_ShapeInfo::myWidth
protected

The documentation for this class was generated from the following files: