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

#include <Primitive3D.h>

Collaboration diagram for dyno::TRectangle3D< Real >:

Classes

struct  Param
 

Public Types

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

Public Member Functions

DYN_FUNC TRectangle3D ()
 
DYN_FUNC TRectangle3D (const Coord3D &c, const Coord3D &a0, const Coord3D &a1, const Coord2D &ext)
 
DYN_FUNC TRectangle3D (const TRectangle3D< Real > &rectangle)
 
DYN_FUNC TPoint3D< Realvertex (const int i) const
 
DYN_FUNC TSegment3D< Realedge (const int i) const
 
DYN_FUNC Real area () const
 
DYN_FUNC Coord3D normal () const
 
DYN_FUNC bool computeParams (const Coord3D &p, Param &par) const
 
DYN_FUNC bool isValid () const
 

Public Attributes

Coord3D center
 
Coord3D axis [2]
 two orthonormal unit axis
 
Coord2D extent
 

Detailed Description

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

Definition at line 516 of file Primitive3D.h.

Member Typedef Documentation

◆ Coord2D

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

Definition at line 519 of file Primitive3D.h.

◆ Coord3D

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

Definition at line 520 of file Primitive3D.h.

Constructor & Destructor Documentation

◆ TRectangle3D() [1/3]

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

Definition at line 3045 of file Primitive3D.inl.

Here is the caller graph for this function:

◆ TRectangle3D() [2/3]

template<typename Real>
DYN_FUNC dyno::TRectangle3D< Real >::TRectangle3D ( const Coord3D & c,
const Coord3D & a0,
const Coord3D & a1,
const Coord2D & ext )

Definition at line 3054 of file Primitive3D.inl.

◆ TRectangle3D() [3/3]

template<typename Real>
DYN_FUNC dyno::TRectangle3D< Real >::TRectangle3D ( const TRectangle3D< Real > & rectangle)

Definition at line 3063 of file Primitive3D.inl.

Here is the call graph for this function:

Member Function Documentation

◆ area()

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

Definition at line 3101 of file Primitive3D.inl.

◆ computeParams()

template<typename Real>
DYN_FUNC bool dyno::TRectangle3D< Real >::computeParams ( const Coord3D & p,
Param & par ) const

Definition at line 3113 of file Primitive3D.inl.

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

◆ edge()

template<typename Real>
DYN_FUNC TSegment3D< Real > dyno::TRectangle3D< Real >::edge ( const int i) const

Definition at line 3095 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::TRectangle3D< Real >::isValid ( ) const

Definition at line 3131 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 TRectangle3D< Real >::Coord3D dyno::TRectangle3D< Real >::normal ( ) const

Definition at line 3107 of file Primitive3D.inl.

Here is the caller graph for this function:

◆ vertex()

template<typename Real>
DYN_FUNC TPoint3D< Real > dyno::TRectangle3D< Real >::vertex ( const int i) const

Definition at line 3072 of file Primitive3D.inl.

Here is the caller graph for this function:

Member Data Documentation

◆ axis

template<typename Real>
Coord3D dyno::TRectangle3D< Real >::axis[2]

two orthonormal unit axis

Definition at line 548 of file Primitive3D.h.

◆ center

template<typename Real>
Coord3D dyno::TRectangle3D< Real >::center

Definition at line 543 of file Primitive3D.h.

◆ extent

template<typename Real>
Coord2D dyno::TRectangle3D< Real >::extent

Definition at line 549 of file Primitive3D.h.


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