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

PG Line. More...

#include <pg_object.hpp>

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

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

PG Line.

Constructor & Destructor Documentation

◆ PgLine()

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

Construct a new Pg Line object.

Parameters
[in]coordHomogeneous coordinate

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