wfmath 1.0.3
A math library for the Worldforge system.
WFMath::ColinearVectors< dim > Struct Template Reference

An error thrown by certain functions when passed parallel vectors. More...

#include <error.h>

Inheritance diagram for WFMath::ColinearVectors< dim >:
Collaboration diagram for WFMath::ColinearVectors< dim >:

Public Member Functions

 ColinearVectors (const Vector< dim > &v1_in, const Vector< dim > &v2_in)
 
 ColinearVectors (const ColinearVectors &rhs) noexcept
 
const char * what () const noexcept override
 

Public Attributes

Vector< dim > v1
 
Vector< dim > v2
 

Detailed Description

template<int dim>
struct WFMath::ColinearVectors< dim >

An error thrown by certain functions when passed parallel vectors.

Definition at line 37 of file error.h.

Constructor & Destructor Documentation

◆ ColinearVectors() [1/2]

template<int dim>
WFMath::ColinearVectors< dim >::ColinearVectors ( const Vector< dim > &  v1_in,
const Vector< dim > &  v2_in 
)
inline

Definition at line 38 of file error.h.

◆ ColinearVectors() [2/2]

template<int dim>
WFMath::ColinearVectors< dim >::ColinearVectors ( const ColinearVectors< dim > &  rhs)
inlinenoexcept

Definition at line 41 of file error.h.

Member Function Documentation

◆ what()

template<int dim>
const char * WFMath::ColinearVectors< dim >::what ( ) const
inlineoverridenoexcept

Definition at line 48 of file error.h.

Member Data Documentation

◆ v1

template<int dim>
Vector<dim> WFMath::ColinearVectors< dim >::v1

Definition at line 46 of file error.h.

◆ v2

template<int dim>
Vector<dim> WFMath::ColinearVectors< dim >::v2

Definition at line 46 of file error.h.


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