|
CFx SDK Documentation 2024 SP0
|
#include <AECGeSegment2d.h>
Public Member Functions | |
| 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 |
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 () | |
Protected Attributes inherited from AECImpObj | |
| class AECSIBase * | m_pImp |
| DOM. | |
| OdUInt16 | m_iMinSupportedVersion |
Base class for AEC 2D Segments.
<group TA_API_Subobjects_Ge>
Definition at line 35 of file AECGeSegment2d.h.
|
virtual |
OdRxObject::copyFrom override
Reimplemented from AECImpObj.
Reimplemented in AECGeCompSegment, AECGeRoofSegment, AECGeSlabEdge, AECGeCustomGridSegment, and AECGeNestedGridSegment.
| void AECGeSegment2d::Get | ( | FacetModeler::Segment2D & | cSegment | ) | const |
Returns raw segment.
| AECAttributeSubPtr AECGeSegment2d::GetAttribute | ( | ) | const |
Returns attached attribute.
| double AECGeSegment2d::GetBulge | ( | ) | const |
Returns bulge.
| void AECGeSegment2d::GetEndPoint | ( | OdGePoint2d & | ptEnd | ) | const |
Returns end point.
| AECDefs::SegmentEdgePosition AECGeSegment2d::GetPosition | ( | ) | const |
Returns edge position.
| void AECGeSegment2d::GetStartPoint | ( | OdGePoint2d & | ptStart | ) | const |
Returns start point.
|
virtual |
Returns the number of subsegments.
Reimplemented in AECGeRoofSegment.
| AECDefs::SegmentType AECGeSegment2d::GetType | ( | ) | const |
Returns segment type.
| bool AECGeSegment2d::IsVisible | ( | ) | const |
Returns whether this edge is visible.
| void AECGeSegment2d::Set | ( | const FacetModeler::Segment2D & | cSegment | ) |
Sets segment's geometry.
| void AECGeSegment2d::Set | ( | const OdGePoint2d & | ptStart, |
| const OdGePoint2d & | ptEnd, | ||
| double | dBulge = 0 |
||
| ) |
Sets segment's geometry.
| void AECGeSegment2d::SetAttribute | ( | AECAttributePtr | pAttr | ) |
Attaches attribute.
| void AECGeSegment2d::SetFullCircle | ( | const OdGePoint2d & | ptCenter, |
| double | dRadius, | ||
| bool | bClockwise | ||
| ) |
DOM.
| void AECGeSegment2d::SetPosition | ( | AECDefs::SegmentEdgePosition | ePosition | ) |
Sets edge position.
| void AECGeSegment2d::SetVisible | ( | bool | bVisible | ) |
Sets whether this edge is visible.