CFx SDK Documentation 2024 SP0
|
#include <AECGeRoofSegment.h>
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 OdString & | GetDescription () const |
void | SetDescription (const OdString &strDescription) |
virtual void | onObjectLoaded () |
virtual void | SubClose () |
DOM. | |
OdRxObject * | GetOwner () const |
OdRxObject * | GetOwner (OdRxClass *pClass) const |
void | addRefSubPtr () |
void | releaseSubPtr () |
void | assertReadEnabled () const |
void | assertWriteEnabled (bool autoUndo=true, bool recordModified=true) |
bool | isReadEnabled () const |
bool | isWriteEnabled () const |
OdDbDatabase * | database () 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 OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () 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< AECImpObj > | createObject () |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
ODRX_HEAP_OPERATORS () | |
|
virtual |
OdRxObject::copyFrom override
Reimplemented from AECGeSegment2d.
double AECGeRoofSegment::GetBaseHeight | ( | ) | const |
OdUInt32 AECGeRoofSegment::GetFaceCount | ( | ) | const |
Returns the number of faces forming roof segment.
double AECGeRoofSegment::GetFaceHeightByIndex | ( | OdUInt32 | iIndex | ) | const |
Returns the face height by specified face index.
double AECGeRoofSegment::GetFaceSlopeByIndex | ( | OdUInt32 | iIndex | ) | const |
Returns the face slope angle by specified face index.
double AECGeRoofSegment::GetOverhang | ( | ) | const |
Returns overhang value.
OdUInt32 AECGeRoofSegment::GetSegmentCount | ( | ) | const |
Returns the number of linear segments that approximate this segment.
|
virtual |
Returns the number of segments this segment represents.
Reimplemented from AECGeSegment2d.
void AECGeRoofSegment::SetBaseHeight | ( | double | dBaseHeight | ) |
Sets the number of faces forming roof segment.
Sets the face height by specified face index.
Returns the face slope angle by specified face index.
void AECGeRoofSegment::SetOverhang | ( | double | dOverhang | ) |
Sets overhang value.
Sets the number of linear segments that approximate this segment.
|
protected |
Definition at line 139 of file AECGeRoofSegment.h.
|
protected |
Definition at line 142 of file AECGeRoofSegment.h.
|
protected |
Definition at line 145 of file AECGeRoofSegment.h.
|
protected |
Definition at line 136 of file AECGeRoofSegment.h.
|
protected |
Definition at line 132 of file AECGeRoofSegment.h.