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

Function ComputeBounds

Common/DataModel/vtkBoundingBox.h:95–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 template <typename TIter>
94 static void ComputeBounds(vtkPoints* pts, TIter ptIds, vtkIdType numPointIds, double bounds[6]);
95 void ComputeBounds(vtkPoints* pts)
96 {
97 double bds[6];
98 vtkBoundingBox::ComputeBounds(pts, bds);
99 this->MinPnt[0] = bds[0];
100 this->MinPnt[1] = bds[2];
101 this->MinPnt[2] = bds[4];
102 this->MaxPnt[0] = bds[1];
103 this->MaxPnt[1] = bds[3];
104 this->MaxPnt[2] = bds[5];
105 }
106 void ComputeBounds(vtkPoints* pts, unsigned char* ptUses)
107 {
108 double bds[6];

Callers 6

operator()Method · 0.70
GetBoundsMethod · 0.70
operator()Method · 0.70
ComputeCellsBoundsMethod · 0.70
operator()Method · 0.70
GetCellBoundsMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected