| 625 | } |
| 626 | |
| 627 | unsigned int PlaneGeometry::IntersectWithPlane2D(const PlaneGeometry *plane, Point2D &lineFrom, Point2D &lineTo) const |
| 628 | { |
| 629 | Line3D crossline; |
| 630 | if (this->IntersectionLine(plane, crossline) == false) |
| 631 | return 0; |
| 632 | |
| 633 | Point2D point2; |
| 634 | Vector2D direction2; |
| 635 | |
| 636 | this->Map(crossline.GetPoint(), point2); |
| 637 | this->Map(crossline.GetPoint(), crossline.GetDirection(), direction2); |
| 638 | |
| 639 | return Line3D::RectangleLineIntersection( |
| 640 | 0, 0, GetExtentInMM(0), GetExtentInMM(1), point2, direction2, lineFrom, lineTo); |
| 641 | } |
| 642 | |
| 643 | double PlaneGeometry::Angle(const PlaneGeometry *plane) const |
| 644 | { |
nothing calls this directly
no test coverage detected