CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
AECDbRailing Class Reference

#include <AECDbRailing.h>

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

Public Member Functions

AECRailingLowerProfileSubPtr GetLowerProfile () const
 
AECRailingLowerProfileSubPtr GetBalusterProfile () const
 
OdUInt32 GetPostCount () const
 
AECImpRailingPostDefSubPtr GetPostByIndex (OdUInt32 iIndex) const
 
AECImpArraySubPtr GetPosts () const
 
bool IsGuardrailPresent () const
 
void SetIsGuardrailPresent (bool bPresent)
 
bool IsHandrailPresent () const
 
void SetIsHandrailPresent (bool bPresent)
 
bool IsBottomrailPresent () const
 
void SetIsBottomrailPresent (bool bPresent)
 
bool IsFixedPostsPresent () const
 
void SetIsFixedPostsPresent (bool bPresent)
 
bool IsDynamicPostsPresent () const
 
void SetIsDynamicPostsPresent (bool bPresent)
 
bool IsBalustersPresent () const
 
void SetIsBalustersPresent (bool bPresent)
 
bool IsFixedPostsAtCornersPresent () const
 
void SetIsFixedPostsAtCornersPresent (bool bPresent)
 
bool IsOverrideStairTreadLength () const
 
void SetIsOverrideStairTreadLength (bool bOverride)
 
double GetGuardrailHorizontalHeight () const
 
void SetGuardrailHorizontalHeight (double dHeight)
 
double GetGuardrailSlopingHeight () const
 
void SetGuardrailSlopingHeight (double dHeight)
 
double GetGuardrailOffsetFromPost () const
 
void SetGuardrailOffsetFromPost (double dOffset)
 
AECDefs::RailingOffsetSide GetGuardrailOffsetSide () const
 
void SetGuardrailOffsetSide (AECDefs::RailingOffsetSide eSide)
 
double GetHandrailHorizontalHeight () const
 
void SetHandrailHorizontalHeight (double dHeight)
 
double GetHandrailSlopingHeight () const
 
void SetHandrailSlopingHeight (double dHeight)
 
double GetHandrailOffsetFromPost () const
 
void SetHandrailOffsetFromPost (double dOffset)
 
AECDefs::RailingOffsetSide GetHandrailOffsetSide () const
 
void SetHandrailOffsetSide (AECDefs::RailingOffsetSide eSide)
 
double GetBottomrailHorizontalHeight () const
 
void SetBottomrailHorizontalHeight (double dHeight)
 
double GetBottomrailSlopingHeight () const
 
void SetBottomrailSlopingHeight (double dHeight)
 
double GetBottomrailOffsetFromPost () const
 
void SetBottomrailOffsetFromPost (double dOffset)
 
AECDefs::RailingOffsetSide GetBottomrailOffsetSide () const
 
void SetBottomrailOffsetSide (AECDefs::RailingOffsetSide eSide)
 
double GetBottomrailSpacing () const
 
void SetBottomrailSpacing (double dSpacing)
 
OdUInt16 GetBottomrailCount () const
 
void SetBottomrailCount (OdUInt16 iCount)
 
double GetDynamicPostsMaxDistance () const
 
void SetDynamicPostsMaxDistance (double dDistance)
 
double GetBalustersMaxDistance () const
 
void SetBalustersMaxDistance (double dDistance)
 
OdUInt16 GetBalustersPerTread () const
 
void SetBalustersPerTread (OdUInt16 iBaluster)
 
AECRailingSubPtr GetHandrail () const
 
AECRailingSubPtr GetGuardrail () const
 
AECRailingSubPtr GetBottomrail () const
 
AECBalusterSubPtr GetBaluster () const
 
AECRailingPostSubPtr GetFixedPost () const
 
AECRailingPostSubPtr GetFirstFixedPost () const
 
AECRailingPostSubPtr GetLastFixedPost () const
 
AECRailingPostSubPtr GetDynamicPost () const
 
double GetTopExtension () const
 
double GetBottomExtension () const
 
double GetGuardrailEntireTopExtension () const
 
void SetGuardrailEntireTopExtension (double dExtension)
 
