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

Method SetParametricRange

Common/DataModel/vtkSpline.cxx:39–53  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

37
38//------------------------------------------------------------------------------
39void vtkSpline::SetParametricRange(double tMin, double tMax)
40{
41 if (tMin != this->ParametricRange[0] || tMax != this->ParametricRange[1])
42 {
43 if (tMin >= tMax)
44 {
45 tMax = tMin + 1;
46 }
47
48 this->ParametricRange[0] = tMin;
49 this->ParametricRange[1] = tMax;
50
51 this->Modified();
52 }
53}
54
55//------------------------------------------------------------------------------
56void vtkSpline::GetParametricRange(double tRange[2]) const

Callers 4

SetBrushLineMethod · 0.80
BuildDefaultSCurveMethod · 0.80
InitializeMethod · 0.80
SetParametricRangeFunction · 0.80

Calls 1

ModifiedMethod · 0.45

Tested by

no test coverage detected