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

#include <Primitive3D.h>

Collaboration diagram for dyno::TSegment3D< Real >:

Public Types

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

Public Member Functions

DYN_FUNC TSegment3D ()
 
DYN_FUNC TSegment3D (const Coord3D &p0, const Coord3D &p1)
 
DYN_FUNC TSegment3D (const TSegment3D< Real > &segment)
 
DYN_FUNC TSegment3D< Realproximity (const TSegment3D< Real > &segment) const
 
DYN_FUNC TSegment3D< Realproximity (const TPlane3D< Real > &plane) const
 
DYN_FUNC TSegment3D< Realproximity (const TTriangle3D< Real > &triangle) const
 
DYN_FUNC TSegment3D< Realproximity (const TRectangle3D< Real > &rectangle) const
 
DYN_FUNC TSegment3D< Realproximity (const TAlignedBox3D< Real > &box) const
 
DYN_FUNC TSegment3D< Realproximity (const TOrientedBox3D< Real > &obb) const
 
DYN_FUNC TSegment3D< Realproximity (const TTet3D< Real > &tet) const
 
DYN_FUNC Real distance (const TSegment3D< Real > &segment) const
 
DYN_FUNC Real distance (const TTriangle3D< Real > &triangle) const
 
DYN_FUNC Real distanceSquared (const TSegment3D< Real > &segment) const
 
DYN_FUNC Real distanceSquared (const TTriangle3D< Real > &triangle) const
 
DYN_FUNC bool intersect (const TPlane3D< Real > &plane, TPoint3D< Real > &interPt) const
 
DYN_FUNC bool intersect (const TTriangle3D< Real > &triangle, TPoint3D< Real > &interPt) const
 
DYN_FUNC int intersect (const TSphere3D< Real > &sphere, TSegment3D< Real > &interSeg) const
 
DYN_FUNC int intersect (const TAlignedBox3D< Real > &abox, TSegment3D< Real > &interSeg) const
 
DYN_FUNC int intersect (const TOrientedBox3D< Real > &obb, TSegment3D< Real > &interSeg) const
 
DYN_FUNC Real length () const
 
DYN_FUNC Real lengthSquared () const
 
DYN_FUNC Real parameter (const Coord3D &pos) const
 
DYN_FUNC Coord3DstartPoint ()
 
DYN_FUNC Coord3DendPoint ()
 
DYN_FUNC Coord3D startPoint () const
 
DYN_FUNC Coord3D endPoint () const
 
DYN_FUNC Coord3D direction () const
 
DYN_FUNC TSegment3D< Realoperator- (void) const
 
DYN_FUNC bool isValid () const
 

Public Attributes

Coord3D v0
 
Coord3D v1
 

Detailed Description

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

Definition at line 397 of file Primitive3D.h.

Member Typedef Documentation

◆ Coord2D

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

Definition at line 400 of file Primitive3D.h.

◆ Coord3D

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

Definition at line 401 of file Primitive3D.h.

Constructor & Destructor Documentation

◆ TSegment3D() [1/3]

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

Definition at line 2353 of file Primitive3D.inl.

Here is the caller graph for this function:

◆ TSegment3D() [2/3]

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

Definition at line 2360 of file Primitive3D.inl.

◆ TSegment3D() [3/3]

template<typename Real>
DYN_FUNC dyno::TSegment3D< Real >::TSegment3D ( const TSegment3D< Real > & segment)

Definition at line 2367 of file Primitive3D.inl.

Here is the call graph for this function:

Member Function Documentation

◆ direction()

template<typename Real>
DYN_FUNC Coord3D dyno::TSegment3D< Real >::direction ( ) const
inline

Definition at line 444 of file Primitive3D.h.

Here is the caller graph for this function:

◆ distance() [1/2]

template<typename Real>
DYN_FUNC Real dyno::TSegment3D< Real >::distance ( const TSegment3D< Real > & segment) const

Definition at line 2607 of file Primitive3D.inl.

Here is the call graph for this function:

◆ distance() [2/2]

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

Definition at line 2613 of file Primitive3D.inl.

Here is the call graph for this function:

◆ distanceSquared() [1/2]

template<typename Real>
DYN_FUNC Real dyno::TSegment3D< Real >::distanceSquared ( const TSegment3D< Real > & segment) const

Definition at line 2619 of file Primitive3D.inl.

Here is the call graph for this function:

◆ distanceSquared() [2/2]

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

Definition at line 2625 of file Primitive3D.inl.

Here is the call graph for this function:

◆ endPoint() [1/2]

template<typename Real>
DYN_FUNC Coord3D & dyno::TSegment3D< Real >::endPoint ( )
inline

Definition at line 439 of file Primitive3D.h.

Here is the caller graph for this function:

◆ endPoint() [2/2]

template<typename Real>
DYN_FUNC Coord3D dyno::TSegment3D< Real >::endPoint ( ) const
inline

