Share

AcBrEdge

Class Hierarchy

AcRxObject
    AcBrEntity
        AcBrEdge

C++

class AcBrEdge : public AcBrEntity;

File

bredge.h

Description

The AcBrEdge class is the interface class for brep edges. This class defines the functions that are pertinent to the edge level of a brep, and thus serves as a mapping between AutoCAD edge subentities and AcBr. It is also used to set the first edge of an AcBrEdgeLoopTraverser or the edge owner of an AcBrEdgeLoopTraverser.

Edges are primary brep elements and thus have associated geometry (that is, curves). This class provides an indirect link between AcGe and AcDb3dSolid, AcDbRegion, and AcDbBody.

Remarks

The intended use of the AcBrEdge class is to create an AcBr-contexted edge for dumping curve geometry and for accessing edge vertices.

The subentity path should contain the object ID of an AutoCAD solid, region, or body; its chained transforms (via nested AcDbBlockReference); and a valid edge subentity ID.

If the edge represents a singularity (for example, the apex of a cone), or is free or otherwise unembedded (such as a wire edge), the setSubentPath() function (inherited from AcBrEntity) returns eUnsuitableTopology. Singularities show up properly as vertices in loop traversals, but their associated edge subentities in AutoCAD cannot be used to directly (re)set an AcBrVertex due to type mismatch.

Links

AcBrEdge Constructor, AcBrEdge Methods, AcBrEdge Operators

See Also

AcBrLoopEdgeTraverser, AcBrEdgeLoopTraverser, AcGeEntity3d, AcGeCurve3d, AcGeExternalCurve3d, AcBrEntity

Was this information helpful?