double GetGuardrailEntireBottomExtension () const
 
void SetGuardrailEntireBottomExtension (double dExtension)
 
double GetGuardrailFlightTopExtension () const
 
void SetGuardrailFlightTopExtension (double dExtension)
 
double GetGuardrailFlightBottomExtension () const
 
void SetGuardrailFlightBottomExtension (double dExtension)
 
double GetHandrailEntireTopExtension () const
 
void SetHandrailEntireTopExtension (double dExtension)
 
double GetHandrailEntireBottomExtension () const
 
void SetHandrailEntireBottomExtension (double dExtension)
 
double GetHandrailFlightTopExtension () const
 
void SetHandrailFlightTopExtension (double dExtension)
 
double GetHandrailFlightBottomExtension () const
 
void SetHandrailFlightBottomExtension (double dExtension)
 
bool IsAddToGuardrailEntireTopExtension () const
 
void SetIsAddToGuardrailEntireTopExtension (bool bAdd)
 
bool IsAddToGuardrailEntireBottomExtension () const
 
void SetIsAddToGuardrailEntireBottomExtension (bool bAdd)
 
bool IsAddToGuardrailFlightTopExtension () const
 
void SetIsAddToGuardrailFlightTopExtension (bool bAdd)
 
bool IsAddToGuardrailFlightBottomExtension () const
 
void SetIsAddToGuardrailFlightBottomExtension (bool bAdd)
 
bool IsAddToHandrailEntireTopExtension () const
 
void SetIsAddToHandrailEntireTopExtension (bool bAdd)
 
bool IsAddToHandrailEntireBottomExtension () const
 
void SetIsAddToHandrailEntireBottomExtension (bool bAdd)
 
bool IsAddToHandrailFlightTopExtension () const
 
void SetIsAddToHandrailFlightTopExtension (bool bAdd)
 
bool IsAddToHandrailFlightBottomExtension () const
 
void SetIsAddToHandrailFlightBottomExtension (bool bAdd)
 
bool IsUseStairLandingExtensionsAtFloors () const
 
void SetIsUseStairLandingExtensionsAtFloors (bool bUse)
 
bool IsUseStairLandingExtensionsAtFlights () const
 
void SetIsUseStairLandingExtensionsAtFlights (bool bUse)
 
void AttachStairAnchor (const OdDbObjectId &idStair)
 
double GetRailOffset (double dInitialOffset, AECDefs::RailingOffsetSide eSide) const
 
void GetPostLocations (std::vector< double > &aLocations) const
 
void GetFixedPostLocations (std::vector< double > &aLocations, bool bIncludeHidden=false) const
 
void GetDynamicPostLocations (std::vector< double > &aLocations) const
 
void GetBalusterLocations (std::vector< double > &aLocations) const
 
void RedistributePosts ()
 
bool Reverse ()
 
double GetOriginalContourLength ()
 
- 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 void subHighlight (bool bDoIt=true, const OdDbFullSubentPath *pSubId=0, bool highlightAll=false) 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 OdResult subIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) 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 ()
 
bool GetHighlited () const
 
void addCallback (AECDbUserCallback *pCallback)
 
void removeCallback (AECDbUserCallback *pCallback)
 
- 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 explodeGeometry (OdRxObjectPtrArray &entitySet) const
 
virtual OdResult explodeGeometryToBlock (OdDbBlockTableRecord *pBlockRecord, OdDbObjectIdArray *ids=0)
 
virtual bool subWorldDraw (OdGiWorldDraw *pWd) const
 
virtual void subViewportDraw (OdGiViewportDraw *pVd) const
 
void setDatabaseDefaults (OdDbDatabase *pDb=0, bool doSubents=false)
 
virtual void subSetDatabaseDefaults (OdDbDatabase *pDb, bool doSubents)
 
virtual void applyPartialUndo (OdDbDwgFiler *pUndoFiler, OdRxClass *pClassObj)
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
void appendToOwner (OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &ownerIdMap)
 
virtual OdResult dxfIn (OdDbDxfFiler *pFiler)
 
