blob: 2c5215046fca892f96031960900e78121508819f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
// File: BRepBuilderAPI_MakeVertex.cxx
// Created: Fri Jul 23 15:51:55 1993
// Author: Remi LEQUETTE
// <rle@nonox>
#include <BRepBuilderAPI_MakeVertex.ixx>
#include <BRepBuilderAPI.hxx>
#include <BRep_Builder.hxx>
#include <TopoDS.hxx>
//=======================================================================
//function : BRepBuilderAPI_MakeVertex
//purpose :
//=======================================================================
BRepBuilderAPI_MakeVertex::BRepBuilderAPI_MakeVertex(const gp_Pnt& P)
: myMakeVertex(P)
{
if ( myMakeVertex.IsDone()) {
Done();
myShape = myMakeVertex.Shape();
}
}
//=======================================================================
//function : Vertex
//purpose :
//=======================================================================
const TopoDS_Vertex& BRepBuilderAPI_MakeVertex::Vertex()const
{
return myMakeVertex.Vertex();
}
//=======================================================================
//function : operator
//purpose :
//=======================================================================
BRepBuilderAPI_MakeVertex::operator TopoDS_Vertex() const
{
return Vertex();
}
|