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

#include <AECDbWall.h>

Inheritance diagram for AECDbWall:
AECDbGeo AECDbEntity OdDbCurve OdDbEntity OdDbObject OdGiDrawable OdRxObject

Public Member Functions

AECDefs::SegmentType GetType () const
 
double GetWidth () const
 
void SetWidth (double dWidth)
 
double GetHeight () const
 
void SetHeight (double dHeight)
 
double GetLength () const
 
void SetLength (double dLength)
 
double GetArcRadius () const
 
void SetArcRadius (double dRadius)
 
OdGePoint2d GetArcCenter () const
 
void SetStartPoint (const OdGePoint2d &vStartPoint, const OdGePoint2d *pvAnchorPoint=0)
 
void SetEndPoint (const OdGePoint2d &vEndPoint, const OdGePoint2d *pvAnchorPoint=0)
 
double GetDeltaAngle () const
 
void SetDeltaAngle (double dAngle)
 
bool IsClockwise () const
 
void SetIsClockwise (bool bDirection)
 
AECDefs::WallJustification GetJustification () const
 
void SetJustification (AECDefs::WallJustification eJustification)
 
const FacetModeler::IBulgeSeg2DGetCenterCurve ()
 
const FacetModeler::IBulgeSeg2DGetBaseCurve ()
 
double GetCleanupRadius () const
 
void SetCleanupRadius (double dCleanupRadius)
 
OdDbObjectId GetCleanupGroupDef () const
 
void SetCleanupGroupDef (const OdDbObjectId &idCleanupGroup)
 
AECDefs::WallGraphLinePosition GetGraphLinePosition () const
 
void SetGraphLinePosition (AECDefs::WallGraphLinePosition ePosition)
 
bool UseAutomaticCleanups () const
 
void SetAutomaticCleanups (bool bAutoCleanup)
 
AECWallCutLineSubPtr GetTopCutLine () const
 
AECWallCutLineSubPtr CreateTopCutLine ()
 
void RemoveTopCutLine ()
 
AECWallCutLineSubPtr GetBottomCutLine () const
 
AECWallCutLineSubPtr CreateBottomCutLine ()
 
void RemoveBottomCutLine ()
 
OdUInt32 GetStyleOverrideCount () const
 
AECWallStyleOverrideSubPtr GetStyleOverrideByIndex (const OdUInt32 iIndex) const
 
AECImpArraySubPtr GetStyleOverrides ()
 
OdUInt32 GetInterferenceCount () const
 
AECWallInterferenceSubPtr GetInterferenceByIndex (const OdUInt32 iIndex) const
 
AECImpArraySubPtr GetInterferences ()
 
OdUInt32 GetMergeInfoCount () const
 
AECWallMergeInfoSubPtr GetMergeInfoByIndex (const OdUInt32 iIndex) const
 
AECImpArraySubPtr GetMergeInfos ()
 
OdUInt32 GetCustomGeometryCount () const
 
AECWallCustomGeometrySubPtr GetCustomGeometryByIndex (const OdUInt32 iIndex) const
 
AECImpArraySubPtr GetCustomGeometries ()
 
OdUInt32 GetModifierCount () const
 
AECWallModifierSubPtr GetModifierByIndex (const OdUInt32 iIndex) const
 
AECImpArraySubPtr GetModifiers ()
 
OdUInt32 GetCompOverridesCount () const
 
AECWallCompOverrideSubPtr GetCompOverrideByIndex (const OdUInt32 iIndex) const
 
AECImpArraySubPtr GetCompOverrides ()
 
void Set (const OdGePoint2d &ptStart, const OdGePoint2d &ptEnd, double dBulge=0)
 
void SetDefaultsFromStyle ()
 
- Public Member Functions inherited from AECDbGeo
virtual OdResult subTransformBy (const OdGeMatrix3d &mFrom)
 
OdGeMatrix3d GetMatrix () const
 
void SetMatrix (const OdGeMatrix3d &mTransform)
 
const AECECSGetECS () const
 
void SetECS (const AECECS &ecs)
 
OdDbObjectId GetAnchor () const
 
void AttachCurveAnchor (const OdDbObjectId &idCurve)
 
void AttachNodeAnchor (const OdDbObjectId &idLayoutTool)
 
void AttachCellAnchor (const OdDbObjectId &idCellLayoutTool)
 
void AttachLeaderAnchor (const OdDbObjectId &idLayoutTool)
 
void AttachGridAssemblyAnchor (const OdDbObjectId &idGA, OdUInt16 iCellIndex=0)
 
void AttachObjectAnchor (const OdDbObjectId &idEntity)
 
void ReleaseAnchor ()
 
void Reposition (bool fMoveAnchor=false)
 
void updateGeometryVersion ()
 
OdString geometryVersion () const
 
void setGeometryVersion (const OdString &geomVerGUID)
 
void resetGeometryVersion ()
 
OdResult Resize (const FacetModeler::Contour2D &rCellContour)
 
- Public Member Functions inherited from AECDbEntity
virtual bool subWorldDraw (OdGiWorldDraw *pWorldDraw) const
 