virtual void dxfOut (OdDbDxfFiler *pFiler) const
 
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 OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
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
 
virtual OdResult subOpen (OdDb::OpenMode mode) 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
 
virtual void dragStatus (const OdDb::DragStat status)
 
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)
 
virtual void subClose ()
 
OdResult erase (bool eraseIt=true)
 
virtual OdResult subErase (bool erasing)
 
void handOverTo (OdDbObject *pNewObject, bool keepXData=true, bool keepExtDict=true)
 
virtual void subHandOverTo (OdDbObject *pNewObject)
 
void swapIdWith (OdDbObjectId otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void subSwapIdWith (const OdDbObjectId &otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void audit (OdDbAuditInfo *pAuditInfo)
 
void dwgIn (OdDbDwgFiler *pFiler)
 
void dwgOut (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfIn (OdDbDxfFiler *pFiler)
 
virtual void dxfOut (OdDbDxfFiler *pFiler) const
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
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 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 ()
 
virtual void applyPartialUndo (OdDbDwgFiler *pUndoFiler, OdRxClass *pClassObj)
 
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 &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr wblockClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED
 
virtual void appendToOwner (OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &idMap)
 
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)
 
virtual void copyFrom (const OdRxObject *pSource)
 
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 OdGiDrawabledrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *pWd) const
 
virtual void subViewportDraw (OdGiViewportDraw *pVd) const
 
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
 
virtual bool isPersistent () const =0
 
virtual OdDbStub * id () const =0
 
virtual void setGsNode (OdGsCache *pGsNode)=0
 
virtual OdGsCachegsNode () const =0
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const
 
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
 
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
 

Static Public Member Functions

static AECDbRailingPtr CreateAECObject (const OdDbObjectId &idBlock, const OdDbObjectId &idRailingStyle)
 
- 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 ()
 

Protected Member Functions

virtual bool subCloneMeForDragging ()
 
- Protected Member Functions inherited from OdDbEntity
virtual OdDbObjectPtr subWblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
 
virtual OdDbObjectPtr subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
 
virtual OdResult subTransformBy (const OdGeMatrix3d &xfm)
 
virtual OdResult subGetTransformedCopy (const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const
 
virtual OdResult subExplode (OdRxObjectPtrArray &entitySet) const
 
virtual OdResult subGetCompoundObjectTransform (OdGeMatrix3d &xM) const
 
virtual bool subCloneMeForDragging ()
 
virtual bool subHideMeForDragging () const
 
virtual void subGripStatus (const OdDb::GripStat status)
 
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 subIsContentSnappable () const
 
virtual OdResult subGetGripPoints (OdGePoint3dArray &gripPoints) const
 
virtual OdResult subMoveGripPointsAt (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 subGetStretchPoints (OdGePoint3dArray &stretchPoints) const
 
virtual OdResult subMoveStretchPointsAt (const OdIntArray &indices, const OdGeVector3d &offset)
 
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 ()
 
virtual OdResult subGetClassID (void *pClsid) const
 
virtual OdDbObjectPtr subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const
 
virtual OdDbObjectPtr subWblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const
 
- Protected Member Functions inherited from OdGiDrawable
 OdGiDrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const =0
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const =0
 
virtual void subViewportDraw (OdGiViewportDraw *vd) const =0
 
virtual OdUInt32 subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const
 
virtual OdUInt32 subRegenSupportFlags () const
 

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 ,
  kDrawableNotAllowLCS = 32768 , kDrawableMergeControlOff = 65536 , kLastFlag = kDrawableMergeControlOff
}
 
enum  DrawableType {
  kGeometry = 0 , kDistantLight = 1 , kPointLight = 2 , kSpotLight = 3 ,
  kAmbientLight , kSolidBackground , kGradientBackground , kImageBackground ,
  kGroundPlaneBackground , kViewport , kWebLight , kSkyBackground ,
  kImageBasedLightingBackground
}
 
- Protected Attributes inherited from AECDbEntity
AECImpObjPtr m_pImpObject
 DOM.
 
AECImpArrayPtr m_pOverrides
 DOM.
 
OdRxObjectPtr m_pDrawCache
 DOM.
 
OdRxObjectPtr m_pGripManager
 DOM.
 
OdUInt16 m_iMinSupportedVersion
 
- Protected Attributes inherited from OdDbObject
OdDbObjectImplm_pImpl
 

Detailed Description

Railing.

<group TA_API_Entities>

Definition at line 42 of file AECDbRailing.h.

Member Function Documentation

◆ AttachStairAnchor()

void AECDbRailing::AttachStairAnchor ( const OdDbObjectId idStair)

Anchors railing to Stair with specified Object ID.

◆ CreateAECObject()

static AECDbRailingPtr AECDbRailing::CreateAECObject ( const OdDbObjectId idBlock,
const OdDbObjectId idRailingStyle 
)
static

Creates Railing and attaches it to specified block.

◆ GetBaluster()

AECBalusterSubPtr AECDbRailing::GetBaluster ( ) const

Return baluster definition.

◆ GetBalusterLocations()

void AECDbRailing::GetBalusterLocations ( std::vector< double > &  aLocations) const

Returns the locations of baluster on baluster lower profile if present. If baluster lower profile is not present default lower profile is used.

◆ GetBalusterProfile()

AECRailingLowerProfileSubPtr AECDbRailing::GetBalusterProfile ( ) const

Returns the lower profile for baluster curve.

Remarks
May be null if it is the same as base lower profile.

◆ GetBalustersMaxDistance()

double AECDbRailing::GetBalustersMaxDistance ( ) const

Returns maximum center-to-center distance between balusters.

◆ GetBalustersPerTread()

OdUInt16 AECDbRailing::GetBalustersPerTread ( ) const

Returns the number of balusters per tread.

◆ GetBottomExtension()

double AECDbRailing::GetBottomExtension ( ) const

Returns recalculated top extension.

Remarks
Method uses extensions for handrail and guardrail to calculate overall extension.

◆ GetBottomrail()

AECRailingSubPtr AECDbRailing::GetBottomrail ( ) const

Returns the structure, that contains information about bottom rail.

◆ GetBottomrailCount()

OdUInt16 AECDbRailing::GetBottomrailCount ( ) const

Returns the number of bottom rails.

◆ GetBottomrailHorizontalHeight()

double AECDbRailing::GetBottomrailHorizontalHeight ( ) const

Returns bottomrail horizontal height.

◆ GetBottomrailOffsetFromPost()

double AECDbRailing::GetBottomrailOffsetFromPost ( ) const

Returns bottomrail offset from post.

◆ GetBottomrailOffsetSide()

AECDefs::RailingOffsetSide AECDbRailing::GetBottomrailOffsetSide ( ) const

Returns side for bottomrail offset.

◆ GetBottomrailSlopingHeight()

double AECDbRailing::GetBottomrailSlopingHeight ( ) const

Returns bottomrail sloping height.

◆ GetBottomrailSpacing()

double AECDbRailing::GetBottomrailSpacing ( ) const

Returns spacing between bottom rails.

◆ GetDynamicPost()

AECRailingPostSubPtr AECDbRailing::GetDynamicPost ( ) const

Return dynamic post definition.

◆ GetDynamicPostLocations()

void AECDbRailing::GetDynamicPostLocations ( std::vector< double > &  aLocations) const

Returns the locations of dynamic posts on railing.

Remarks
The returned array is sorted.

◆ GetDynamicPostsMaxDistance()

double AECDbRailing::GetDynamicPostsMaxDistance ( ) const

Returns maximum center-to-center distance between dynamic posts.

◆ GetFirstFixedPost()

AECRailingPostSubPtr AECDbRailing::GetFirstFixedPost ( ) const

Return first fixed post definition.

◆ GetFixedPost()

AECRailingPostSubPtr AECDbRailing::GetFixedPost ( ) const

Return fixed post definition.

◆ GetFixedPostLocations()

void AECDbRailing::GetFixedPostLocations ( std::vector< double > &  aLocations,
bool  bIncludeHidden = false 
) const

Returns the locations of fixed posts on railing.

Remarks
The returned array is sorted.

◆ GetGuardrail()

AECRailingSubPtr AECDbRailing::GetGuardrail ( ) const

Returns the structure, that contains information about guardrail.

◆ GetGuardrailEntireBottomExtension()

double AECDbRailing::GetGuardrailEntireBottomExtension ( ) const

Returns guardrail extension at the bottom of entire railing.

◆ GetGuardrailEntireTopExtension()

double AECDbRailing::GetGuardrailEntireTopExtension ( ) const

Returns guardrail extension at top of entire railing.

◆ GetGuardrailFlightBottomExtension()

double AECDbRailing::GetGuardrailFlightBottomExtension ( ) const

Returns guardrail extension at the bottom of flight.

◆ GetGuardrailFlightTopExtension()

double AECDbRailing::GetGuardrailFlightTopExtension ( ) const

Returns guardrail extension at the top of flight.

◆ GetGuardrailHorizontalHeight()

double AECDbRailing::GetGuardrailHorizontalHeight ( ) const

Returns guardrail horizontal height.

◆ GetGuardrailOffsetFromPost()

double AECDbRailing::GetGuardrailOffsetFromPost ( ) const

Returns guardrail offset from post.

◆ GetGuardrailOffsetSide()

AECDefs::RailingOffsetSide AECDbRailing::GetGuardrailOffsetSide ( ) const

Returns side for guardrail offset.

◆ GetGuardrailSlopingHeight()

double AECDbRailing::GetGuardrailSlopingHeight ( ) const

Returns guardrail sloping height.

◆ GetHandrail()

AECRailingSubPtr AECDbRailing::GetHandrail ( ) const

Returns the structure, that contains information about handrail.

◆ GetHandrailEntireBottomExtension()

double AECDbRailing::GetHandrailEntireBottomExtension ( ) const

Returns handrail extension at the bottom of entire railing.

◆ GetHandrailEntireTopExtension()

double AECDbRailing::GetHandrailEntireTopExtension ( ) const

Returns handrail extension at the top of entire railing.

◆ GetHandrailFlightBottomExtension()

double AECDbRailing::GetHandrailFlightBottomExtension ( ) const

Returns handrail extension at the bottom of flight.

◆ GetHandrailFlightTopExtension()

double AECDbRailing::GetHandrailFlightTopExtension ( ) const

Returns handrail extension at the top of flight.

◆ GetHandrailHorizontalHeight()

double AECDbRailing::GetHandrailHorizontalHeight ( ) const

Returns handrail horizontal height.

◆ GetHandrailOffsetFromPost()

double AECDbRailing::GetHandrailOffsetFromPost ( ) const

Returns handrail offset from post.

◆ GetHandrailOffsetSide()

AECDefs::RailingOffsetSide AECDbRailing::GetHandrailOffsetSide ( ) const

Returns side for handrail offset.

◆ GetHandrailSlopingHeight()

double AECDbRailing::GetHandrailSlopingHeight ( ) const

Returns handrail sloping height.

◆ GetLastFixedPost()

AECRailingPostSubPtr AECDbRailing::GetLastFixedPost ( ) const

Return last fixed post definition.

◆ GetLowerProfile()

AECRailingLowerProfileSubPtr AECDbRailing::GetLowerProfile ( ) const

Returns the lower profile.

◆ GetOriginalContourLength()

double AECDbRailing::GetOriginalContourLength ( )

◆ GetPostByIndex()

AECImpRailingPostDefSubPtr AECDbRailing::GetPostByIndex ( OdUInt32  iIndex) const

Returns fixed post by index.

◆ GetPostCount()

OdUInt32 AECDbRailing::GetPostCount ( ) const

Returns the number of fixed posts.

◆ GetPostLocations()

void AECDbRailing::GetPostLocations ( std::vector< double > &  aLocations) const

Returns the locations of both fixed and dynamic posts on railing.

Remarks
The returned array is sorted.

◆ GetPosts()

AECImpArraySubPtr AECDbRailing::GetPosts ( ) const

◆ GetRailOffset()

double AECDbRailing::GetRailOffset ( double  dInitialOffset,
AECDefs::RailingOffsetSide  eSide 
) const

Smart method that returns real offset from railing baseline.

Parameters
dInitialOffset[in] Base offset.
eSide[in] Direction base offset is measured in.
Returns
Real offset from baseline.
Remarks
For example GetHandrailOffsetFromPost() and GetHandrailOffsetSide() results may be used as parameters.

◆ GetTopExtension()

double AECDbRailing::GetTopExtension ( ) const

Returns recalculated top extension.

Remarks
Method uses extensions for handrail and guardrail to calculate overall extension.

◆ IsAddToGuardrailEntireBottomExtension()

bool AECDbRailing::IsAddToGuardrailEntireBottomExtension ( ) const

Returns whether tread length should be added to guardrail extension at the bottom of entire railing.

◆ IsAddToGuardrailEntireTopExtension()

bool AECDbRailing::IsAddToGuardrailEntireTopExtension ( ) const

Returns whether tread length should be added to guardrail extension at the top of entire railing.

◆ IsAddToGuardrailFlightBottomExtension()

bool AECDbRailing::IsAddToGuardrailFlightBottomExtension ( ) const

Returns whether tread length should be added to guardrail extension at the bottom of flight.

◆ IsAddToGuardrailFlightTopExtension()

bool AECDbRailing::IsAddToGuardrailFlightTopExtension ( ) const

Returns whether tread length should be added to guardrail extension at the top of flight.

◆ IsAddToHandrailEntireBottomExtension()

bool AECDbRailing::IsAddToHandrailEntireBottomExtension ( ) const

Returns whether tread length should be added to handrail extension at the bottom of entire railing.

◆ IsAddToHandrailEntireTopExtension()

bool AECDbRailing::IsAddToHandrailEntireTopExtension ( ) const

Returns whether tread length should be added to handrail extension at the top of entire railing.

◆ IsAddToHandrailFlightBottomExtension()

bool AECDbRailing::IsAddToHandrailFlightBottomExtension ( ) const

Returns whether tread length should be added to handrail extension at the bottom of flight.

◆ IsAddToHandrailFlightTopExtension()

bool AECDbRailing::IsAddToHandrailFlightTopExtension ( ) const

Returns whether tread length should be added to handrail extension at the top of flight.

◆ IsBalustersPresent()

bool AECDbRailing::IsBalustersPresent ( ) const

Returns whether balusters are present.

◆ IsBottomrailPresent()

bool AECDbRailing::IsBottomrailPresent ( ) const

Returns whether bottom rail is present.

◆ IsDynamicPostsPresent()

bool AECDbRailing::IsDynamicPostsPresent ( ) const

Returns whether dynamic posts are present.

◆ IsFixedPostsAtCornersPresent()

bool AECDbRailing::IsFixedPostsAtCornersPresent ( ) const

Returns whether fixed posts at corners are present.

◆ IsFixedPostsPresent()

bool AECDbRailing::IsFixedPostsPresent ( ) const

Returns whether fixed posts are present.

◆ IsGuardrailPresent()

bool AECDbRailing::IsGuardrailPresent ( ) const

Returns whether guardrail is present.

◆ IsHandrailPresent()

bool AECDbRailing::IsHandrailPresent ( ) const

Returns whether handrail is present.

◆ IsOverrideStairTreadLength()

bool AECDbRailing::IsOverrideStairTreadLength ( ) const

Returns whether the stair tread length is overridden.

◆ IsUseStairLandingExtensionsAtFlights()

bool AECDbRailing::IsUseStairLandingExtensionsAtFlights ( ) const

Returns whether stair landing extensions should be used for flights instead of values specified.

◆ IsUseStairLandingExtensionsAtFloors()

bool AECDbRailing::IsUseStairLandingExtensionsAtFloors ( ) const

Returns whether stair landing extensions should be used for floor levels instead of values specified.

◆ RedistributePosts()

void AECDbRailing::RedistributePosts ( )

Places fixed posts at default positions.

◆ Reverse()

bool AECDbRailing::Reverse ( )

Reverses Railing.

Returns Value: True indicates success.

Remarks
Railing anchored to Stair

◆ SetBalustersMaxDistance()

void AECDbRailing::SetBalustersMaxDistance ( double  dDistance)

Sets maximum center-to-center distance between balusters.

◆ SetBalustersPerTread()

void AECDbRailing::SetBalustersPerTread ( OdUInt16  iBaluster)

Sets the number of balusters per tread.

◆ SetBottomrailCount()

void AECDbRailing::SetBottomrailCount ( OdUInt16  iCount)

Sets the number of bottom rails.

◆ SetBottomrailHorizontalHeight()

void AECDbRailing::SetBottomrailHorizontalHeight ( double  dHeight)

Sets bottomrail horizontal height.

◆ SetBottomrailOffsetFromPost()

void AECDbRailing::SetBottomrailOffsetFromPost ( double  dOffset)

Sets bottomrail offset from post.

◆ SetBottomrailOffsetSide()

void AECDbRailing::SetBottomrailOffsetSide ( AECDefs::RailingOffsetSide  eSide)

Sets side for bottomrail offset.

◆ SetBottomrailSlopingHeight()

void AECDbRailing::SetBottomrailSlopingHeight ( double  dHeight)

Sets bottomrail sloping height.

◆ SetBottomrailSpacing()

void AECDbRailing::SetBottomrailSpacing ( double  dSpacing)

Sets spacing between bottom rails.

◆ SetDynamicPostsMaxDistance()

void AECDbRailing::SetDynamicPostsMaxDistance ( double  dDistance)

Sets maximum center-to-center distance between dynamic posts.

◆ SetGuardrailEntireBottomExtension()

void AECDbRailing::SetGuardrailEntireBottomExtension ( double  dExtension)

Sets guardrail extension at the bottom of entire railing.

◆ SetGuardrailEntireTopExtension()

void AECDbRailing::SetGuardrailEntireTopExtension ( double  dExtension)

Sets guardrail extension at top of entire railing.

◆ SetGuardrailFlightBottomExtension()

void AECDbRailing::SetGuardrailFlightBottomExtension ( double  dExtension)

Sets guardrail extension at the bottom of flight.

◆ SetGuardrailFlightTopExtension()

void AECDbRailing::SetGuardrailFlightTopExtension ( double  dExtension)

Sets guardrail extension at the top of flight.

◆ SetGuardrailHorizontalHeight()

void AECDbRailing::SetGuardrailHorizontalHeight ( double  dHeight)

Sets guardrail horizontal height.

◆ SetGuardrailOffsetFromPost()

void AECDbRailing::SetGuardrailOffsetFromPost ( double  dOffset)

Sets guardrail offset from post.

◆ SetGuardrailOffsetSide()

void AECDbRailing::SetGuardrailOffsetSide ( AECDefs::RailingOffsetSide  eSide)

Sets side for guardrail offset.

◆ SetGuardrailSlopingHeight()

void AECDbRailing::SetGuardrailSlopingHeight ( double  dHeight)

Sets guardrail sloping height.

◆ SetHandrailEntireBottomExtension()

void AECDbRailing::SetHandrailEntireBottomExtension ( double  dExtension)

Sets handrail extension at the bottom of entire railing.

◆ SetHandrailEntireTopExtension()

void AECDbRailing::SetHandrailEntireTopExtension ( double  dExtension)

Sets handrail extension at the top of entire railing.

◆ SetHandrailFlightBottomExtension()

void AECDbRailing::SetHandrailFlightBottomExtension ( double  dExtension)

Sets handrail extension at the bottom of flight.

◆ SetHandrailFlightTopExtension()

void AECDbRailing::SetHandrailFlightTopExtension ( double  dExtension)

Sets handrail extension at the top of flight.

◆ SetHandrailHorizontalHeight()

void AECDbRailing::SetHandrailHorizontalHeight ( double  dHeight)

Sets handrail horizontal height.

◆ SetHandrailOffsetFromPost()

void AECDbRailing::SetHandrailOffsetFromPost ( double  dOffset)

Sets handrail offset from post.

◆ SetHandrailOffsetSide()

void AECDbRailing::SetHandrailOffsetSide ( AECDefs::RailingOffsetSide  eSide)

Sets side for handrail offset.

◆ SetHandrailSlopingHeight()

void AECDbRailing::SetHandrailSlopingHeight ( double  dHeight)

Sets handrail sloping height.

◆ SetIsAddToGuardrailEntireBottomExtension()

void AECDbRailing::SetIsAddToGuardrailEntireBottomExtension ( bool  bAdd)

Sets whether tread length should be added to guardrail extension at the bottom of entire railing.

◆ SetIsAddToGuardrailEntireTopExtension()

void AECDbRailing::SetIsAddToGuardrailEntireTopExtension ( bool  bAdd)

Sets whether tread length should be added to guardrail extension at the top of entire railing.

◆ SetIsAddToGuardrailFlightBottomExtension()

void AECDbRailing::SetIsAddToGuardrailFlightBottomExtension ( bool  bAdd)

Sets whether tread length should be added to guardrail extension at the bottom of flight.

◆ SetIsAddToGuardrailFlightTopExtension()

void AECDbRailing::SetIsAddToGuardrailFlightTopExtension ( bool  bAdd)

Sets whether tread length should be added to guardrail extension at the top of flight.

◆ SetIsAddToHandrailEntireBottomExtension()

void AECDbRailing::SetIsAddToHandrailEntireBottomExtension ( bool  bAdd)

Sets whether tread length should be added to handrail extension at the bottom of entire railing.

◆ SetIsAddToHandrailEntireTopExtension()

void AECDbRailing::SetIsAddToHandrailEntireTopExtension ( bool  bAdd)

Sets whether tread length should be added to handrail extension at the top of entire railing.

◆ SetIsAddToHandrailFlightBottomExtension()

void AECDbRailing::SetIsAddToHandrailFlightBottomExtension ( bool  bAdd)

Sets whether tread length should be added to handrail extension at the bottom of flight.

◆ SetIsAddToHandrailFlightTopExtension()

void AECDbRailing::SetIsAddToHandrailFlightTopExtension ( bool  bAdd)

Sets whether tread length should be added to handrail extension at the top of flight.

◆ SetIsBalustersPresent()

void AECDbRailing::SetIsBalustersPresent ( bool  bPresent)

Sets whether balusters are present.

◆ SetIsBottomrailPresent()

void AECDbRailing::SetIsBottomrailPresent ( bool  bPresent)

Sets whether bottomrail is present.

◆ SetIsDynamicPostsPresent()

void AECDbRailing::SetIsDynamicPostsPresent ( bool  bPresent)

Sets whether dynamic posts are present.

◆ SetIsFixedPostsAtCornersPresent()

void AECDbRailing::SetIsFixedPostsAtCornersPresent ( bool  bPresent)

Sets whether fixed posts at corners are present.

◆ SetIsFixedPostsPresent()

void AECDbRailing::SetIsFixedPostsPresent ( bool  bPresent)

Sets whether fixed posts are present.

◆ SetIsGuardrailPresent()

void AECDbRailing::SetIsGuardrailPresent ( bool  bPresent)

Sets whether guardrail is present.

◆ SetIsHandrailPresent()

void AECDbRailing::SetIsHandrailPresent ( bool  bPresent)

Sets whether handrail is present.

◆ SetIsOverrideStairTreadLength()

void AECDbRailing::SetIsOverrideStairTreadLength ( bool  bOverride)

Sets whether the stair tread length is overridden.

◆ SetIsUseStairLandingExtensionsAtFlights()

void AECDbRailing::SetIsUseStairLandingExtensionsAtFlights ( bool  bUse)

Sets whether stair landing extensions should be used for flights instead of values specified.

◆ SetIsUseStairLandingExtensionsAtFloors()

void AECDbRailing::SetIsUseStairLandingExtensionsAtFloors ( bool  bUse)

Sets whether stair landing extensions should be used for floor levels instead of values specified.

◆ subCloneMeForDragging()

virtual bool AECDbRailing::subCloneMeForDragging ( )
protectedvirtual

Returns false.

Reimplemented from AECDbEntity.


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