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

Method IsOnPlane

Modules/Core/src/DataManagement/mitkPlaneGeometry.cpp:699–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

697 }
698
699 bool PlaneGeometry::IsOnPlane(const Point3D &point) const { return Distance(point) < eps; }
700 bool PlaneGeometry::IsOnPlane(const Line3D &line) const
701 {
702 return ((Distance(line.GetPoint()) < eps) && (Distance(line.GetPoint2()) < eps));

Callers 6

AddToCPIMapMethod · 0.80
RemoveContourMethod · 0.80
GetAffectedLabelsMethod · 0.80
TestPlaneComparisonMethod · 0.80

Calls 4

DistanceFunction · 0.85
GetPoint2Method · 0.80
GetPointMethod · 0.45
GetOriginMethod · 0.45

Tested by 1

TestPlaneComparisonMethod · 0.64