| 65 | } |
| 66 | template < typename PointType > |
| 67 | double GenericPlane< PointType >::plane_constant() const |
| 68 | { |
| 69 | double plane_constant{ 0.0 }; |
| 70 | for( const auto i : LRange{ 3 } ) |
| 71 | { |
| 72 | plane_constant -= origin().value( i ) * normal().value( i ); |
| 73 | } |
| 74 | return plane_constant; |
| 75 | } |
| 76 | |
| 77 | template < typename PointType > |
| 78 | Point3D GenericPlane< PointType >::point_on_plane() const |
no test coverage detected