![]() |
Pangolin
Header-only C++20 plane computational geometry library
|
Public declaration of pgl::OrientedLine. More...
#include "shape/line.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::OrientedLine< PointType_, TLabel > |
| Directed infinite line with left/right side semantics plus optional line label. More... | |
Namespaces | |
| namespace | pgl |
Functions | |
| pgl::OrientedLine () -> OrientedLine< Point<>, NoLabel > | |
| template<class PointType> | |
| pgl::OrientedLine (PointType, PointType) -> OrientedLine< PointType, NoLabel > | |
| template<class PointType, class A> | |
| pgl::OrientedLine (PointType, PointType, A) -> OrientedLine< PointType, std::decay_t< A > > | |
| template<class Number> | |
| pgl::OrientedLine (Number, Number, Number, Number) -> OrientedLine< Point< Number >, NoLabel > | |
| template<class PointType, class LabelType, class TranslationNumber, class TranslationLabel> | |
| constexpr auto | pgl::operator- (const OrientedLine< PointType, LabelType > &line, 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 OrientedLine< PointType, LabelType > &line, 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 OrientedLine< PointType, LabelType > &line) |
| template<class PointType, class LabelType, class Scalar> requires (!detail::is_point_v<Scalar> && !TransformationConcept<Scalar>) | |
| constexpr auto | pgl::operator/ (const OrientedLine< PointType, LabelType > &line, const Scalar &scalar) |
| template<class PointType, class LabelType> | |
| std::ostream & | pgl::operator<< (std::ostream &stream, const OrientedLine< PointType, LabelType > &line) |
| Streams an oriented line as -p--q->. | |
Public declaration of pgl::OrientedLine.
Oriented lines add left/right side semantics, which feed halfplanes, orientation tests, and directed geometric constructions.