CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
AECRailingLowerProfile Class Reference

#include <AECRailingLowerProfile.h>

Inheritance diagram for AECRailingLowerProfile:
AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject

Public Types

enum  Slope {
  eSlopeNone = 0 , eSlopeMiddle = 4 , eSlopeStart = 5 , eSlopeEnd = 6 ,
  eSlopeObject = 28
}
 

Public Member Functions

OdUInt32 GetNodeCount () const
 
void SetNodeCount (OdUInt32 iCount)
 
double GetNodeOffset (OdUInt32 iIndex) const
 
void SetNodeOffset (OdUInt32 iIndex, double dOffset)
 
double GetNodeElevation (OdUInt32 iIndex, bool bBaluster=false) const
 
void SetNodeElevation (OdUInt32 iIndex, double dElevation)
 
Slope GetNodeSlopeInfo (OdUInt32 iIndex) const
 
void SetNodeSlopeInfo (OdUInt32 iIndex, Slope eSlope)
 
double GetBaseElevation () const
 
void SetBaseElevation (double dElevation)
 
AECGePolyline2dSubPtr GetPolyline () const
 
AECRailingHeightInfoSubPtr GetHeightInfo () const
 
void GetElevations (FacetModeler::Contour2D &rElevations, bool bBaluster=false) const
 
- Public Member Functions inherited from AECImpObj
const OdStringGetDescription () const
 
void SetDescription (const OdString &strDescription)
 
virtual void onObjectLoaded ()
 
virtual void SubClose ()
 DOM.
 
OdRxObjectGetOwner () const
 
OdRxObjectGetOwner (OdRxClass *pClass) const
 
void addRefSubPtr ()
 
void releaseSubPtr ()
 
void assertReadEnabled () const
 
void assertWriteEnabled (bool autoUndo=true, bool recordModified=true)
 
bool isReadEnabled () const
 
bool isWriteEnabled () const
 
OdDbDatabasedatabase () const
 
void copyFrom (const OdRxObject *pOther)
 
virtual OdUInt16 minSupportedVersion () const
 
void SetOwner (OdDbObject *pOwner)
 DOM.
 
void SetOwner (AECImpObj *pOwner)
 DOM.
 
class AECSIBase * GetImpl () const
 DOM.
 
virtual OdResult dwgInFieldsEx20 (AECDbDwgFiler *pFiler)
 DOM.
 
virtual OdResult dwgInFieldsEx1 (AECDbDwgFiler *pFiler)
 DOM.
 
- Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
 OdRxObjectImpl ()
 
void addRef ()
 
void release ()
 
long numRefs () const
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Static Public Attributes

static const double PreviousElevation
 

Protected Attributes

AECGePolyline2dPtr m_pRailingContour
 
std::vector< double > m_aOffsets
 
std::vector< double > m_aElevations
 
double m_dPreviousIndicator
 
double m_dBaseElevation
 
std::vector< Slopem_aSlopeFlags
 
AECRailingHeightInfo m_cHeightInfo
 
- Protected Attributes inherited from AECImpObj
class AECSIBase * m_pImp
 DOM.
 
OdUInt16 m_iMinSupportedVersion
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
static OdSmartPtr< AECImpObjcreateObject ()
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
 ODRX_HEAP_OPERATORS ()
 

Detailed Description

Railing Lower Profile.

<group TA_API_Subobjects_Railing>

Definition at line 35 of file AECRailingLowerProfile.h.

Member Enumeration Documentation

◆ Slope

Node slope flag.

Enumerator
eSlopeNone 

Indicates that the node is located between two horizontal segments.

eSlopeMiddle 

Indicates that the node is located between between two slant segments.

eSlopeStart 

Indicates that the node is located between between slant and horizontal segment.

eSlopeEnd 

Indicates that the node is located between between horizontal and slant segment.

eSlopeObject 

Indicates that the node is located on object the railing is anchored to.

Definition at line 43 of file AECRailingLowerProfile.h.

Member Function Documentation

◆ GetBaseElevation()

double AECRailingLowerProfile::GetBaseElevation ( ) const

Returns base elevation.

