|
Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
|
Implementation of a ray A ray consist of an origin and the direction of the ray. More...
#include <Ray.hpp>
Public Types | |
| using | numeric_type = T |
Public Member Functions | |
| constexpr | Ray (Vec2D< T > origin, Vec2D< T > direction) |
| template<fishnet::math::Number U, typename = std::enable_if_t<!std::is_same_v<U,T> && std::is_same_v<T,fishnet::math::DEFAULT_NUMERIC>>> | |
| constexpr | Ray (Vec2D< T > origin, Vec2D< U > direction) |
| template<fishnet::math::Number U, typename = std::enable_if_t<!std::is_same_v<U,T> && std::is_same_v<T,fishnet::math::DEFAULT_NUMERIC>>> | |
| constexpr | Ray (Vec2D< U > origin, Vec2D< T > direction) |
| constexpr Vec2D< T > | direction () const noexcept |
| constexpr Vec2D< T > | origin () const noexcept |
| constexpr Line< T > | toLine () const noexcept |
| constexpr Ray< T > | oppositeRay () const noexcept |
| constexpr Ray< T > | operator- () const |
| constexpr bool | isParallel (LinearGeometry auto const &other) const noexcept |
| constexpr bool | intersects (LinearGeometry auto const &other) const noexcept |
| constexpr bool | contains (IPoint auto const &point) const noexcept |
| template<fishnet::math::Number U> | |
| constexpr bool | operator== (const Ray< U > &other) const noexcept |
| constexpr std::optional< Vec2DReal > | intersection (LinearGeometry auto const &other) const noexcept |
| constexpr size_t | hash () const noexcept |
| constexpr std::string | toString () const |
Static Public Member Functions | |
| static constexpr Ray< T > | up (Vec2D< T > origin) noexcept |
| static constexpr Ray< T > | down (Vec2D< T > origin) noexcept |
| static constexpr Ray< T > | right (Vec2D< T > origin) noexcept |
| static constexpr Ray< T > | left (Vec2D< T > origin) noexcept |
Static Public Attributes | |
| static constexpr GeometryType | type = GeometryType::RAY |
Implementation of a ray A ray consist of an origin and the direction of the ray.
| T | numeric type used for computations |
| using fishnet::geometry::Ray< T >::numeric_type = T |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlinestaticconstexprnoexcept |
|
staticconstexpr |