| 40 | } |
| 41 | |
| 42 | Primitives::Sphere Primitives::Plane::intersectWithLine( const ConeSegment& line ) const |
| 43 | { |
| 44 | return toPrimitive( line.referencePoint - dot( line.referencePoint - center, normal ) / dot( line.dir, normal ) * line.dir ); |
| 45 | } |
| 46 | |
| 47 | Primitives::Sphere Primitives::ConeSegment::centerPoint() const |
| 48 | { |
no test coverage detected