CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
AECGeRoofProfile Class Reference

#include <AECGeRoofProfile.h>

Inheritance diagram for AECGeRoofProfile:
AECGeProfile AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject

Public Member Functions

void SetSingleSlope (double dBaseHeight, double dSlope, double dOverhang)
 
void SetDoubleSlope (double dBaseHeight, double dHeight2, double dSlope1, double dSlope2, double dOverhang)
 
void SetSubsegmentCount (OdUInt32 iCount)
 
- Public Member Functions inherited from AECGeProfile
OdUInt32 GetRingCount () const
 
AECGeRingSubPtr GetRingByIndex (OdUInt32 iIndex) const
 
AECImpArraySubPtr GetRings ()
 
void GetExtents (OdGeExtents2d &cExtents) const
 
double GetArea () const
 
OdGePoint2d GetCenterOfMass () const
 
void Init (const OdGeSegmentChain2d &rPolyline, const OdRxClass *pSegmentType=0)
 
void Init (const FacetModeler::Profile2D &rProfile, const OdRxClass *pSegmentType=0)
 
void InitFrom (const FacetModeler::Profile2D &rProfile, const AECGeProfile *pSource, const OdRxClass *pSegmentType=0)
 
void SetDefaultSegmentType (const OdRxClass *pSegmentType)
 
void SetDefaultRingType (const OdRxClass *pRingType)
 
void GetRawProfile (FacetModeler::Profile2D &rProfile) const
 
AECAttributeSubPtr GetAttribute () const
 
void SetAttribute (AECAttribute *pAttr)
 
bool IsCacheInvalid () const
 
void SetCacheInvalid (bool bInvalid)
 
void Translate (const OdGeVector2d &v)
 
- Public Member Functions inherited from AECImpObj
const OdStringGetDescription () const
 
void SetDescription (const OdString &strDescription)
 
virtual void onObjectLoaded ()
 
virtual void SubClose ()
 DOM. More...
 
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. More...
 
void SetOwner (AECImpObj *pOwner)
 DOM. More...
 
class AECSIBase * GetImpl () const
 DOM. More...
 
virtual OdResult dwgInFieldsEx20 (AECDbDwgFiler *pFiler)
 DOM. More...
 
virtual OdResult dwgInFieldsEx1 (AECDbDwgFiler *pFiler)
 DOM. More...
 
- 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
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from AECGeProfile
static AECGeProfilePtr CreateStandard (const OdRxClass *pSegmentType=0, const OdRxClass *pLoopType=0)
 
static AECGeProfilePtr Create (const OdGeSegmentChain2d &rPolyline, const OdRxClass *pSegmentType=0)
 
static AECGeProfilePtr Create (const FacetModeler::Profile2D &rProfile, const OdRxClass *pSegmentType=0)
 
- 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 ()
 
- Protected Attributes inherited from AECGeProfile
AECImpArray m_aRings
 
OdUInt16 m_nFlags
 
AECAttributePtr m_pAttribute
 
const OdRxClassm_pDefaultSegmentType
 
const OdRxClassm_pDefaultRingType
 
- Protected Attributes inherited from AECImpObj
class AECSIBase * m_pImp
 DOM. More...
 
OdUInt16 m_iMinSupportedVersion
 

Detailed Description

Roof profile.

<group TA_API_Subobjects_Ge>

Definition at line 34 of file AECGeRoofProfile.h.

Member Function Documentation

◆ SetDoubleSlope()

void AECGeRoofProfile::SetDoubleSlope ( double  dBaseHeight,
double  dHeight2,
double  dSlope1,
double  dSlope2,
double  dOverhang 
)

Forces roof profile to contain only double slope edges with specified properties.

Parameters
dBaseHeight[in] - Base height for first slope for each segment.
dHeight2[in] - Base height for second slope for each segment.
dSlope1[in] - First slope for each segment.
dSlope2[in] - Second slope for each segment.
dOverhang[in] - Overhang for each segment.
Remarks
Overhang is the offset from segment`s base height to the bottom of lower surface of roof.

Second slope should be greater than 0 and less than PI/2. Since 0 defines horizontal slope, and PI/2 - vertical slope.

◆ SetSingleSlope()

void AECGeRoofProfile::SetSingleSlope ( double  dBaseHeight,
double  dSlope,
double  dOverhang 
)

Forces roof profile to contain only single slope edges with specified properties.

Parameters
dBaseHeight[in] - Base height for each segment.
dSlope[in] - Slope for each segment.
dOverhang[in] - Overhang for each segment.
Remarks
Overhang is the offset from segment`s base height to the bottom of lower surface of roof.

Slope should be greater than 0 and less than PI/2. Since 0 defines horizontal slope, and PI/2 - vertical slope.

◆ SetSubsegmentCount()

void AECGeRoofProfile::SetSubsegmentCount ( OdUInt32  iCount)

Sets the number of linear subsegments for arc approximations.

Parameters
iCount[in] - Subsegment count.
Remarks
iCount should be positive.

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