ProjGeom 1.0.11
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PerspPoint Class Reference

Perspective Point. More...

#include <persp_object.hpp>

Inheritance diagram for PerspPoint:
Inheritance graph
[legend]
Collaboration diagram for PerspPoint:
Collaboration graph
[legend]

Public Member Functions

constexpr PerspPoint (std::array< int64_t, 3 > coord)
 Construct a new Persp Point object.
 
constexpr auto perp () const -> const PerspLine &
 Polar.
 
- Public Member Functions inherited from PgObject< PerspPoint, PerspLine >
constexpr PgObject (std::array< int64_t, 3 > coord)
 Construct a new Pg Object object.
 
constexpr auto aux () const -> PerspLine
 Return the dual object (auxiliary line/point).
 
constexpr auto dot (const PerspLine &other) const -> int64_t
 Dot product with the dual object.
 
constexpr auto incident (const PerspLine &other) const -> bool
 Check incidence with the dual object.
 
constexpr auto meet (const PerspPoint &rhs) const -> PerspLine
 Meet (intersection) with another point to form a line.
 

Additional Inherited Members

- Public Types inherited from PgObject< PerspPoint, PerspLine >
using Dual = PerspLine
 
- Static Public Member Functions inherited from PgObject< PerspPoint, PerspLine >
static constexpr auto parametrize (const int64_t &lambda_val, const PerspPoint &pt_p, const int64_t &mu_val, const PerspPoint &pt_q) -> PerspPoint
 Homogeneous parametrization of point or line.
 
- Public Attributes inherited from PgObject< PerspPoint, PerspLine >
std::array< int64_t, 3 > coord
 

Detailed Description

Perspective Point.

Constructor & Destructor Documentation

◆ PerspPoint()

constexpr PerspPoint::PerspPoint ( std::array< int64_t, 3 >  coord)
inlineexplicitconstexpr

Construct a new Persp Point object.

Parameters
[in]coordHomogeneous coordinate

Member Function Documentation

◆ perp()

constexpr auto PerspPoint::perp ( ) const -> const PerspLine&
constexpr

Polar.

Returns
const PerspLine&

\[ p^\perp = l_\infty \]

Returns
const PerspLine&

The documentation for this class was generated from the following file: