OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
olb::Vertex< T, D > Struct Template Reference

#include <stlReader.h>

+ Collaboration diagram for olb::Vertex< T, D >:

Public Member Functions

 Vertex ()
 Constructor constructs.
 
 Vertex (Vector< T, D > coords_)
 
Vertex< T, D > & operator= (Vertex< T, D > const &rhs)
 Operator= equals.
 
 Vertex (Vertex< T, D > const &rhs)
 CopyConstructor copies.
 
int getDim () const
 Get dimension.
 

Public Attributes

Vector< T, D > coords
 Point coordinates in SI units.
 

Detailed Description

template<typename T, unsigned D>
struct olb::Vertex< T, D >

Definition at line 54 of file stlReader.h.

Constructor & Destructor Documentation

◆ Vertex() [1/3]

template<typename T , unsigned D>
olb::Vertex< T, D >::Vertex ( )
inline

Constructor constructs.

Definition at line 56 of file stlReader.h.

56: coords() {};
Vector< T, D > coords
Point coordinates in SI units.
Definition stlReader.h:68

◆ Vertex() [2/3]

template<typename T , unsigned D>
olb::Vertex< T, D >::Vertex ( Vector< T, D > coords_)
inline

Definition at line 57 of file stlReader.h.

57: coords(coords_) {};

◆ Vertex() [3/3]

template<typename T , unsigned D>
olb::Vertex< T, D >::Vertex ( Vertex< T, D > const & rhs)
inline

CopyConstructor copies.

Definition at line 65 of file stlReader.h.

65:coords(rhs.coords) {};

Member Function Documentation

◆ getDim()

template<typename T , unsigned D>
int olb::Vertex< T, D >::getDim ( ) const
inline

Get dimension.

Definition at line 71 of file stlReader.h.

72 {
73 return D;
74 }

◆ operator=()

template<typename T , unsigned D>
Vertex< T, D > & olb::Vertex< T, D >::operator= ( Vertex< T, D > const & rhs)
inline

Operator= equals.

Definition at line 59 of file stlReader.h.

60 {
61 coords = rhs.coords;
62 return *this;
63 };

References olb::Vertex< T, D >::coords.

Member Data Documentation

◆ coords

template<typename T , unsigned D>
Vector<T,D> olb::Vertex< T, D >::coords

Point coordinates in SI units.

Definition at line 68 of file stlReader.h.


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