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

Function GetMinimumNumberOfControlPoints

Modules/PlanarFigure/include/mitkPlanarCross.h:79–79  ·  view source on GitHub ↗

\brief Returns 2 in single-line mode, 4 in cross mode. */

Source from the content-addressed store, hash-verified

77
78 /** \brief Returns 2 in single-line mode, 4 in cross mode. */
79 unsigned int GetMinimumNumberOfControlPoints() const override { return this->GetSingleLineMode() ? 2 : 4; }
80 /** \brief Returns 2 in single-line mode, 4 in cross mode. */
81 unsigned int GetMaximumNumberOfControlPoints() const override { return this->GetSingleLineMode() ? 2 : 4; }
82

Callers

nothing calls this directly

Calls 1

GetSingleLineModeMethod · 0.80

Tested by

no test coverage detected