Definition at line 442 of file Primitive3D.h.

◆ intersect() [1/5]

template<typename Real>
DYN_FUNC int dyno::TSegment3D< Real >::intersect ( const TAlignedBox3D< Real > & abox,
TSegment3D< Real > & interSeg ) const

Definition at line 2756 of file Primitive3D.inl.

Here is the call graph for this function:

◆ intersect() [2/5]

template<typename Real>
DYN_FUNC int dyno::TSegment3D< Real >::intersect ( const TOrientedBox3D< Real > & obb,
TSegment3D< Real > & interSeg ) const

Definition at line 2795 of file Primitive3D.inl.

Here is the call graph for this function:

◆ intersect() [3/5]

template<typename Real>
DYN_FUNC bool dyno::TSegment3D< Real >::intersect ( const TPlane3D< Real > & plane,
TPoint3D< Real > & interPt ) const

Definition at line 2631 of file Primitive3D.inl.

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

◆ intersect() [4/5]

template<typename Real>
DYN_FUNC int dyno::TSegment3D< Real >::intersect ( const TSphere3D< Real > & sphere,
TSegment3D< Real > & interSeg ) const

Definition at line 2709 of file Primitive3D.inl.

Here is the call graph for this function:

◆ intersect() [5/5]

template<typename Real>
DYN_FUNC bool dyno::TSegment3D< Real >::intersect ( const TTriangle3D< Real > & triangle,
TPoint3D< Real > & interPt ) const

Definition at line 2653 of file Primitive3D.inl.

Here is the call graph for this function:

◆ isValid()

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

Definition at line 2852 of file Primitive3D.inl.

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

◆ length()

template<typename Real>
DYN_FUNC Real dyno::TSegment3D< Real >::length ( ) const

Definition at line 2820 of file Primitive3D.inl.

Here is the caller graph for this function:

◆ lengthSquared()

template<typename Real>
DYN_FUNC Real dyno::TSegment3D< Real >::lengthSquared ( ) const

Definition at line 2826 of file Primitive3D.inl.

Here is the caller graph for this function:

◆ operator-()

template<typename Real>
DYN_FUNC TSegment3D< Real > dyno::TSegment3D< Real >::operator- ( void ) const
inline

Definition at line 2842 of file Primitive3D.inl.

Here is the call graph for this function:

◆ parameter()

template<typename Real>
DYN_FUNC Real dyno::TSegment3D< Real >::parameter ( const Coord3D & pos) const

Definition at line 2832 of file Primitive3D.inl.

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

◆ proximity() [1/7]

template<typename Real>
DYN_FUNC TSegment3D< Real > dyno::TSegment3D< Real >::proximity ( const TAlignedBox3D< Real > & box) const

Definition at line 2559 of file Primitive3D.inl.

Here is the call graph for this function:

◆ proximity() [2/7]

template<typename Real>
DYN_FUNC TSegment3D< Real > dyno::TSegment3D< Real >::proximity ( const TOrientedBox3D< Real > & obb) const

Definition at line 2576 of file Primitive3D.inl.

Here is the call graph for this function:

◆ proximity() [3/7]

template<typename Real>
DYN_FUNC TSegment3D< Real > dyno::TSegment3D< Real >::proximity ( const TPlane3D< Real > & plane) const

Definition at line 2459 of file Primitive3D.inl.

Here is the call graph for this function:

◆ proximity() [4/7]

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

Definition at line 2490 of file Primitive3D.inl.

Here is the call graph for this function:

◆ proximity() [5/7]

template<typename Real>
DYN_FUNC TSegment3D< Real > dyno::TSegment3D< Real >::proximity ( const TSegment3D< Real > & segment) const

Definition at line 2374 of file Primitive3D.inl.

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

◆ proximity() [6/7]

template<typename Real>
DYN_FUNC TSegment3D< Real > dyno::TSegment3D< Real >::proximity ( const TTet3D< Real > & tet) const

Definition at line 2593 of file Primitive3D.inl.

Here is the call graph for this function:

◆ proximity() [7/7]

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

Definition at line 2473 of file Primitive3D.inl.

Here is the call graph for this function:

◆ startPoint() [1/2]

template<typename Real>
DYN_FUNC Coord3D & dyno::TSegment3D< Real >::startPoint ( )
inline

Definition at line 438 of file Primitive3D.h.

Here is the caller graph for this function:

◆ startPoint() [2/2]

template<typename Real>
DYN_FUNC Coord3D dyno::TSegment3D< Real >::startPoint ( ) const
inline

Definition at line 441 of file Primitive3D.h.

Member Data Documentation

◆ v0

template<typename Real>
Coord3D dyno::TSegment3D< Real >::v0

Definition at line 450 of file Primitive3D.h.

◆ v1

template<typename Real>
Coord3D dyno::TSegment3D< Real >::v1

Definition at line 451 of file Primitive3D.h.


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