ProjGeom 1.0.11
Loading...
Searching...
No Matches
Public Member Functions | List of all members
fun::involution_generic< Point, Line > Class Template Reference

Generic involution class for projective planes. More...

#include <proj_plane.hpp>

Public Member Functions

constexpr involution_generic (Line ln_m, Point o)
 Construct a new generic involution object.
 
constexpr auto operator() (const Point &pt_p) const -> Point
 Apply the involution to a point.
 

Detailed Description

template<typename Point, typename Line>
requires ProjectivePlaneGeneric<Point, Line>
class fun::involution_generic< Point, Line >

Generic involution class for projective planes.

An involution is a transformation that is its own inverse.

Template Parameters
PointThe point type
LineThe line type

Constructor & Destructor Documentation

◆ involution_generic()

template<typename Point , typename Line >
constexpr fun::involution_generic< Point, Line >::involution_generic ( Line  ln_m,
Point  o 
)
inlineconstexpr

Construct a new generic involution object.

Parameters
[in]ln_mThe mirror line
[in]oThe center point

Member Function Documentation

◆ operator()()

template<typename Point , typename Line >
constexpr auto fun::involution_generic< Point, Line >::operator() ( const Point &  pt_p) const -> Point
inlineconstexpr

Apply the involution to a point.

Returns the image of pt_p under the involution.

Parameters
[in]pt_pThe point to transform
Returns
Point The transformed point

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