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

Method InsertNextPoint

Common/DataModel/vtkPath.cxx:85–92  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

83
84//------------------------------------------------------------------------------
85void vtkPath::InsertNextPoint(float pts[3], int code)
86{
87 this->Points->InsertNextPoint(pts);
88
89 vtkIntArray* codes = vtkArrayDownCast<vtkIntArray>(this->PointData->GetScalars());
90 assert("control point code array is int type" && codes);
91 codes->InsertNextValue(code);
92}
93
94//------------------------------------------------------------------------------
95void vtkPath::InsertNextPoint(double pts[3], int code)

Callers 15

DecomposeMethod · 0.45
AddBoxFunction · 0.45
GenerateFaceMethod · 0.45
GenerateFaceMethod · 0.45
ContourMethod · 0.45
CopyCellsMethod · 0.45
InsertNextLinkedPointMethod · 0.45
AddPolysMethod · 0.45

Calls 3

assertFunction · 0.50
GetScalarsMethod · 0.45
InsertNextValueMethod · 0.45