virtual void subViewportDraw (OdGiViewportDraw *pViewportDraw) const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual OdResult subExplode (OdRxObjectPtrArray &entitySet) const
 
virtual OdResult explodeGeometry (OdRxObjectPtrArray &entitySet) const
 
virtual void subClose ()
 
virtual OdDbObjectPtr subWblockClone (OdDbIdMapping &idMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual void dxfOut (OdDbDxfFiler *pFiler) const
 
virtual OdUInt16 minSupportedVersion () const
 
virtual OdResult subGetGripPoints (OdGePoint3dArray &gripPoints) const
 
virtual OdResult subMoveGripPointsAt (const OdIntArray &indices, const OdGeVector3d &offset)
 
virtual OdResult subGetStretchPoints (OdGePoint3dArray &stretchPoints) const
 
virtual OdResult subMoveStretchPointsAt (const OdIntArray &indices, const OdGeVector3d &offset)
 
virtual OdResult subGetGripPoints (OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const int bitFlags) const
 
virtual OdResult subMoveGripPointsAt (const OdDbVoidPtrArray &grips, const OdGeVector3d &offset, int bitFlags)
 
virtual OdResult subGetOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints) const
 
virtual OdResult subGetOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints, const OdGeMatrix3d &insertionMat) const
 
virtual bool subCloneMeForDragging ()
 
virtual bool subHideMeForDragging () const
 
virtual void dragStatus (const OdDb::DragStat status)
 
virtual void subGripStatus (const OdDb::GripStat status)
 
OdDbObjectId GetStyle () const
 
void SetStyle (const OdDbObjectId &idStyle)
 
const OdStringGetDescription () const
 
void SetDescription (const OdString &strDescription)
 
OdUInt32 GetOverrideCount () const
 
AECOverrideSubPtr GetOverrideByIndex (const OdUInt32 iIndex) const
 
AECImpArraySubPtr GetOverrides () const
 
AECClassificationArraySubPtr GetClassificationArray () const
 
OdDbObjectId GetCurrentDispProps (const OdDbObjectId &idDispRep)
 
OdDbObjectId OverrideDispProps (const OdDbObjectId &idDispRep, bool bCopyContents=true)
 
void RemoveDispProps (const OdDbObjectId &idDispRep)
 
void GetMaterialIds (std::vector< OdUInt16 > &aIds) const
 
OdDbObjectId GetMaterial (OdUInt16 iMaterialId) const
 
void updateAllReferencesGeometryVersions ()
 
void addReferenceGeometryVersion (const OdDbObjectId &objectId, const OdString &geomVerGUID)
 
void updateReferencesGeometryVersions (const OdDbObjectIdArray &references)
 
bool referencesGeometryVersionsHaveChanged (const OdDbObjectIdArray &references) const
 
void removeReferencesGeometryVersions (const OdDbObjectIdArray &references)
 
void clearReferencesGeometryVersions ()
 
- Public Member Functions inherited from OdDbCurve
 ODDB_DECLARE_MEMBERS (OdDbCurve)
 
 OdDbCurve ()
 
virtual bool isClosed () const
 
virtual bool isPeriodic () const
 
virtual OdResult getStartParam (double &startParam) const =0
 
virtual OdResult getEndParam (double &endParam) const =0
 
virtual OdResult getStartPoint (OdGePoint3d &startPoint) const =0
 
virtual OdResult getEndPoint (OdGePoint3d &endPoint) const =0
 
virtual OdResult getPointAtParam (double param, OdGePoint3d &pointOnCurve) const =0
 
virtual OdResult getParamAtPoint (const OdGePoint3d &pointOnCurve, double &param) const =0
 
virtual OdResult getDistAtParam (double param, double &dist) const =0
 
virtual OdResult getParamAtDist (double dist, double &param) const =0
 
virtual OdResult getDistAtPoint (const OdGePoint3d &pointOnCurve, double &dist) const
 
virtual OdResult getPointAtDist (double dist, OdGePoint3d &pointOnCurve) const
 
virtual OdResult getFirstDeriv (double param, OdGeVector3d &firstDeriv) const =0
 
virtual OdResult getFirstDeriv (const OdGePoint3d &pointOnCurve, OdGeVector3d &firstDeriv) const
 
virtual OdResult getSecondDeriv (double param, OdGeVector3d &secondDeriv) const
 
virtual OdResult getSecondDeriv (const OdGePoint3d &pointOnCurve, OdGeVector3d &secondDeriv) const
 
virtual OdResult getClosestPointTo (const OdGePoint3d &givenPoint, OdGePoint3d &pointOnCurve, bool extend=false) const
 
virtual OdResult getClosestPointTo (const OdGePoint3d &givenPoint, const OdGeVector3d &normal, OdGePoint3d &pointOnCurve, bool extend=false) const
 
virtual OdResult getSpline (OdDbSplinePtr *spline) const
 
virtual OdResult extend (double param)
 
virtual OdResult extend (bool extendStart, const OdGePoint3d &toPoint)
 
virtual OdResult getArea (double &area) const
 
