![]() |
Open CASCADE Technology Reference Manual 8.0.2
|
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) |
Vertex creation operations.
|
nodiscard |
Add a vertex definition to the graph.
| [in] | thePoint | 3D coordinates |
| [in] | theTolerance | vertex tolerance |
|
nodiscard |
Return scoped mutable vertex definition guard.
|
nodiscard |
Return scoped mutable vertex reference guard.
| 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.
| [in] | theMut | active mutable vertex guard |
| [in] | thePoint | new 3D coordinates |
| 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.
| [in] | theVertex | typed vertex definition identifier |
| [in] | thePoint | new 3D coordinates |
| void BRepGraph::EditorView::VertexOps::SetRefChildVertexId | ( | BRepGraph_MutGuard< BRepGraphInc::VertexRef > & | theMut, |
| const BRepGraph_VertexId | theVertex ) |
| 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).
| void BRepGraph::EditorView::VertexOps::SetRefOrientation | ( | BRepGraph_MutGuard< BRepGraphInc::VertexRef > & | theMut, |
| const BRepGraphInc::ParityOrientation | theOrientation ) |
Set the orientation inside a batched mutation scope.
| void BRepGraph::EditorView::VertexOps::SetRefOrientation | ( | const BRepGraph_VertexRefId | theVertexRef, |
| const BRepGraphInc::ParityOrientation | theOrientation ) |
Set the orientation of a vertex reference.
| void BRepGraph::EditorView::VertexOps::SetTolerance | ( | BRepGraph_MutGuard< BRepGraphInc::VertexDef > & | theMut, |
| const double | theTolerance ) |
Set the tolerance inside a batched mutation scope.
| void BRepGraph::EditorView::VertexOps::SetTolerance | ( | const BRepGraph_VertexId | theVertex, |
| const double | theTolerance ) |
Set the tolerance of a vertex definition.