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

#include <AECGeRoofSegment.h>

Inheritance diagram for AECGeRoofSegment:
AECGeSegment2d AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject

Public Member Functions

OdUInt32 GetSegmentCount () const
 
void SetSegmentCount (OdUInt32 iCount)
 
double GetOverhang () const
 
void SetOverhang (double dOverhang)
 
OdUInt32 GetFaceCount () const
 
void SetFaceCount (OdUInt32 iCount)
 
double GetFaceHeightByIndex (OdUInt32 iIndex) const
 
void SetFaceHeightByIndex (OdUInt32 iIndex, double dHeight)
 
double GetFaceSlopeByIndex (OdUInt32 iIndex) const
 
void SetFaceSlopeByIndex (OdUInt32 iIndex, double dSlope)
 
virtual OdUInt32 GetSubsegmentCount () const
 
double GetBaseHeight () const
 
void SetBaseHeight (double dBaseHeight)
 
virtual void copyFrom (const OdRxObject *pSource)
 
- Public Member Functions inherited from AECGeSegment2d
AECDefs::SegmentType GetType () const
 
void GetStartPoint (OdGePoint2d &ptStart) const
 
void GetEndPoint (OdGePoint2d &ptEnd) const
 
double GetBulge () const
 
AECDefs::SegmentEdgePosition GetPosition () const
 
void SetPosition (AECDefs::SegmentEdgePosition ePosition)
 
bool IsVisible () const
 
void SetVisible (bool bVisible)
 
virtual OdUInt32 GetSubsegmentCount () const
 
AECAttributeSubPtr GetAttribute () const
 
void SetAttribute (AECAttributePtr pAttr)
 
virtual void copyFrom (const OdRxObject *pSource)
 
void Get (FacetModeler::Segment2D &cSegment) const
 
void Set (const OdGePoint2d &ptStart, const OdGePoint2d &ptEnd, double dBulge=0)
 
void Set (const FacetModeler::Segment2D &cSegment)
 
void SetFullCircle (const OdGePoint2d &ptCenter, double dRadius, bool bClockwise)
 DOM.
 
- 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
 

Protected Attributes

OdUInt32 m_iSegmentCount
 
double m_dOverhang
 
OdDoubleArray m_aHeights
 
OdDoubleArray m_aSlopes
 
double m_dBaseHeight
 
- 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

Roof segment.

<group TA_API_Subobjects_Ge>

Definition at line 35 of file AECGeRoofSegment.h.

Member Function Documentation

◆ copyFrom()

virtual void AECGeRoofSegment::copyFrom ( const OdRxObject pSource)
virtual

OdRxObject::copyFrom override

Reimplemented from AECGeSegment2d.

◆ GetBaseHeight()

double AECGeRoofSegment::GetBaseHeight ( ) const

◆ GetFaceCount()

OdUInt32 AECGeRoofSegment::GetFaceCount ( ) const

Returns the number of faces forming roof segment.

◆ GetFaceHeightByIndex()

double AECGeRoofSegment::GetFaceHeightByIndex ( OdUInt32  iIndex) const

Returns the face height by specified face index.

Remarks
Throws eInvalidIndex exception in case of invalid index.

◆ GetFaceSlopeByIndex()

double AECGeRoofSegment::GetFaceSlopeByIndex ( OdUInt32  iIndex) const

Returns the face slope angle by specified face index.

Remarks
Throws eInvalidIndex exception in case of invalid index.

◆ GetOverhang()

double AECGeRoofSegment::GetOverhang ( ) const

Returns overhang value.

◆ GetSegmentCount()

OdUInt32 AECGeRoofSegment::GetSegmentCount ( ) const

Returns the number of linear segments that approximate this segment.

Remarks
For linear segment always returns 1.

◆ GetSubsegmentCount()

virtual OdUInt32 AECGeRoofSegment::GetSubsegmentCount ( ) const
virtual

Returns the number of segments this segment represents.

Remarks
Roof segment overrides default value.

Reimplemented from AECGeSegment2d.

◆ SetBaseHeight()

void AECGeRoofSegment::SetBaseHeight ( double  dBaseHeight)

◆ SetFaceCount()

void AECGeRoofSegment::SetFaceCount ( OdUInt32  iCount)

Sets the number of faces forming roof segment.

◆ SetFaceHeightByIndex()

void AECGeRoofSegment::SetFaceHeightByIndex ( OdUInt32  iIndex,
double  dHeight 
)

Sets the face height by specified face index.

Remarks
Throws eInvalidIndex exception in case of invalid index.

◆ SetFaceSlopeByIndex()

void AECGeRoofSegment::SetFaceSlopeByIndex ( OdUInt32  iIndex,
double  dSlope 
)

Returns the face slope angle by specified face index.

Remarks
Throws eInvalidIndex exception in case of invalid index.

◆ SetOverhang()

void AECGeRoofSegment::SetOverhang ( double  dOverhang)

Sets overhang value.

◆ SetSegmentCount()

void AECGeRoofSegment::SetSegmentCount ( OdUInt32  iCount)

Sets the number of linear segments that approximate this segment.

Remarks
Does nothing for linear segment.

Member Data Documentation

◆ m_aHeights

OdDoubleArray AECGeRoofSegment::m_aHeights
protected

Definition at line 139 of file AECGeRoofSegment.h.

◆ m_aSlopes

OdDoubleArray AECGeRoofSegment::m_aSlopes
protected

Definition at line 142 of file AECGeRoofSegment.h.

◆ m_dBaseHeight

double AECGeRoofSegment::m_dBaseHeight
protected

Definition at line 145 of file AECGeRoofSegment.h.

◆ m_dOverhang

double AECGeRoofSegment::m_dOverhang
protected

Definition at line 136 of file AECGeRoofSegment.h.

◆ m_iSegmentCount

OdUInt32 AECGeRoofSegment::m_iSegmentCount
protected

Definition at line 132 of file AECGeRoofSegment.h.


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