◆ GetElevations()

void AECRailingLowerProfile::GetElevations ( FacetModeler::Contour2D rElevations,
bool  bBaluster = false 
) const

Returns elevation data.

Remarks
In resulting contour X is distance and Y is elevation.

◆ GetHeightInfo()

AECRailingHeightInfoSubPtr AECRailingLowerProfile::GetHeightInfo ( ) const

Returns height information.

◆ GetNodeCount()

OdUInt32 AECRailingLowerProfile::GetNodeCount ( ) const

Returns the number of nodes on the railing profile.

◆ GetNodeElevation()

double AECRailingLowerProfile::GetNodeElevation ( OdUInt32  iIndex,
bool  bBaluster = false 
) const

Returns the node elevation.

Remarks
This elevation is recalculated elevation. It means that in case of special "same" value it will return actually meant result but not "same" indicator.

Throws eInvalidIndex exception in case of invalid index.

◆ GetNodeOffset()

double AECRailingLowerProfile::GetNodeOffset ( OdUInt32  iIndex) const

Returns the node offset along the length of 2D polyline.

Remarks
Throws eInvalidIndex exception in case of invalid index.

◆ GetNodeSlopeInfo()

Slope AECRailingLowerProfile::GetNodeSlopeInfo ( OdUInt32  iIndex) const

Returns the node slope information.

Remarks
Throws eInvalidIndex exception in case of invalid index.

◆ GetPolyline()

AECGePolyline2dSubPtr AECRailingLowerProfile::GetPolyline ( ) const

Returns flat baseline.

◆ SetBaseElevation()

void AECRailingLowerProfile::SetBaseElevation ( double  dElevation)

Sets base elevation.

◆ SetNodeCount()

void AECRailingLowerProfile::SetNodeCount ( OdUInt32  iCount)

Sets the number of nodes on the railing profile.

◆ SetNodeElevation()

void AECRailingLowerProfile::SetNodeElevation ( OdUInt32  iIndex,
double  dElevation 
)

Sets the node elevation.

Remarks
Throws eInvalidIndex exception in case of invalid index.

◆ SetNodeOffset()

void AECRailingLowerProfile::SetNodeOffset ( OdUInt32  iIndex,
double  dOffset 
)

Sets the node offset along the length of 2D polyline.

Remarks
Throws eInvalidIndex exception in case of invalid index.

◆ SetNodeSlopeInfo()

void AECRailingLowerProfile::SetNodeSlopeInfo ( OdUInt32  iIndex,
Slope  eSlope 
)

Sets the node slope information.

Remarks
Throws eInvalidIndex exception in case of invalid index.

Member Data Documentation

◆ m_aElevations

std::vector<double> AECRailingLowerProfile::m_aElevations
protected

Definition at line 190 of file AECRailingLowerProfile.h.

◆ m_aOffsets

std::vector<double> AECRailingLowerProfile::m_aOffsets
protected

Definition at line 186 of file AECRailingLowerProfile.h.

◆ m_aSlopeFlags

std::vector<Slope> AECRailingLowerProfile::m_aSlopeFlags
protected

Definition at line 202 of file AECRailingLowerProfile.h.

◆ m_cHeightInfo

AECRailingHeightInfo AECRailingLowerProfile::m_cHeightInfo
protected

Definition at line 204 of file AECRailingLowerProfile.h.

◆ m_dBaseElevation

double AECRailingLowerProfile::m_dBaseElevation
protected

Definition at line 197 of file AECRailingLowerProfile.h.

◆ m_dPreviousIndicator

double AECRailingLowerProfile::m_dPreviousIndicator
protected

Definition at line 194 of file AECRailingLowerProfile.h.

◆ m_pRailingContour

AECGePolyline2dPtr AECRailingLowerProfile::m_pRailingContour
protected

Definition at line 182 of file AECRailingLowerProfile.h.

◆ PreviousElevation

const double AECRailingLowerProfile::PreviousElevation
static

Value used to describe that previous value should be used as elevation.

Remarks
Used internally to pass into SetNodeelevation method.

Definition at line 83 of file AECRailingLowerProfile.h.


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