MEPP2 Project
Functions
FEVV::GeometryTraits Namespace Reference

Functions

template<typename GeometryTraits >
GeometryTraits::Vector add_v (const typename GeometryTraits::Vector &v1, const typename GeometryTraits::Vector &v2)
 Returns the sum of vectors V1 and V2. More...
 
template<typename GeometryTraits >
GeometryTraits::Point add_pv (const typename GeometryTraits::Point &p, const typename GeometryTraits::Vector &v)
 Returns the sum of point P and vector V. More...
 
template<typename GeometryTraits >
GeometryTraits::Point sub_pv (const typename GeometryTraits::Point &p, const typename GeometryTraits::Vector &v)
 Returns point P minus vector V. More...
 
template<typename GeometryTraits >
GeometryTraits::Vector sub_p (const typename GeometryTraits::Point &p1, const typename GeometryTraits::Point &p2)
 Returns point P1 minus point P2. More...
 
template<typename GeometryTraits >
GeometryTraits::Vector sub_v (const typename GeometryTraits::Vector &v1, const typename GeometryTraits::Vector &v2)
 Returns vector V1 minus vector V2. More...
 
template<typename GeometryTraits >
GeometryTraits::Scalar dot_product (const typename GeometryTraits::Vector &v1, const typename GeometryTraits::Vector &v2)
 Returns the dot product of vectors V1 and V2. More...
 

Function Documentation

◆ add_pv()

template<typename GeometryTraits >
GeometryTraits::Point FEVV::GeometryTraits::add_pv ( const typename GeometryTraits::Point p,
const typename GeometryTraits::Vector v 
)

Returns the sum of point P and vector V.

Definition at line 36 of file Geometry_traits_operators.h.

Here is the caller graph for this function:

◆ add_v()

template<typename GeometryTraits >
GeometryTraits::Vector FEVV::GeometryTraits::add_v ( const typename GeometryTraits::Vector v1,
const typename GeometryTraits::Vector v2 
)

Returns the sum of vectors V1 and V2.

Definition at line 23 of file Geometry_traits_operators.h.

Here is the caller graph for this function:

◆ dot_product()

template<typename GeometryTraits >
GeometryTraits::Scalar FEVV::GeometryTraits::dot_product ( const typename GeometryTraits::Vector v1,
const typename GeometryTraits::Vector v2 
)

Returns the dot product of vectors V1 and V2.

Definition at line 88 of file Geometry_traits_operators.h.

Here is the caller graph for this function:

◆ sub_p()

template<typename GeometryTraits >
GeometryTraits::Vector FEVV::GeometryTraits::sub_p ( const typename GeometryTraits::Point p1,
const typename GeometryTraits::Point p2 
)

Returns point P1 minus point P2.

Definition at line 62 of file Geometry_traits_operators.h.

Here is the caller graph for this function:

◆ sub_pv()

template<typename GeometryTraits >
GeometryTraits::Point FEVV::GeometryTraits::sub_pv ( const typename GeometryTraits::Point p,
const typename GeometryTraits::Vector v 
)

Returns point P minus vector V.

Definition at line 49 of file Geometry_traits_operators.h.

Here is the caller graph for this function:

◆ sub_v()

template<typename GeometryTraits >
GeometryTraits::Vector FEVV::GeometryTraits::sub_v ( const typename GeometryTraits::Vector v1,
const typename GeometryTraits::Vector v2 
)

Returns vector V1 minus vector V2.

Definition at line 75 of file Geometry_traits_operators.h.