| 843 | } |
| 844 | |
| 845 | bool PlaneGeometry::Project(const mitk::Point3D &pt3d_mm, mitk::Point3D &projectedPt3d_mm) const |
| 846 | { |
| 847 | assert(this->IsBoundingBoxNull() == false); |
| 848 | |
| 849 | Point3D pt3d_units; |
| 850 | Superclass::WorldToIndex(pt3d_mm, pt3d_units); |
| 851 | pt3d_units[2] = 0; |
| 852 | projectedPt3d_mm = GetIndexToWorldTransform()->TransformPoint(pt3d_units); |
| 853 | return this->GetBoundingBox()->IsInside(pt3d_units); |
| 854 | } |
| 855 | |
| 856 | bool PlaneGeometry::Project(const mitk::Vector3D &vec3d_mm, mitk::Vector3D &projectedVec3d_mm) const |
| 857 | { |
no test coverage detected