Interface for a ray A ray is defined through its origin and a direction.
More...
#include <IRay.hpp>
template<typename R>
const std::remove_cvref_t<R> & ray,
const __impl::RayStub<typename std::remove_cvref_t<R>::numeric_type> & otherRay,
const __impl::PointStub<typename std::remove_cvref_t<R>::numeric_type> & point,
const __impl::LineStub<typename std::remove_cvref_t<R>::numeric_type> & line
){
{ray.direction()} -> IPoint;
{ray.oppositeRay()} -> std::same_as<std::remove_cvref_t<R>>;
{-ray} -> std::same_as<std::remove_cvref_t<R>>;
{ray.isParallel(line)} -> std::same_as<bool>;
{ray.isParallel(otherRay)} -> std::same_as<bool>;
{ray.intersects(line)} -> std::same_as<bool>;
{ray.intersects(otherRay)} -> std::same_as<bool>;
{ray.contains(point)} -> std::same_as<bool>;
{ray.intersection(line)} -> IPointOptional;
{ray.intersection(otherRay)} -> IPointOptional;
{ray.toLine()} -> ILine;
}
Definition GeometryBase.hpp:11
Interface for a point.
Definition IPoint.hpp:92
Interface for a ray A ray is defined through its origin and a direction.
Definition IRay.hpp:69
Interface for a ray A ray is defined through its origin and a direction.
- Template Parameters
-