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

Method SetPoint2

Modules/Core/include/mitkLine.h:150–150  ·  view source on GitHub ↗

\brief Set/change end point of the line. * * The start point is preserved, so the direction vector is recomputed. * * \param point2 New end point. */

Source from the content-addressed store, hash-verified

148 * \param point2 New end point.
149 */
150 void SetPoint2(const itk::Point<TCoordRep, NPointDimension> &point2) { m_Direction = point2 - m_Point; }
151
152 /** \brief Get end point of the line.
153 *

Callers 10

GeneratePlaneMethod · 0.80
PlaneMethod · 0.80
SetExtentMethod · 0.80
GeneratePlaneMethod · 0.80
GeneratePlaneMethod · 0.80
Line_TestPointsMethod · 0.80
Line_TestParallelMethod · 0.80
GeneratePlaneMethod · 0.80

Calls

no outgoing calls

Tested by 3

Line_TestPointsMethod · 0.64
Line_TestParallelMethod · 0.64