CFx SDK Documentation  2023 SP0
Public Types | Public Member Functions | Protected Attributes | List of all members
AECAnchorToCurveY Class Reference

#include <AECAnchorToCurveY.h>

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

Public Types

enum  From { eCenterOfCurveWidth = 0 , eLeftEdgeOfCurveWidth = 1 , eRightEdgeOfCurveWidth = 2 }
 
enum  To { eCenter = 0 , eFront = 1 , eBack = 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 dWidth) const
 
double GetOriginInsertionOffset (double dWidth, double dObjectWidth, double dRadius) const
 
- 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
 

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< 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

Relative position of entity anchored to curve Y axis.

<group TA_API_Subobjects_General>

Definition at line 34 of file AECAnchorToCurveY.h.

Member Enumeration Documentation

◆ From

Defines the point on base curve from which the offset is measured.

Enumerator
eCenterOfCurveWidth 
eLeftEdgeOfCurveWidth 
eRightEdgeOfCurveWidth 

Definition at line 43 of file AECAnchorToCurveY.h.

◆ To

Defines the point on entity anchored to curve.

Enumerator
eCenter 
eFront 
eBack 

Definition at line 53 of file AECAnchorToCurveY.h.

Member Function Documentation

◆ GetFrom()

From AECAnchorToCurveY::GetFrom ( ) const

Returns type of point on curve.

◆ GetInsertionOffset()

double AECAnchorToCurveY::GetInsertionOffset ( double  dWidth) const

Returns the insertion offset along curve`s width.

Parameters
dWidth[in] - curve dimension along Y axis.

◆ GetOffset()

double AECAnchorToCurveY::GetOffset ( ) const

Returns the offset.

◆ GetOriginInsertionOffset()

double AECAnchorToCurveY::GetOriginInsertionOffset ( double  dWidth,
double  dObjectWidth,
double  dRadius 
) const

Returns the insertion offset along curves width for entitys origin.

Parameters
dWidth[in] - curve dimension along Y axis.
dObjectWidth[in] - entity dimension along Y axis.
dRadius[in] - The radius of the curve if it is arced. Need for some types of anchoring. It is 0 if there is no need to use it or the curve is linear.

◆ GetTo()

To AECAnchorToCurveY::GetTo ( ) const

Returns type of point on entity.

◆ SetFrom()

void AECAnchorToCurveY::SetFrom ( From  eFrom)

Sets type of point on curve.

◆ SetOffset()

void AECAnchorToCurveY::SetOffset ( double  dOffset)

Sets the offset.

◆ SetTo()

void AECAnchorToCurveY::SetTo ( To  eTo)

Sets type of point on entity.

Member Data Documentation

◆ m_dOffset

double AECAnchorToCurveY::m_dOffset
protected

Definition at line 116 of file AECAnchorToCurveY.h.

◆ m_uFrom

From AECAnchorToCurveY::m_uFrom
protected

Definition at line 120 of file AECAnchorToCurveY.h.

◆ m_uTo

To AECAnchorToCurveY::m_uTo
protected

Definition at line 125 of file AECAnchorToCurveY.h.


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