RINGMesh  Version 5.0.0
A programming library for geological model meshes
RINGMesh::Geometry::Line< DIMENSION > Struct Template Reference

#include <geometry.h>

Public Member Functions

 Line ()=default
 
 Line (const vecn< DIMENSION > &direction, vecn< DIMENSION > origin)
 
 Line (Segment< DIMENSION > segment)
 

Public Attributes

vecn< DIMENSION > origin {}
 
vecn< DIMENSION > direction {}
 

Detailed Description

template<index_t DIMENSION>
struct RINGMesh::Geometry::Line< DIMENSION >

Definition at line 126 of file geometry.h.

Constructor & Destructor Documentation

◆ Line() [1/3]

template<index_t DIMENSION>
RINGMesh::Geometry::Line< DIMENSION >::Line ( )
default

◆ Line() [2/3]

template<index_t DIMENSION>
RINGMesh::Geometry::Line< DIMENSION >::Line ( const vecn< DIMENSION > &  direction,
vecn< DIMENSION >  origin 
)
inline

Definition at line 129 of file geometry.h.

◆ Line() [3/3]

template<index_t DIMENSION>
RINGMesh::Geometry::Line< DIMENSION >::Line ( Segment< DIMENSION >  segment)
inlineexplicit

Definition at line 134 of file geometry.h.

Member Data Documentation

◆ direction

template<index_t DIMENSION>
vecn< DIMENSION > RINGMesh::Geometry::Line< DIMENSION >::direction {}

Definition at line 139 of file geometry.h.

◆ origin

template<index_t DIMENSION>
vecn< DIMENSION > RINGMesh::Geometry::Line< DIMENSION >::origin {}

Definition at line 138 of file geometry.h.


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