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

Perspective Line. More...

#include <persp_object.hpp>

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

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Perspective Line.

Constructor & Destructor Documentation

◆ PerspLine()

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

Construct a new Persp Line object.

Parameters
[in]coordHomogeneous coordinate

Member Function Documentation

◆ perp()

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

Pole.

Returns
PerspPoint

\[ l^\perp = \operatorname{parametrize}(l \cdot I_{\mathrm{re}},\; I_{\mathrm{re}},\; l \cdot I_{\mathrm{im}},\; I_{\mathrm{im}}) \]

Returns
PerspPoint

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