CFx SDK Documentation
2023 SP0
|
#include <AECAnchorToCurveZ.h>
Public Types | |
enum | From { eBottomOfCurveHeight = 0 , eTopOfCurveHeight = 1 , eCenterOfCurveHeight = 2 } |
enum | To { eTopOfObject = 0 , eCenterOfObject = 1 , eBottomOfObject = 2 } |
Public Member Functions | |
double | GetOffset () const |
void | SetOffset (double dOffset) |
From | GetFrom () const |
void | SetFrom (From eFrom) |
To | GetTo () const |
void | SetTo (To eTo) |
double | GetInsertionOffset (double dHeight) const |
double | GetOriginInsertionOffset (double dHeight, double dObjectHeight) const |
Public Member Functions inherited from AECImpObj | |
const OdString & | GetDescription () const |
void | SetDescription (const OdString &strDescription) |
virtual void | onObjectLoaded () |
virtual void | SubClose () |
DOM. More... | |
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. 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 OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () 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 |
Protected Attributes | |
double | m_dOffset |
From | m_uFrom |
To | m_uTo |
Protected Attributes inherited from AECImpObj | |
class AECSIBase * | m_pImp |
DOM. More... | |
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 () | |
Relative position of entity anchored to curve Z axis.
<group TA_API_Subobjects_General>
Definition at line 34 of file AECAnchorToCurveZ.h.
Defines the point on base curve from which the offset is measured.
Enumerator | |
---|---|
eBottomOfCurveHeight | |
eTopOfCurveHeight | |
eCenterOfCurveHeight |
Definition at line 43 of file AECAnchorToCurveZ.h.
Defines the point on entity anchored to curve.
Enumerator | |
---|---|
eTopOfObject | |
eCenterOfObject | |
eBottomOfObject |
Definition at line 53 of file AECAnchorToCurveZ.h.
From AECAnchorToCurveZ::GetFrom | ( | ) | const |
Returns type of point on curve.
double AECAnchorToCurveZ::GetInsertionOffset | ( | double | dHeight | ) | const |
Returns the insertion offset along curve`s height.
dHeight | [in] - curve dimension along Z axis. |
double AECAnchorToCurveZ::GetOffset | ( | ) | const |
Returns the offset.
double AECAnchorToCurveZ::GetOriginInsertionOffset | ( | double | dHeight, |
double | dObjectHeight | ||
) | const |
Returns the insertion offset along curves height for entity
s origin.
dHeight | [in] - curve dimension along Z axis. |
dObjectHeight | [in] - entity dimension along Z axis. |
To AECAnchorToCurveZ::GetTo | ( | ) | const |
Returns type of point on entity.
void AECAnchorToCurveZ::SetOffset | ( | double | dOffset | ) |
Sets the offset.
|
protected |
Definition at line 109 of file AECAnchorToCurveZ.h.
|
protected |
Definition at line 113 of file AECAnchorToCurveZ.h.
|
protected |
Definition at line 118 of file AECAnchorToCurveZ.h.