Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
BRepGraph::EditorView::VertexOps Class Reference

Vertex creation operations. More...

#include <BRepGraph_EditorView.hxx>

Public Member Functions

BRepGraph_VertexId Add (const gp_Pnt &thePoint, const double theTolerance)
 Add a vertex definition to the graph.
BRepGraph_MutGuard< BRepGraphInc::VertexDef > Mut (const BRepGraph_VertexId theVertex)
 Return scoped mutable vertex definition guard.
BRepGraph_MutGuard< BRepGraphInc::VertexRef > MutRef (const BRepGraph_VertexRefId theVertexRef)
 Return scoped mutable vertex reference guard.
void SetPoint (const BRepGraph_VertexId theVertex, const gp_Pnt &thePoint)
 Set the 3D point of a vertex definition and fire immediate notification.
void SetPoint (BRepGraph_MutGuard< BRepGraphInc::VertexDef > &theMut, const gp_Pnt &thePoint)
 Set the 3D point of a vertex definition inside a batched mutation scope. Marks the guard dirty so the destructor fires a single notification.
void SetTolerance (const BRepGraph_VertexId theVertex, const double theTolerance)
 Set the tolerance of a vertex definition.
void SetTolerance (BRepGraph_MutGuard< BRepGraphInc::VertexDef > &theMut, const double theTolerance)
 Set the tolerance inside a batched mutation scope.
void SetRefOrientation (const BRepGraph_VertexRefId theVertexRef, const BRepGraphInc::ParityOrientation theOrientation)
 Set the orientation of a vertex reference.
void SetRefOrientation (BRepGraph_MutGuard< BRepGraphInc::VertexRef > &theMut, const BRepGraphInc::ParityOrientation theOrientation)
 Set the orientation inside a batched mutation scope.
void SetRefChildVertexId (const BRepGraph_VertexRefId theVertexRef, const BRepGraph_VertexId theVertex)
 Rewire a vertex reference to a different vertex def (rebinds VertexToEdges if parent is Edge).
void SetRefChildVertexId (BRepGraph_MutGuard< BRepGraphInc::VertexRef > &theMut, const BRepGraph_VertexId theVertex)

Detailed Description

Vertex creation operations.

Member Function Documentation

◆ Add()

BRepGraph_VertexId BRepGraph::EditorView::VertexOps::Add ( const gp_Pnt & thePoint,
const double theTolerance )
nodiscard

Add a vertex definition to the graph.

Parameters
[in]thePoint3D coordinates
[in]theTolerancevertex tolerance
Returns
typed vertex definition identifier

◆ Mut()

BRepGraph_MutGuard< BRepGraphInc::VertexDef > BRepGraph::EditorView::VertexOps::Mut ( const BRepGraph_VertexId theVertex)
nodiscard

Return scoped mutable vertex definition guard.

◆ MutRef()

BRepGraph_MutGuard< BRepGraphInc::VertexRef > BRepGraph::EditorView::VertexOps::MutRef ( const BRepGraph_VertexRefId theVertexRef)
nodiscard

Return scoped mutable vertex reference guard.

◆ SetPoint() [1/2]

void BRepGraph::EditorView::VertexOps::SetPoint ( BRepGraph_MutGuard< BRepGraphInc::VertexDef > & theMut,
const gp_Pnt & thePoint )

Set the 3D point of a vertex definition inside a batched mutation scope. Marks the guard dirty so the destructor fires a single notification.

Parameters
[in]theMutactive mutable vertex guard
[in]thePointnew 3D coordinates

◆ SetPoint() [2/2]

void BRepGraph::EditorView::VertexOps::SetPoint ( const BRepGraph_VertexId theVertex,
const gp_Pnt & thePoint )

Set the 3D point of a vertex definition and fire immediate notification.

Parameters
[in]theVertextyped vertex definition identifier
[in]thePointnew 3D coordinates

◆ SetRefChildVertexId() [1/2]

void BRepGraph::EditorView::VertexOps::SetRefChildVertexId ( BRepGraph_MutGuard< BRepGraphInc::VertexRef > & theMut,
const BRepGraph_VertexId theVertex )

◆ SetRefChildVertexId() [2/2]

void BRepGraph::EditorView::VertexOps::SetRefChildVertexId ( const BRepGraph_VertexRefId theVertexRef,
const BRepGraph_VertexId theVertex )

Rewire a vertex reference to a different vertex def (rebinds VertexToEdges if parent is Edge).

◆ SetRefOrientation() [1/2]

void BRepGraph::EditorView::VertexOps::SetRefOrientation ( BRepGraph_MutGuard< BRepGraphInc::VertexRef > & theMut,
const BRepGraphInc::ParityOrientation theOrientation )

Set the orientation inside a batched mutation scope.

◆ SetRefOrientation() [2/2]

void BRepGraph::EditorView::VertexOps::SetRefOrientation ( const BRepGraph_VertexRefId theVertexRef,
const BRepGraphInc::ParityOrientation theOrientation )

Set the orientation of a vertex reference.

◆ SetTolerance() [1/2]

void BRepGraph::EditorView::VertexOps::SetTolerance ( BRepGraph_MutGuard< BRepGraphInc::VertexDef > & theMut,
const double theTolerance )

Set the tolerance inside a batched mutation scope.

◆ SetTolerance() [2/2]

void BRepGraph::EditorView::VertexOps::SetTolerance ( const BRepGraph_VertexId theVertex,
const double theTolerance )

Set the tolerance of a vertex definition.


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