Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Static Public Member Functions
BRepGraph_Tool::Vertex Class Reference

Vertex geometry accessors. More...

#include <BRepGraph_Tool.hxx>

Static Public Member Functions

static gp_Pnt Pnt (const BRepGraph &theGraph, const VertexUsage &theRef)
 Returns the vertex 3D point with VertexUsage Location applied.
 
static gp_Pnt Pnt (const BRepGraph &theGraph, const BRepGraph_VertexId theVertex)
 Returns the vertex 3D point in definition frame (no Location applied).
 
static double Tolerance (const BRepGraph &theGraph, const BRepGraph_VertexId theVertex)
 Returns the vertex tolerance.
 
static double Parameter (const BRepGraph &theGraph, const BRepGraph_VertexId theVertex, const BRepGraph_EdgeId theEdge)
 Returns the vertex parameter on an edge's 3D curve.
 
static gp_Pnt2d Parameters (const BRepGraph &theGraph, const BRepGraph_VertexId theVertex, const BRepGraph_FaceId theFace)
 Returns the vertex (U,V) parameters on a face surface.
 
static double PCurveParameter (const BRepGraph &theGraph, const BRepGraph_VertexId theVertex, const BRepGraph_CoEdgeId theCoEdge)
 Returns the vertex parameter on a coedge's PCurve.
 
static uint32_t NbEdges (const BRepGraph &theGraph, const BRepGraph_VertexId theVertex)
 Returns the number of edges that reference this vertex.
 

Detailed Description

Vertex geometry accessors.

Provides 3D point retrieval (with or without Location applied), tolerance access, and parameter lookup for vertex-on-curve and vertex-on-surface representations.

Member Function Documentation

◆ NbEdges()

static uint32_t BRepGraph_Tool::Vertex::NbEdges ( const BRepGraph & theGraph,
const BRepGraph_VertexId theVertex )
static

Returns the number of edges that reference this vertex.

Parameters
[in]theGraphsource graph
[in]theVertextyped vertex definition identifier
Returns
edge count

◆ Parameter()

static double BRepGraph_Tool::Vertex::Parameter ( const BRepGraph & theGraph,
const BRepGraph_VertexId theVertex,
const BRepGraph_EdgeId theEdge )
static

Returns the vertex parameter on an edge's 3D curve.

Parameters
[in]theGraphsource graph
[in]theVertextyped vertex definition identifier
[in]theEdgetyped edge definition identifier
Returns
curve parameter
Exceptions
Standard_NoSuchObjectif vertex has no PointOnCurve for this edge

◆ Parameters()

static gp_Pnt2d BRepGraph_Tool::Vertex::Parameters ( const BRepGraph & theGraph,
const BRepGraph_VertexId theVertex,
const BRepGraph_FaceId theFace )
static

Returns the vertex (U,V) parameters on a face surface.

Parameters
[in]theGraphsource graph
[in]theVertextyped vertex definition identifier
[in]theFacetyped face definition identifier
Returns
2D point with (U,V) parameters
Exceptions
Standard_NoSuchObjectif vertex has no PointOnSurface for this face

◆ PCurveParameter()

static double BRepGraph_Tool::Vertex::PCurveParameter ( const BRepGraph & theGraph,
const BRepGraph_VertexId theVertex,
const BRepGraph_CoEdgeId theCoEdge )
static

Returns the vertex parameter on a coedge's PCurve.

Parameters
[in]theGraphsource graph
[in]theVertextyped vertex definition identifier
[in]theCoEdgetyped coedge definition identifier
Returns
PCurve parameter
Exceptions
Standard_NoSuchObjectif vertex has no PointOnPCurve for this coedge

◆ Pnt() [1/2]

static gp_Pnt BRepGraph_Tool::Vertex::Pnt ( const BRepGraph & theGraph,
const BRepGraph_VertexId theVertex )
static

Returns the vertex 3D point in definition frame (no Location applied).

Parameters
[in]theGraphsource graph
[in]theVertextyped vertex definition identifier
Returns
3D point in definition frame

◆ Pnt() [2/2]

static gp_Pnt BRepGraph_Tool::Vertex::Pnt ( const BRepGraph & theGraph,
const VertexUsage & theRef )
static

Returns the vertex 3D point with VertexUsage Location applied.

Parameters
[in]theGraphsource graph
[in]theRefvertex incidence reference carrying Location
Returns
transformed 3D point

◆ Tolerance()

static double BRepGraph_Tool::Vertex::Tolerance ( const BRepGraph & theGraph,
const BRepGraph_VertexId theVertex )
static

Returns the vertex tolerance.

Parameters
[in]theGraphsource graph
[in]theVertextyped vertex definition identifier
Returns
tolerance value

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