MCPcopy Create free account
hub / github.com/Kitware/VTK / vtkConvexPointSet

Method vtkConvexPointSet

Common/DataModel/vtkConvexPointSet.cxx:22–36  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Construct the hexahedron with eight points.

Source from the content-addressed store, hash-verified

20//------------------------------------------------------------------------------
21// Construct the hexahedron with eight points.
22vtkConvexPointSet::vtkConvexPointSet()
23{
24 this->Tetra = vtkTetra::New();
25 this->TetraIds = vtkIdList::New();
26 this->TetraPoints = vtkPoints::New();
27 this->TetraScalars = vtkDoubleArray::New();
28 this->TetraScalars->SetNumberOfTuples(4);
29 this->BoundaryTris = vtkCellArray::New();
30 this->BoundaryTris->AllocateEstimate(128, 3);
31 this->Triangle = vtkTriangle::New();
32 this->Triangulator = vtkOrderedTriangulator::New();
33 this->Triangulator->PreSortedOff();
34 this->Triangulator->UseTemplatesOff();
35 this->ParametricCoords = nullptr;
36}
37
38//------------------------------------------------------------------------------
39vtkConvexPointSet::~vtkConvexPointSet()

Calls 3

AllocateEstimateMethod · 0.80
NewFunction · 0.50
SetNumberOfTuplesMethod · 0.45

Tested by

no test coverage detected