|
| static TopAbs_Orientation | Orientation (const BRepGraph &theGraph, const BRepGraph_CoEdgeId theCoEdge) |
| | Returns the coedge orientation relative to its parent edge.
|
| |
| static bool | IsReversed (const BRepGraph &theGraph, const BRepGraph_CoEdgeId theCoEdge) |
| | Returns true if the coedge is REVERSED relative to its parent edge. Convenience shortcut for Orientation(...) == TopAbs_REVERSED.
|
| |
| static BRepGraph_EdgeId | EdgeOf (const BRepGraph &theGraph, const BRepGraph_CoEdgeId theCoEdge) |
| | Returns the parent edge definition id this coedge uses.
|
| |
| static BRepGraph_FaceId | FaceOf (const BRepGraph &theGraph, const BRepGraph_CoEdgeId theCoEdge) |
| | Returns the owning face definition id for this coedge.
|
| |
| static BRepGraph_CoEdgeId | SeamPair (const BRepGraph &theGraph, const BRepGraph_CoEdgeId theCoEdge) |
| | Returns the seam-pair coedge for closed/seam edges.
|
| |
| static bool | IsSeam (const BRepGraph &theGraph, const BRepGraph_CoEdgeId theCoEdge) |
| | Returns true if this coedge is one half of a seam pair.
|
| |
| static bool | HasPCurve (const BRepGraph &theGraph, const BRepGraph_CoEdgeId theCoEdge) |
| | Returns true if the coedge has a PCurve representation.
|
| |
| static const occ::handle< Geom2d_Curve > & | PCurve (const BRepGraph &theGraph, const BRepGraph_CoEdgeId theCoEdge) |
| | Returns the raw PCurve handle by coedge identifier (no Location - UV space).
|
| |
| static const occ::handle< Geom2d_Curve > & | PCurve (const BRepGraph &theGraph, const CoEdgeDef &theCoEdge) |
| | Returns the raw PCurve handle from a CoEdgeDef (no Location - UV space).
|
| |
| static Geom2dAdaptor_Curve | PCurveAdaptor (const BRepGraph &theGraph, const BRepGraph_CoEdgeId theCoEdge) |
| | Returns a PCurve adaptor by coedge identifier. If the coedge has a stored PCurve (Curve2DRepIdx >= 0), returns it directly. Otherwise, for planar face surfaces, computes the PCurve on-the-fly by projecting the edge's 3D curve onto the plane (CurveOnPlane), mirroring the behavior of BRep_Tool::CurveOnSurface for planar faces without stored PCurves.
|
| |
| static Geom2dAdaptor_Curve | PCurveAdaptor (const BRepGraph &theGraph, const CoEdgeUsage &theRef) |
| | Returns a PCurve adaptor from a CoEdgeUsage.
|
| |
| static std::pair< gp_Pnt2d, gp_Pnt2d > | UVPoints (const BRepGraph &theGraph, const BRepGraph_CoEdgeId theCoEdge) |
| | Returns the UV endpoints from a CoEdge as (UV1, UV2).
|
| |
| static std::pair< double, double > | Range (const BRepGraph &theGraph, const BRepGraph_CoEdgeId theCoEdge) |
| | Returns the PCurve parameter range as (first, last).
|
| |
| static bool | HasPolygonOnSurface (const BRepGraph &theGraph, const BRepGraph_CoEdgeId theCoEdge) |
| | Returns true if the coedge has a polygon-on-surface representation.
|
| |
| static const occ::handle< Poly_Polygon2D > & | PolygonOnSurface (const BRepGraph &theGraph, const BRepGraph_CoEdgeId theCoEdge) |
| | Returns the polygon-on-surface (2D) for the coedge.
|
| |
CoEdge (half-edge) parametric curve and polygon accessors.
Provides PCurve retrieval, adaptor construction, UV endpoint access, parameter range queries, and polygon-on-surface access for coedge definitions.