![]() |
Open CASCADE Technology Reference Manual 8.0.1
|
Edge geometry, curve, and continuity accessors. More...
#include <BRepGraph_Tool.hxx>
Static Public Member Functions | |
| static double | Tolerance (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge) |
| Returns the edge tolerance. | |
| static bool | Degenerated (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge) |
| Returns true if the edge is degenerate, derived from current geometry. | |
| static bool | IsClosed (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge) |
| Returns true if the edge forms a topological loop, derived from vertex topology. | |
| static std::pair< double, double > | Range (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge) |
| Returns the 3D curve parameter range as (first, last). | |
| static BRepGraph_VertexRefId | StartVertexId (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge) |
| Returns the start vertex reference id directly. | |
| static BRepGraph_VertexRefId | EndVertexId (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge) |
| Returns the end vertex reference id directly. | |
| static bool | HasCurve (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge) |
| Returns true if the edge has a 3D curve representation. | |
| static const occ::handle< Geom_Curve > & | Curve (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge) |
| Returns the raw 3D curve handle (definition frame, no copy). | |
| static occ::handle< Geom_Curve > | Curve (const BRepGraph &theGraph, const CoEdgeUsage &theRef) |
| Returns the transformed 3D curve handle via CoEdgeUsage (applies Location, may copy). | |
| static GeomAdaptor_TransformedCurve | CurveAdaptor (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge) |
| Returns the 3D curve adaptor in definition frame (identity Trsf). | |
| static GeomAdaptor_TransformedCurve | CurveAdaptor (const BRepGraph &theGraph, const CoEdgeUsage &theRef) |
| Returns the 3D curve adaptor via CoEdgeUsage (applies edge-in-wire Location in Trsf). Falls back to CurveOnSurface when no 3D curve exists. | |
| static BRepGraph_EdgeId | FindByVertices (const BRepGraph &theGraph, const BRepGraph_VertexId theStartVertex, const BRepGraph_VertexId theEndVertex, const bool theToIgnoreOrientation=false) |
| Find an active edge by its boundary vertices. | |
| static BRepGraph_CoEdgeId | FindPCurveCoEdgeId (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge, const BRepGraph_FaceId theFace) |
| Find an active coedge carrying PCurve data for the given edge-face use. | |
| static BRepGraph_CoEdgeId | FindPCurveCoEdgeId (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge, const BRepGraph_FaceId theFace, const TopAbs_Orientation theOrientation) |
| Find an active PCurve coedge for the given edge-face use and preferred orientation. | |
| static BRepGraph_CoEdgeId | FindCoEdgeId (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge, const BRepGraph_FaceId theFace) |
| Find an active coedge for the given edge-face use. | |
| static BRepGraph_CoEdgeId | FindCoEdgeId (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge, const BRepGraph_FaceId theFace, const TopAbs_Orientation theOrientation) |
| Find an active coedge for the given edge-face use and preferred orientation. | |
| static uint32_t | NbFaces (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge) |
| Returns the number of faces that reference this edge via coedges. | |
| static bool | IsManifold (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge) |
| Returns true if the edge is shared by exactly two faces (manifold). | |
| static bool | IsBoundary (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge) |
| Returns true if the edge belongs to exactly one face (boundary / free edge). | |
| static bool | IsSeamOnFace (const BRepGraph &theGraph, const BRepGraph_EdgeId theEdge, const BRepGraph_FaceId theFace) |
| Returns true if the edge is a seam on the given face. | |
| static occ::handle< Adaptor3d_CurveOnSurface > | CurveOnSurface (const BRepGraph &theGraph, const CoEdgeUsage &theRef, const BRepGraph_FaceId theFace) |
| Returns a CurveOnSurface adaptor built from a CoEdgeUsage and face. | |
Edge geometry, curve, and continuity accessors.
Provides tolerance, degeneracy, and parameter flags; raw and location-adjusted 3D curve access; and PCurve lookup for edge-face contexts including seam edge support.
|
static |
Returns the raw 3D curve handle (definition frame, no copy).
| [in] | theGraph | source graph |
| [in] | theEdge | typed edge definition identifier |
|
static |
Returns the transformed 3D curve handle via CoEdgeUsage (applies Location, may copy).
| [in] | theGraph | source graph |
| [in] | theRef | coedge incidence reference carrying Location |
|
static |
Returns the 3D curve adaptor in definition frame (identity Trsf).
| [in] | theGraph | source graph |
| [in] | theEdge | typed edge definition identifier |
|
static |
Returns the 3D curve adaptor via CoEdgeUsage (applies edge-in-wire Location in Trsf). Falls back to CurveOnSurface when no 3D curve exists.
| [in] | theGraph | source graph |
| [in] | theRef | coedge incidence reference carrying Location |
|
static |
Returns a CurveOnSurface adaptor built from a CoEdgeUsage and face.
| [in] | theGraph | source graph |
| [in] | theRef | coedge incidence reference |
| [in] | theFace | typed face definition identifier |
|
static |
Returns true if the edge is degenerate, derived from current geometry.
| [in] | theGraph | source graph |
| [in] | theEdge | typed edge definition identifier |
|
static |
Returns the end vertex reference id directly.
| [in] | theGraph | source graph |
| [in] | theEdge | typed edge definition identifier |
|
static |
Find an active edge by its boundary vertices.
| [in] | theGraph | source graph |
| [in] | theStartVertex | start vertex to match |
| [in] | theEndVertex | end vertex to match |
| [in] | theToIgnoreOrientation | when true, also matches the reverse vertex order |
|
static |
Find an active coedge for the given edge-face use.
| [in] | theGraph | source graph |
| [in] | theEdge | edge definition to match |
| [in] | theFace | face definition to match |
|
static |
Find an active coedge for the given edge-face use and preferred orientation.
| [in] | theGraph | source graph |
| [in] | theEdge | edge definition to match |
| [in] | theFace | face definition to match |
| [in] | theOrientation | preferred coedge orientation |
|
static |
Find an active coedge carrying PCurve data for the given edge-face use.
| [in] | theGraph | source graph |
| [in] | theEdge | edge definition to match |
| [in] | theFace | face definition to match |
|
static |
Find an active PCurve coedge for the given edge-face use and preferred orientation.
| [in] | theGraph | source graph |
| [in] | theEdge | edge definition to match |
| [in] | theFace | face definition to match |
| [in] | theOrientation | preferred coedge orientation |
|
static |
Returns true if the edge has a 3D curve representation.
| [in] | theGraph | source graph |
| [in] | theEdge | typed edge definition identifier |
|
static |
Returns true if the edge belongs to exactly one face (boundary / free edge).
| [in] | theGraph | source graph |
| [in] | theEdge | typed edge definition identifier |
|
static |
Returns true if the edge forms a topological loop, derived from vertex topology.
| [in] | theGraph | source graph |
| [in] | theEdge | typed edge definition identifier |
|
static |
Returns true if the edge is shared by exactly two faces (manifold).
| [in] | theGraph | source graph |
| [in] | theEdge | typed edge definition identifier |
|
static |
Returns true if the edge is a seam on the given face.
| [in] | theGraph | source graph |
| [in] | theEdge | typed edge definition identifier |
| [in] | theFace | typed face definition identifier |
|
static |
Returns the number of faces that reference this edge via coedges.
| [in] | theGraph | source graph |
| [in] | theEdge | typed edge definition identifier |
|
static |
Returns the 3D curve parameter range as (first, last).
| [in] | theGraph | source graph |
| [in] | theEdge | typed edge definition identifier |
|
static |
Returns the start vertex reference id directly.
| [in] | theGraph | source graph |
| [in] | theEdge | typed edge definition identifier |
|
static |
Returns the edge tolerance.
| [in] | theGraph | source graph |
| [in] | theEdge | typed edge definition identifier |