virtual OdResult getOrthoProjectedCurve (const OdGePlane &projPlane, OdDbCurvePtr *pProjCurve) const
 
virtual OdResult getProjectedCurve (const OdGePlane &projPlane, const OdGeVector3d &projDirection, OdDbCurvePtr *pProjCurve) const
 
virtual OdResult getOffsetCurves (double offsetDistance, OdRxObjectPtrArray &offsetCurves) const
 
virtual OdResult getOffsetCurvesGivenPlaneNormal (const OdGeVector3d &normal, double offsetDistance, OdRxObjectPtrArray &offsetCurves) const
 
virtual OdResult getSplitCurves (const OdGeDoubleArray &params, OdRxObjectPtrArray &curveSegments) const
 
virtual OdResult getSplitCurves (const OdGePoint3dArray &points, OdRxObjectPtrArray &curveSegments) const
 
virtual OdResult reverseCurve ()
 
virtual OdResult getOdGeCurve (OdGeCurve3d *&pGeCurve, const OdGeTol &tol=OdGeContext::gTol) const
 
virtual OdResult setFromOdGeCurve (const OdGeCurve3d &geCurve, OdGeVector3d *normal=NULL, const OdGeTol &tol=OdGeContext::gTol)
 
virtual OdInt32 findVertexIndex (const OdDbVertex *vert) const
 
- Public Member Functions inherited from OdDbEntity
 ODDB_DECLARE_MEMBERS (OdDbEntity)
 
 OdDbEntity ()
 
OdDbObjectId blockId () const
 
OdCmColor color () const
 
virtual OdResult setColor (const OdCmColor &color, bool doSubents=true)
 
OdUInt16 colorIndex () const
 
virtual OdCmEntityColor entityColor () const
 
virtual OdResult setColorIndex (OdUInt16 colorIndex, bool doSubents=true)
 
OdDbObjectId colorId () const
 
virtual OdResult setColorId (OdDbObjectId colorId, bool doSubents=true)
 
OdCmTransparency transparency () const
 
virtual OdResult setTransparency (const OdCmTransparency &transparency, bool doSubents=true)
 
OdString plotStyleName () const
 
OdDb::PlotStyleNameType getPlotStyleNameId (OdDbObjectId &plotStyleNameId) const
 
virtual OdResult setPlotStyleName (const OdString &plotStyleName, bool doSubents=true)
 
virtual OdResult setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbObjectId plotStyleNameId=OdDbObjectId::kNull, bool doSubents=true)
 
OdString layer () const
 
OdDbObjectId layerId () const
 
virtual OdResult setLayer (const OdString &layerName, bool doSubents=true, bool allowHiddenLayer=false)
 
virtual OdResult setLayer (OdDbObjectId layerId, bool doSubents=true, bool allowHiddenLayer=false)
 
OdString linetype () const
 
OdDbObjectId linetypeId () const
 
virtual OdResult setLinetype (const OdString &linetypeName, bool doSubents=true)
 
virtual OdResult setLinetype (OdDbObjectId linetypeID, bool doSubents=true)
 
OdString material () const
 
OdDbObjectId materialId () const
 
virtual OdResult setMaterial (const OdString &materialName, bool doSubents=true)
 
virtual OdResult setMaterial (OdDbObjectId materialID, bool doSubents=true)
 
OdDbObjectId visualStyleId (VisualStyleType vstype=kFullVisualStyle) const
 
virtual OdResult setVisualStyle (OdDbObjectId visualStyleId, VisualStyleType vstype=kFullVisualStyle, bool doSubents=true)
 
virtual const OdGiMappermaterialMapper () const
 
virtual void setMaterialMapper (const OdGiMapper *mapper, bool doSubents=true)
 
double linetypeScale () const
 
virtual OdResult setLinetypeScale (double linetypeScale, bool doSubents=true)
 
OdDb::Visibility visibility () const
 
ODRX_SEALED_VIRTUAL OdResult setVisibility (OdDb::Visibility visibility, bool doSubents=true) ODRX_SEALED
 
OdDb::Visibility tempVisibility () const
 
void setTempVisibility (OdDb::Visibility visibility)
 
OdDb::LineWeight lineWeight () const
 
virtual OdResult setLineWeight (OdDb::LineWeight lineWeight, bool doSubents=true)
 
virtual bool castShadows () const
 
virtual void setCastShadows (bool castShadows)
 
virtual bool receiveShadows () const
 
virtual void setReceiveShadows (bool receiveShadows)
 
virtual OdDb::CollisionType collisionType () const
 
void setPropertiesFrom (const OdDbEntity *pSource, bool doSubents=true)
 
virtual bool isPlanar () const
 
virtual OdResult getPlane (OdGePlane &plane, OdDb::Planarity &planarity) const
 
void subHandOverTo (OdDbObject *pNewObject)
 
