MCPcopy Create free account
hub / github.com/MITK/MITK / GetNumberOfFeatures

Method GetNumberOfFeatures

Modules/PlanarFigure/src/DataManagement/mitkPlanarCross.cpp:110–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110unsigned int mitk::PlanarCross::GetNumberOfFeatures() const
111{
112 if (this->GetSingleLineMode() || (this->GetNumberOfControlPoints() < 4))
113 {
114 return 1;
115 }
116 else
117 {
118 return 2;
119 }
120}
121
122mitk::Point2D mitk::PlanarCross::ApplyControlPointConstraints(unsigned int index, const Point2D &point)
123{

Calls 2

GetSingleLineModeMethod · 0.95