| 72 | template < typename PointType, index_t dimension > |
| 73 | template < index_t T > |
| 74 | std::enable_if_t< T == 2, double > |
| 75 | GenericLine< PointType, dimension >::line_constant() const |
| 76 | { |
| 77 | double line_constant{ 0.0 }; |
| 78 | const auto perpendicular_direction = perpendicular( direction() ); |
| 79 | for( const auto i : LRange{ dimension } ) |
| 80 | { |
| 81 | line_constant -= |
| 82 | origin().value( i ) * perpendicular_direction.value( i ); |
| 83 | } |
| 84 | return line_constant; |
| 85 | } |
| 86 | |
| 87 | template < index_t dimension > |
| 88 | OwnerInfiniteLine< dimension >::OwnerInfiniteLine( |
nothing calls this directly
no test coverage detected