ODRX_SEALED_VIRTUAL OdResult transformBy (const OdGeMatrix3d &xfm) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getTransformedCopy (const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult explode (OdRxObjectPtrArray &entitySet) const ODRX_SEALED
 
virtual OdResult explodeToBlock (OdDbBlockTableRecord *pBlockRecord, OdDbObjectIdArray *ids=0)
 
virtual OdResult explodeGeometryToBlock (OdDbBlockTableRecord *pBlockRecord, OdDbObjectIdArray *ids=0)
 
void setDatabaseDefaults (OdDbDatabase *pDb=0, bool doSubents=false)
 
virtual void subSetDatabaseDefaults (OdDbDatabase *pDb, bool doSubents)
 
virtual void applyPartialUndo (OdDbDwgFiler *pUndoFiler, OdRxClass *pClassObj)
 
void appendToOwner (OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &ownerIdMap)
 
virtual OdResult dxfIn (OdDbDxfFiler *pFiler)
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
virtual OdResult dxfInFields_R12 (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields_R12 (OdDbDxfFiler *pFiler) const
 
virtual OdGiDrawabledrawable ()
 
virtual void subList () const
 
virtual OdResult subGetClassID (void *pClsid) const
 
void subSwapIdWith (const OdDbObjectId &otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual OdResult subErase (bool erasing) ODRX_OVERRIDE
 
void recordGraphicsModified (bool graphicsModified=true)
 
virtual void copyFrom (const OdRxObject *pSource)
 
ODRX_SEALED_VIRTUAL void list () const ODRX_SEALED
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void highlight (bool bDoIt=true, const OdDbFullSubentPath *pSubId=0, bool highlightAll=false) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints, const OdGeMatrix3d &insertionMat) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool isContentSnappable () const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getGripPoints (OdGePoint3dArray &gripPoints) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult moveGripPointsAt (const OdIntArray &indices, const OdGeVector3d &offset) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getGripPoints (OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const int bitFlags) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult moveGripPointsAt (const OdDbVoidPtrArray &grips, const OdGeVector3d &offset, int bitFlags) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getStretchPoints (OdGePoint3dArray &stretchPoints) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult moveStretchPointsAt (const OdIntArray &indices, const OdGeVector3d &offset) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void gripStatus (const OdDb::GripStat status) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool cloneMeForDragging () ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool hideMeForDragging () const ODRX_SEALED
 
virtual void saveAs (OdGiWorldDraw *pWd, OdDb::DwgVersion ver) const
 
ODRX_SEALED_VIRTUAL OdResult getCompoundObjectTransform (OdGeMatrix3d &xM) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult intersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult intersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const ODRX_SEALED
 
OdResult boundingBoxIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const
 
OdResult boundingBoxIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const
 
ODRX_SEALED_VIRTUAL OdResult getSubentPathsAtGsMarker (OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &pickPoint, const OdGeMatrix3d &xfm, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack=0) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getGsMarkersAtSubentPath (const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getGripPointsAtSubentPath (const OdDbFullSubentPath &path, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const OdUInt32 bitflags) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult moveGripPointsAtSubentPaths (const OdDbFullSubentPathArray &paths, const OdDbVoidPtrArray &gripAppData, const OdGeVector3d &offset, const OdUInt32 bitflags) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult deleteSubentPaths (const OdDbFullSubentPathArray &paths) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult addSubentPaths (const OdDbFullSubentPathArray &paths) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdDbEntityPtr subentPtr (const OdDbFullSubentPath &path) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult transformSubentPathsBy (const OdDbFullSubentPathArray &paths, const OdGeMatrix3d &xform) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getSubentClassId (const OdDbFullSubentPath &path, void *clsId) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getSubentPathGeomExtents (const OdDbFullSubentPath &path, OdGeExtents3d &extents) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void subentGripStatus (OdDb::GripStat status, const OdDbFullSubentPath &subentity) ODRX_SEALED
 
virtual OdGeMatrix3d getEcs () const
 
- Public Member Functions inherited from OdDbObject
 ODDB_DECLARE_MEMBERS (OdDbObject)
 
 ~OdDbObject ()
 
void addRef ()
 
void release ()
 
long numRefs () const
 
OdDbObjectId objectId () const
 
OdDbHandle getDbHandle () const
 
OdDbHandle handle () const
 
OdDbObjectId ownerId () const
 
virtual void setOwnerId (OdDbObjectId ownerId)
 
OdDbDatabasedatabase () const
 
void createExtensionDictionary ()
 
OdDbObjectId extensionDictionary () const
 
bool releaseExtensionDictionary ()
 
OdDbXrecordPtr createXrecord (const OdString &xrecordName, OdDb::DuplicateRecordCloning style=OdDb::kDrcIgnore)
 
void upgradeOpen ()
 
void downgradeOpen ()
 
void cancel ()
 
virtual OdResult subOpen (OdDb::OpenMode mode)
 
OdResult erase (bool eraseIt=true)
 
void handOverTo (OdDbObject *pNewObject, bool keepXData=true, bool keepExtDict=true)
 
void swapIdWith (OdDbObjectId otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void audit (OdDbAuditInfo *pAuditInfo)
 
void dwgIn (OdDbDwgFiler *pFiler)
 
void dwgOut (OdDbDwgFiler *pFiler) const
 
virtual OdDb::DuplicateRecordCloning mergeStyle () const
 
virtual OdResBufPtr xData (const OdString &regappName=OdString::kEmpty) const
 
virtual void setXData (const OdResBuf *pRb)
 
bool isEraseStatusToggled () const
 
bool isErased () const
 
bool isReadEnabled () const
 
bool isWriteEnabled () const
 
bool isNotifyEnabled () const
 
bool isModified () const
 
bool isModifiedXData () const
 
bool isModifiedGraphics () const
 
bool isNewObject () const
 
bool isNotifying () const
 
bool isUndoing () const
 
bool isReallyClosing () const
 
bool isDBRO () const
 
void assertReadEnabled () const
 
void assertWriteEnabled (bool autoUndo=true, bool recordModified=true)
 
void assertNotifyEnabled () const
 
void disableUndoRecording (bool disable)
 
bool isUndoRecordingDisabled () const
 
OdDbDwgFilerundoFiler ()
 
void addReactor (OdDbObjectReactor *pReactor) const
 
void removeReactor (OdDbObjectReactor *pReactor) const
 
virtual void addPersistentReactor (const OdDbObjectId &objId)
 
virtual void removePersistentReactor (const OdDbObjectId &objId)
 
bool hasPersistentReactor (const OdDbObjectId &objId) const
 
OdDbObjectIdArray getPersistentReactors () const
 
OdDbObjectReactorArray getTransientReactors () const
 
virtual void recvPropagateModify (const OdDbObject *pSubObj)
 
virtual void xmitPropagateModify () const
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr deepClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr wblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED
 
void setOdDbObjectIdsInFlux ()
 
bool isOdDbObjectIdsInFlux () const
 
virtual void copied (const OdDbObject *pObject, const OdDbObject *pNewObject)
 
virtual void erased (const OdDbObject *pObject, bool erasing=true)
 
virtual void goodbye (const OdDbObject *pObject)
 
virtual void openedForModify (const OdDbObject *pObject)
 
virtual void modified (const OdDbObject *pObject)
 
virtual void subObjModified (const OdDbObject *pObject, const OdDbObject *pSubObj)
 
virtual void modifyUndone (const OdDbObject *pObject)
 
virtual void modifiedXData (const OdDbObject *pObject)
 
virtual void unappended (const OdDbObject *pObject)
 
virtual void reappended (const OdDbObject *pObject)
 
bool isAProxy () const
 
virtual void objectClosed (const OdDbObjectId &objectId)
 
virtual void modifiedGraphics (const OdDbObject *pObject)
 
bool hasSaveVersionOverride () const
 
void setHasSaveVersionOverride (bool hasSaveVersionOverride)
 
virtual OdDb::DwgVersion getObjectSaveVersion (const OdDbFiler *pFiler, OdDb::MaintReleaseVer *pMaintVer=0) const
 
virtual OdDbObjectPtr decomposeForSave (OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
virtual OdDbObjectPtr decomposeForSave (OdDb::SaveType format, OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
void convertForSave (OdDb::DwgVersion ver)
 
virtual void composeForLoad (OdDb::SaveType format, OdDb::DwgVersion version, OdDbAuditInfo *pAuditInfo)
 
virtual bool isPersistent () const
 
virtual OdDbStub * id () const
 
ODRX_SEALED_VIRTUAL OdResult getClassID (void *pClsid) const ODRX_SEALED
 
void setGsNode (OdGsCache *pNode)
 
OdGsCachegsNode () const
 
void xDataTransformBy (const OdGeMatrix3d &xfm)
 
bool hasFields () const
 
OdDbObjectId getField (const OdString &fieldName) const
 
OdDbObjectPtr getField (const OdString &fieldName, OdDb::OpenMode mode) const
 
virtual OdDbObjectId setField (const OdString &fieldName, OdDbField *pField)
 
virtual OdResult removeField (OdDbObjectId fieldId)
 
virtual OdDbObjectId removeField (const OdString &fieldName)
 
OdDbObjectId getFieldDictionary () const
 
OdDbObjectPtr getFieldDictionary (OdDb::OpenMode mode) const
 
virtual OdRxClasssaveAsClass (OdRxClass *pClass) const
 
- Public Member Functions inherited from OdGiDrawable
 ODRX_DECLARE_MEMBERS (OdGiDrawable)
 
virtual DrawableType drawableType () const
 
ODRX_SEALED_VIRTUAL OdUInt32 setAttributes (OdGiDrawableTraits *pTraits) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool worldDraw (OdGiWorldDraw *pWd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void viewportDraw (OdGiViewportDraw *pVd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdUInt32 regenSupportFlags () const ODRX_SEALED
 
- 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
 

Static Public Member Functions

static AECDbWallPtr CreateAECObject (const OdDbObjectId &idBlock, const OdDbObjectId &idWallStyle)
 
- Static Public Member Functions inherited from AECDbGeo
static void TransformByForAnchor (const std::vector< OdDbObjectId > &aIds, const OdGeMatrix3d &mTransform)
 
- Static Public Member Functions inherited from OdDbCurve
static OdResult createFromOdGeCurve (const OdGeCurve3d &geCurve, OdDbCurve *&pDbCurve, OdGeVector3d *normal=NULL, const OdGeTol &tol=OdGeContext::gTol)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Additional Inherited Members

- Public Types inherited from OdDbEntity
enum  VisualStyleType { kFullVisualStyle , kFaceVisualStyle , kEdgeVisualStyle }
 
- Public Types inherited from OdGiDrawable
enum  SetAttributesFlags {
  kDrawableNone = 0 , kDrawableIsAnEntity = 1 , kDrawableUsesNesting = 2 , kDrawableIsCompoundObject = 4 ,
  kDrawableViewIndependentViewportDraw = 8 , kDrawableIsInvisible = 16 , kDrawableHasAttributes = 32 , kDrawableRegenTypeDependantGeometry = 64 ,
  kDrawableIsDimension = (kDrawableIsAnEntity + kDrawableIsCompoundObject + 128) , kDrawableRegenDraw = 256 , kDrawableStandardDisplaySingleLOD = 512 , kDrawableShadedDisplaySingleLOD = 1024 ,
  kDrawableViewDependentViewportDraw = 2048 , kDrawableBlockDependentViewportDraw = 4096 , kDrawableIsExternalReference = 8192 , kDrawableNotPlottable = 16384 ,
  kLastFlag = kDrawableNotPlottable
}
 
enum  DrawableType {
  kGeometry = 0 , kDistantLight = 1 , kPointLight = 2 , kSpotLight = 3 ,
  kAmbientLight , kSolidBackground , kGradientBackground , kImageBackground ,
  kGroundPlaneBackground , kViewport , kWebLight , kSkyBackground ,
  kImageBasedLightingBackground
}
 
- Protected Member Functions inherited from OdDbEntity
virtual OdDbObjectPtr subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
 
virtual OdResult subGetTransformedCopy (const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const
 
virtual OdResult subGetCompoundObjectTransform (OdGeMatrix3d &xM) const
 
virtual bool subIsContentSnappable () const
 
virtual OdResult subIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const
 
virtual OdResult subIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const
 
virtual void subHighlight (bool bDoIt=true, const OdDbFullSubentPath *pSubId=0, bool highlightAll=false) const
 
virtual OdDb::Visibility subVisibility () const
 
virtual OdResult subSetVisibility (OdDb::Visibility visibility, bool doSubents=true)
 
virtual OdResult subGetGeomExtents (OdGeExtents3d &extents) const
 
virtual OdResult subDeleteSubentPaths (const OdDbFullSubentPathArray &paths)
 
virtual OdResult subAddSubentPaths (const OdDbFullSubentPathArray &paths)
 
virtual OdResult subMoveGripPointsAtSubentPaths (const OdDbFullSubentPathArray &paths, const OdDbVoidPtrArray &gripAppData, const OdGeVector3d &offset, const OdUInt32 bitflags)
 
virtual OdResult subGetGripPointsAtSubentPath (const OdDbFullSubentPath &path, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const OdUInt32 bitflags) const
 
virtual OdResult subGetSubentPathsAtGsMarker (OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &pickPoint, const OdGeMatrix3d &xfm, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack=0) const
 
virtual OdResult subGetGsMarkersAtSubentPath (const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const
 
virtual OdDbEntityPtr subSubentPtr (const OdDbFullSubentPath &path) const
 
virtual OdResult subTransformSubentPathsBy (const OdDbFullSubentPathArray &paths, const OdGeMatrix3d &xform)
 
virtual OdResult subGetSubentClassId (const OdDbFullSubentPath &path, void *clsId) const
 
virtual OdResult subGetSubentPathGeomExtents (const OdDbFullSubentPath &path, OdGeExtents3d &extents) const
 
virtual void subSubentGripStatus (OdDb::GripStat status, const OdDbFullSubentPath &subentity)
 
- Protected Member Functions inherited from OdDbObject
 OdDbObject ()
 
- Protected Member Functions inherited from OdGiDrawable
 OdGiDrawable ()
 
virtual OdUInt32 subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const
 
virtual OdUInt32 subRegenSupportFlags () const
 
- Protected Attributes inherited from AECDbEntity
AECImpObjPtr m_pImpObject
 DOM. More...
 
AECImpArrayPtr m_pOverrides
 DOM. More...
 
OdRxObjectPtr m_pDrawCache
 DOM. More...
 
OdRxObjectPtr m_pGripManager
 DOM. More...
 
OdUInt16 m_iMinSupportedVersion
 
- Protected Attributes inherited from OdDbObject
OdDbObjectImplm_pImpl
 

Detailed Description

Wall.

<group TA_API_Entities>

Definition at line 45 of file AECDbWall.h.

Member Function Documentation

◆ CreateAECObject()

static AECDbWallPtr AECDbWall::CreateAECObject ( const OdDbObjectId idBlock,
const OdDbObjectId idWallStyle 
)
static

Creates Space.

Parameters
idBlock[in] - Object ID of the block to add the entity to.
idWallStyle[in] - Object ID of Wall Style.

◆ CreateBottomCutLine()

AECWallCutLineSubPtr AECDbWall::CreateBottomCutLine ( )

Creates top cutline.

◆ CreateTopCutLine()

AECWallCutLineSubPtr AECDbWall::CreateTopCutLine ( )

Creates top cutline.

◆ GetArcCenter()

OdGePoint2d AECDbWall::GetArcCenter ( ) const

Returns the center point of the arc for arc wall.

Remarks
The center point is not permanently stored in wall data structures. The function calculates it and returns the result. Method works for arc walls only.

◆ GetArcRadius()

double AECDbWall::GetArcRadius ( ) const

Returns the radius of the arc wall.

Remarks
If this method is called for the linear wall, the method will throw an exception.

◆ GetBaseCurve()

const FacetModeler::IBulgeSeg2D& AECDbWall::GetBaseCurve ( )

Returns baseline in wall cs

◆ GetBottomCutLine()

AECWallCutLineSubPtr AECDbWall::GetBottomCutLine ( ) const

Returns bottom cutline.

Remarks
For missing cutline the method returns null pointer.

◆ GetCenterCurve()

const FacetModeler::IBulgeSeg2D& AECDbWall::GetCenterCurve ( )

Returns center line in wall cs

◆ GetCleanupGroupDef()

OdDbObjectId AECDbWall::GetCleanupGroupDef ( ) const

Returns Object ID of Cleanup Group this wall belongs to.

◆ GetCleanupRadius()

double AECDbWall::GetCleanupRadius ( ) const

Returns cleanup radius.

◆ GetCompOverrideByIndex()

AECWallCompOverrideSubPtr AECDbWall::GetCompOverrideByIndex ( const OdUInt32  iIndex) const

Returns the component override by index.

Remarks
Throws eInvalidIndex exception for invalid iIndex parameter.

◆ GetCompOverrides()

AECImpArraySubPtr AECDbWall::GetCompOverrides ( )

Returns pointer to components overrides array

Remarks
(Elements should by of type AECImpWallCompOverride).

◆ GetCompOverridesCount()

OdUInt32 AECDbWall::GetCompOverridesCount ( ) const

Returns the number of components overrides

◆ GetCustomGeometries()

AECImpArraySubPtr AECDbWall::GetCustomGeometries ( )

Returns pointer to custom geometry components array.

Remarks
(Elements should by of type AECWallCustomGeometry).

◆ GetCustomGeometryByIndex()

AECWallCustomGeometrySubPtr AECDbWall::GetCustomGeometryByIndex ( const OdUInt32  iIndex) const

Returns the custom geometry component by index.

Remarks
Throws eInvalidIndex exception for invalid iIndex parameter.

◆ GetCustomGeometryCount()

OdUInt32 AECDbWall::GetCustomGeometryCount ( ) const

Returns the number of wall custom geometry components.

◆ GetDeltaAngle()

double AECDbWall::GetDeltaAngle ( ) const

Returns the delta angle of the arc wall.

Remarks
If this method is called for the linear wall, the method will throw an exception.

◆ GetGraphLinePosition()

AECDefs::WallGraphLinePosition AECDbWall::GetGraphLinePosition ( ) const

Returns the graph line position enumeration value.

◆ GetHeight()

double AECDbWall::GetHeight ( ) const

Returns the height of the wall.

Remarks
This method doesn't takes into consideration various wall modifiers.

◆ GetInterferenceByIndex()

AECWallInterferenceSubPtr AECDbWall::GetInterferenceByIndex ( const OdUInt32  iIndex) const

Returns wall interference by index.

Remarks
Throws eInvalidIndex exception for invalid iIndex parameter.

◆ GetInterferenceCount()

OdUInt32 AECDbWall::GetInterferenceCount ( ) const

Returns the number of wall interferences.

◆ GetInterferences()

AECImpArraySubPtr AECDbWall::GetInterferences ( )

Returns pointer to interferences array.

Remarks
(Elements should by of type AECWallInterference).

◆ GetJustification()

AECDefs::WallJustification AECDbWall::GetJustification ( ) const

Returns justification.

◆ GetLength()

double AECDbWall::GetLength ( ) const

Returns length of the wall.

◆ GetMergeInfoByIndex()

AECWallMergeInfoSubPtr AECDbWall::GetMergeInfoByIndex ( const OdUInt32  iIndex) const

Returns wall merger by index.

Remarks
Throws eInvalidIndex exception for invalid iIndex parameter.

◆ GetMergeInfoCount()

OdUInt32 AECDbWall::GetMergeInfoCount ( ) const

Returns the number of wall mergers.

◆ GetMergeInfos()

AECImpArraySubPtr AECDbWall::GetMergeInfos ( )

Returns pointer to mergers array.

Remarks
(Elements should by of type AECWallMergeInfo).

◆ GetModifierByIndex()

AECWallModifierSubPtr AECDbWall::GetModifierByIndex ( const OdUInt32  iIndex) const

Returns the wall modifier by index.

Remarks
Throws eInvalidIndex exception for invalid iIndex parameter.

◆ GetModifierCount()

OdUInt32 AECDbWall::GetModifierCount ( ) const

Returns the number of wall modifiers.

◆ GetModifiers()

AECImpArraySubPtr AECDbWall::GetModifiers ( )

Returns pointer to modifiers array.

Remarks
(Elements should by of type AECWallModifier).

◆ GetStyleOverrideByIndex()

AECWallStyleOverrideSubPtr AECDbWall::GetStyleOverrideByIndex ( const OdUInt32  iIndex) const

Returns wall style override by index.

Remarks
Throws eInvalidIndex exception for invalid iIndex parameter.

◆ GetStyleOverrideCount()

OdUInt32 AECDbWall::GetStyleOverrideCount ( ) const

Returns the number of wall style overrides.

◆ GetStyleOverrides()

AECImpArraySubPtr AECDbWall::GetStyleOverrides ( )

Returns pointer to style overrides array.

Remarks
(Elements should by of type AECWallStyleOverride).

◆ GetTopCutLine()

AECWallCutLineSubPtr AECDbWall::GetTopCutLine ( ) const

Returns top cutline.

Remarks
For missing cutline the method returns null pointer.

◆ GetType()

AECDefs::SegmentType AECDbWall::GetType ( ) const

Returns the wall type.

◆ GetWidth()

double AECDbWall::GetWidth ( ) const

Returns base width of the wall.

◆ IsClockwise()

bool AECDbWall::IsClockwise ( ) const

Returns the arc direction of the arc wall.

Remarks
If this method is called for the linear wall, the method will throw an exception.

◆ RemoveBottomCutLine()

void AECDbWall::RemoveBottomCutLine ( )

Removes bottom cutline.

◆ RemoveTopCutLine()

void AECDbWall::RemoveTopCutLine ( )

Removes top cutline.

◆ Set()

void AECDbWall::Set ( const OdGePoint2d ptStart,
const OdGePoint2d ptEnd,
double  dBulge = 0 
)

Sets start point, end point and bulge of the wall.

Remarks
These values are measured in local coordinate system of the wall.

◆ SetArcRadius()

void AECDbWall::SetArcRadius ( double  dRadius)

Sets arc radius.

Remarks
Arc radius should be positive. Works only for arc type of walls.

◆ SetAutomaticCleanups()

void AECDbWall::SetAutomaticCleanups ( bool  bAutoCleanup)

Sets whether wall intersections should be cleanuped automatically.

◆ SetCleanupGroupDef()

void AECDbWall::SetCleanupGroupDef ( const OdDbObjectId idCleanupGroup)

Sets Object ID of Cleanup Group. idCleanupGroup should not be null.

◆ SetCleanupRadius()

void AECDbWall::SetCleanupRadius ( double  dCleanupRadius)

Sets cleanup radius.

Remarks
Cleanup radius should be positive.

◆ SetDefaultsFromStyle()

void AECDbWall::SetDefaultsFromStyle ( )

Applies default properties from Wall Style.

Remarks
The following properties are affected: Width Height Justification Use Automatic Cleanups Cleanup Radius Cleanup Group Definition

◆ SetDeltaAngle()

void AECDbWall::SetDeltaAngle ( double  dAngle)

Sets the delta angle.

Remarks
Delta angle should be positive. Works only for arc type of walls.

◆ SetEndPoint()

void AECDbWall::SetEndPoint ( const OdGePoint2d vEndPoint,
const OdGePoint2d pvAnchorPoint = 0 
)

Sets new position of wall end point

Remarks
The function takes parameters in wall local coordinate system

Parameters: vEndPoint - new end point pvAnchorPoint - specifies the address of stationary point (needed for arc walls); if the parameter is omitted the middle point of the arc is used.

◆ SetGraphLinePosition()

void AECDbWall::SetGraphLinePosition ( AECDefs::WallGraphLinePosition  ePosition)

Sets graph line position.

◆ SetHeight()

void AECDbWall::SetHeight ( double  dHeight)

Sets the height of the wall.

Remarks
The height should be positive.

◆ SetIsClockwise()

void AECDbWall::SetIsClockwise ( bool  bDirection)

Sets arc wall direction.

Remarks
Works only for arc type of walls.

◆ SetJustification()

void AECDbWall::SetJustification ( AECDefs::WallJustification  eJustification)

Sets justification.

◆ SetLength()

void AECDbWall::SetLength ( double  dLength)

Sets the length of the wall.

Remarks
Works only for linear type of walls.

◆ SetStartPoint()

void AECDbWall::SetStartPoint ( const OdGePoint2d vStartPoint,
const OdGePoint2d pvAnchorPoint = 0 
)

Sets new position of wall start point

Remarks
The function takes parameters in wall local coordinate system
Parameters
vStartPoint- new start point of the wall
pvAnchorPoint- specifies the address of stationary point (needed for arc walls); if the
parameteris omitted the middle point of the arc is used.

◆ SetWidth()

void AECDbWall::SetWidth ( double  dWidth)

Sets base width of the wall.

Remarks
The width should be non-negative. In case of negative parameter the base width will be set to zero.

◆ UseAutomaticCleanups()

bool AECDbWall::UseAutomaticCleanups ( ) const

Returns whether wall intersections should be cleanuped automatically.


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