Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
BRepGraph_Tool::Vertex Class Reference

Vertex geometry accessors. More...

#include <BRepGraph_Tool.hxx>

Static Public Member Functions

static VertexUsage Usage (const BRepGraph &theGraph, const BRepGraph_VertexRefId theVertexRef)
 Resolves a vertex reference id to a lightweight usage value.
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 gp_Pnt Pnt (const BRepGraph &theGraph, const BRepGraph_VertexRefId theVertexRef)
 Returns the vertex 3D point with vertex reference location applied.
static double Tolerance (const BRepGraph &theGraph, const BRepGraph_VertexId theVertex)
 Returns the vertex tolerance.
static double Tolerance (const BRepGraph &theGraph, const BRepGraph_VertexRefId theVertexRef)
 Returns the vertex tolerance by vertex reference identifier.
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) and tolerance access.

Member Function Documentation

◆ NbEdges()

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

Returns the number of edges that reference this vertex.

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

◆ Pnt() [1/3]

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

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/3]

gp_Pnt BRepGraph_Tool::Vertex::Pnt ( const BRepGraph & theGraph,
const BRepGraph_VertexRefId theVertexRef )
staticnodiscard

Returns the vertex 3D point with vertex reference location applied.

Parameters
[in]theGraphsource graph
[in]theVertexReftyped vertex reference identifier
Returns
transformed 3D point

◆ Pnt() [3/3]

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

Returns the vertex 3D point with VertexUsage Location applied.

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

◆ Tolerance() [1/2]

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

Returns the vertex tolerance.

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

◆ Tolerance() [2/2]

double BRepGraph_Tool::Vertex::Tolerance ( const BRepGraph & theGraph,
const BRepGraph_VertexRefId theVertexRef )
staticnodiscard

Returns the vertex tolerance by vertex reference identifier.

Parameters
[in]theGraphsource graph
[in]theVertexReftyped vertex reference identifier
Returns
tolerance value

◆ Usage()

VertexUsage BRepGraph_Tool::Vertex::Usage ( const BRepGraph & theGraph,
const BRepGraph_VertexRefId theVertexRef )
staticnodiscard

Resolves a vertex reference id to a lightweight usage value.

Parameters
[in]theGraphsource graph
[in]theVertexReftyped vertex reference identifier
Returns
vertex usage, or invalid usage if the reference is invalid or removed

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