![]() |
Pangolin
Header-only C++20 plane computational geometry library
|
Public declaration of pgl::Ray. More...
#include "shape/orientedline.hpp"#include <array>#include <cassert>#include <cmath>#include <concepts>#include <cstddef>#include <functional>#include <optional>#include <ostream>#include <type_traits>#include <utility>#include <variant>Go to the source code of this file.
Classes | |
| struct | pgl::Ray< PointType_, TLabel > |
| Half-infinite line starting from one source point plus optional ray label. More... | |
Namespaces | |
| namespace | pgl |
Functions | |
| pgl::Ray () -> Ray< Point<>, NoLabel > | |
| template<class PointType> | |
| pgl::Ray (PointType, PointType) -> Ray< PointType, NoLabel > | |
| template<class PointType, class A> | |
| pgl::Ray (PointType, PointType, A) -> Ray< PointType, std::decay_t< A > > | |
| template<class Number> | |
| pgl::Ray (Number, Number, Number, Number) -> Ray< Point< Number >, NoLabel > | |
| template<class PointType, class LabelType, class TranslationNumber, class TranslationLabel> | |
| constexpr auto | pgl::operator- (const Ray< PointType, LabelType > &ray, const Point< TranslationNumber, TranslationLabel > &translation) |
| template<class PointType, class LabelType, class Scalar> requires (!detail::is_point_v<Scalar> && !TransformationConcept<Scalar>) | |
| constexpr auto | pgl::operator* (const Ray< PointType, LabelType > &ray, const Scalar &scalar) |
| template<class Scalar, class PointType, class LabelType> requires (!detail::is_point_v<Scalar> && !TransformationConcept<Scalar>) | |
| constexpr auto | pgl::operator* (const Scalar &scalar, const Ray< PointType, LabelType > &ray) |
| template<class PointType, class LabelType, class Scalar> requires (!detail::is_point_v<Scalar> && !TransformationConcept<Scalar>) | |
| constexpr auto | pgl::operator/ (const Ray< PointType, LabelType > &ray, const Scalar &scalar) |
| template<class PointType, class LabelType> | |
| std::ostream & | pgl::operator<< (std::ostream &stream, const Ray< PointType, LabelType > &ray) |
| Streams a ray as p--q->. | |
Public declaration of pgl::Ray.
Ray represents a half-infinite 1D primitive with a source point and a direction inherited from its defining points.