Open CASCADE Technology 7.8.2.dev
BRepBuilderAPI_MakeVertex Class Reference

Describes functions to build BRepBuilder vertices directly from 3D geometric points. A vertex built using a MakeVertex object is only composed of a 3D point and a default precision value (Precision::Confusion()). Later on, 2D representations can be added, for example, when inserting a vertex in an edge. A MakeVertex object provides a framework for: More...

#include <BRepBuilderAPI_MakeVertex.hxx>

Inheritance diagram for BRepBuilderAPI_MakeVertex:

Public Member Functions

 BRepBuilderAPI_MakeVertex (const gp_Pnt &P)
 Constructs a vertex from point P. Example create a vertex from a 3D point. gp_Pnt P(0,0,10); TopoDS_Vertex V = BRepBuilderAPI_MakeVertex(P);.
 
const TopoDS_VertexVertex ()
 Returns the constructed vertex.
 
 operator TopoDS_Vertex ()
 
- Public Member Functions inherited from BRepBuilderAPI_MakeShape
virtual void Build (const Message_ProgressRange &theRange=Message_ProgressRange())
 This is called by Shape(). It does nothing but may be redefined.
 
virtual const TopoDS_ShapeShape ()
 Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
 
 operator TopoDS_Shape ()
 
virtual const TopTools_ListOfShapeGenerated (const TopoDS_Shape &S)
 Returns the list of shapes generated from the shape .
 
virtual const TopTools_ListOfShapeModified (const TopoDS_Shape &S)
 Returns the list of shapes modified from the shape .
 
virtual Standard_Boolean IsDeleted (const TopoDS_Shape &S)
 Returns true if the shape S has been deleted.
 
- Public Member Functions inherited from BRepBuilderAPI_Command
virtual ~BRepBuilderAPI_Command ()
 
virtual Standard_Boolean IsDone () const
 
void Check () const
 Raises NotDone if done is false.
 

Additional Inherited Members

- Protected Member Functions inherited from BRepBuilderAPI_MakeShape
 BRepBuilderAPI_MakeShape ()
 
- Protected Member Functions inherited from BRepBuilderAPI_Command
 BRepBuilderAPI_Command ()
 Set done to False.
 
void Done ()
 Set done to true.
 
void NotDone ()
 Set done to false.
 
- Protected Attributes inherited from BRepBuilderAPI_MakeShape
TopoDS_Shape myShape
 
TopTools_ListOfShape myGenerated
 

Detailed Description

Describes functions to build BRepBuilder vertices directly from 3D geometric points. A vertex built using a MakeVertex object is only composed of a 3D point and a default precision value (Precision::Confusion()). Later on, 2D representations can be added, for example, when inserting a vertex in an edge. A MakeVertex object provides a framework for:

  • defining and implementing the construction of a vertex, and
  • consulting the result.

Constructor & Destructor Documentation

◆ BRepBuilderAPI_MakeVertex()

BRepBuilderAPI_MakeVertex::BRepBuilderAPI_MakeVertex ( const gp_Pnt & P)

Constructs a vertex from point P. Example create a vertex from a 3D point. gp_Pnt P(0,0,10); TopoDS_Vertex V = BRepBuilderAPI_MakeVertex(P);.

Member Function Documentation

◆ operator TopoDS_Vertex()

BRepBuilderAPI_MakeVertex::operator TopoDS_Vertex ( )

◆ Vertex()

const TopoDS_Vertex & BRepBuilderAPI_MakeVertex::Vertex ( )

Returns the constructed vertex.


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