PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::TTriangle3D< Real > Class Template Reference

#include <Primitive3D.h>

Collaboration diagram for dyno::TTriangle3D< Real >:

Classes

struct  Param
 

Public Types

typedef Vector< Real, 2 > Coord2D
 
typedef Vector< Real, 3 > Coord3D
 

Public Member Functions

DYN_FUNC TTriangle3D ()
 
DYN_FUNC TTriangle3D (const Coord3D &p0, const Coord3D &p1, const Coord3D &p2)
 
DYN_FUNC TTriangle3D (const TTriangle3D &triangle)
 
DYN_FUNC Real area () const
 
DYN_FUNC Coord3D normal () const
 
DYN_FUNC bool computeBarycentrics (const Coord3D &p, Param &bary) const
 
DYN_FUNC Coord3D computeLocation (const Param &bary) const
 
DYN_FUNC Real maximumEdgeLength () const
 
DYN_FUNC bool isValid () const
 
DYN_FUNC TAlignedBox3D< Realaabb ()
 
DYN_FUNC Real distanceSquared (const TTriangle3D< Real > &triangle) const
 
DYN_FUNC Real distance (const TTriangle3D< Real > &triangle) const
 

Public Attributes

Coord3D v [3]
 

Detailed Description

template<typename Real>
class dyno::TTriangle3D< Real >

Definition at line 478 of file Primitive3D.h.

Member Typedef Documentation

◆ Coord2D

template<typename Real>
typedef Vector<Real, 2> dyno::TTriangle3D< Real >::Coord2D

Definition at line 481 of file Primitive3D.h.

◆ Coord3D

template<typename Real>
typedef Vector<Real, 3> dyno::TTriangle3D< Real >::Coord3D

Definition at line 482 of file Primitive3D.h.

Constructor & Destructor Documentation

◆ TTriangle3D() [1/3]

template<typename Real>
DYN_FUNC dyno::TTriangle3D< Real >::TTriangle3D ( )

Definition at line 2885 of file Primitive3D.inl.

Here is the caller graph for this function:

◆ TTriangle3D() [2/3]

template<typename Real>
DYN_FUNC dyno::TTriangle3D< Real >::TTriangle3D ( const Coord3D & p0,
const Coord3D & p1,
const Coord3D & p2 )

Definition at line 2893 of file Primitive3D.inl.

◆ TTriangle3D() [3/3]

template<typename Real>
DYN_FUNC dyno::TTriangle3D< Real >::TTriangle3D ( const TTriangle3D< Real > & triangle)

Definition at line 2901 of file Primitive3D.inl.

Here is the call graph for this function:

Member Function Documentation

◆ aabb()

template<typename Real>
DYN_FUNC TAlignedBox3D< Real > dyno::TTriangle3D< Real >::aabb ( )

Definition at line 2981 of file Primitive3D.inl.

Here is the call graph for this function:

◆ area()

template<typename Real>
DYN_FUNC Real dyno::TTriangle3D< Real >::area ( ) const

Definition at line 2909 of file Primitive3D.inl.

Here is the caller graph for this function:

◆ computeBarycentrics()

template<typename Real>
DYN_FUNC bool dyno::TTriangle3D< Real >::computeBarycentrics ( const Coord3D & p,
Param & bary ) const

Definition at line 2927 of file Primitive3D.inl.

Here is the call graph for this function:

◆ computeLocation()

template<typename Real>
DYN_FUNC TTriangle3D< Real >::Coord3D dyno::TTriangle3D< Real >::computeLocation ( const Param & bary) const

Definition at line 2959 of file Primitive3D.inl.

◆ distance()

template<typename Real>
DYN_FUNC Real dyno::TTriangle3D< Real >::distance ( const TTriangle3D< Real > & triangle) const

Definition at line 3039 of file Primitive3D.inl.

Here is the call graph for this function:

◆ distanceSquared()

template<typename Real>
DYN_FUNC Real dyno::TTriangle3D< Real >::distanceSquared ( const TTriangle3D< Real > & triangle) const

Definition at line 2992 of file Primitive3D.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isValid()

template<typename Real>
DYN_FUNC bool dyno::TTriangle3D< Real >::isValid ( ) const

Definition at line 2974 of file Primitive3D.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ maximumEdgeLength()

template<typename Real>
DYN_FUNC Real dyno::TTriangle3D< Real >::maximumEdgeLength ( ) const

Definition at line 2968 of file Primitive3D.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ normal()

template<typename Real>
DYN_FUNC TTriangle3D< Real >::Coord3D dyno::TTriangle3D< Real >::normal ( ) const

Definition at line 2915 of file Primitive3D.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ v

template<typename Real>
Coord3D dyno::TTriangle3D< Real >::v[3]

Definition at line 512 of file Primitive3D.h.


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