|
| 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 bool | SameParameter (const BRepGraph &theGraph, const BRepGraph_CoEdgeId theCoEdge) |
| | Returns true if the coedge's PCurve parameter matches the 3D curve.
|
| |
| static bool | SameRange (const BRepGraph &theGraph, const BRepGraph_CoEdgeId theCoEdge) |
| | Returns true if the coedge's PCurve range equals the 3D curve range.
|
| |
| 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 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).
|
| |
CoEdge (half-edge) parametric curve accessors.
Provides PCurve retrieval, adaptor construction, UV endpoint access, and parameter range queries for coedge definitions.