blob: 3c67340f84f803a3ebfa17ffd9d6493361113b46 (
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
|
// File: TopOpeBRepBuild_BuildVertices.hxx
// Created: Mon Jun 14 11:48:36 1993
// Author: Jean Yves LEBEY
// <jyl@zerox>
#include <TopOpeBRepBuild_Builder.jxx>
#include <TopOpeBRepDS_Point.hxx>
#include <gp_Pnt.hxx>
//=======================================================================
//function : BuildVertices
//purpose :
//=======================================================================
void TopOpeBRepBuild_Builder::BuildVertices(const Handle(TopOpeBRepDS_HDataStructure)& HDS)
{
Standard_Integer iP, n = HDS->NbPoints();
myNewVertices = new TopTools_HArray1OfShape(0, n);
for (iP = 1; iP <= n; iP++) {
const TopOpeBRepDS_Point& aTBSPoint=HDS->Point(iP);
myBuildTool.MakeVertex(ChangeNewVertex(iP), aTBSPoint);
}
}
|