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

PG Point. More...

#include <pg_object.hpp>

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

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

PG Point.

Constructor & Destructor Documentation

◆ PgPoint()

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

Construct a new Pg Point object.

Parameters
[in]coordHomogeneous coordinate

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