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

#include <Primitive3D.h>

Collaboration diagram for dyno::TRay3D< Real >:

Classes

struct  Param
 

Public Types

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

Public Member Functions

DYN_FUNC TRay3D ()
 
DYN_FUNC TRay3D (const Coord3D &pos, const Coord3D &dir)
 
DYN_FUNC TRay3D (const TRay3D< Real > &ray)
 
DYN_FUNC TSegment3D< Realproximity (const TRay3D< Real > &ray) const
 
DYN_FUNC TSegment3D< Realproximity (const TSegment3D< Real > &segment) 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 Real distance (const TPoint3D< Real > &pt) const
 
DYN_FUNC Real distance (const TSegment3D< Real > &segment) const
 
DYN_FUNC Real distance (const TTriangle3D< Real > &triangle) const
 
DYN_FUNC Real distanceSquared (const TPoint3D< Real > &pt) const
 
DYN_FUNC Real distanceSquared (const TSegment3D< Real > &segment) const
 
DYN_FUNC Real distanceSquared (const TTriangle3D< Real > &triangle) const
 
DYN_FUNC int intersect (const TPlane3D< Real > &plane, TPoint3D< Real > &interPt) const
 
DYN_FUNC int 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 parameter (const Coord3D &pos) const
 
DYN_FUNC bool isValid () const
 

Public Attributes

Coord3D origin
 
Coord3D direction
 

Detailed Description

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

Definition at line 337 of file Primitive3D.h.

Member Typedef Documentation

◆ Coord2D

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

Definition at line 340 of file Primitive3D.h.

◆ Coord3D

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

Definition at line 341 of file Primitive3D.h.

Constructor & Destructor Documentation

◆ TRay3D() [1/3]

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

Definition at line 1911 of file Primitive3D.inl.

Here is the caller graph for this function:

◆ TRay3D() [2/3]

template<typename Real>
DYN_FUNC dyno::TRay3D< Real >::TRay3D ( const Coord3D & pos,
const Coord3D & dir )
Parameters
pos
||dir||= 0 indicates the ray degenerates into a point
Returns
DYN_FUNC

Definition at line 1918 of file Primitive3D.inl.

◆ TRay3D() [3/3]

template<typename Real>
DYN_FUNC dyno::TRay3D< Real >::TRay3D ( const TRay3D< Real > & ray)

Definition at line 1926 of file Primitive3D.inl.

Here is the call graph for this function:

Member Function Documentation

◆ distance() [1/3]

template<typename Real>
DYN_FUNC Real dyno::TRay3D< Real >::distance ( const TPoint3D< Real > & pt) const

Definition at line 2118 of file Primitive3D.inl.

Here is the call graph for this function:

◆ distance() [2/3]

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

Definition at line 2124 of file Primitive3D.inl.

Here is the call graph for this function:

◆ distance() [3/3]

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

Definition at line 2130 of file Primitive3D.inl.

Here is the call graph for this function:

◆ distanceSquared() [1/3]

template<typename Real>
DYN_FUNC Real dyno::TRay3D< Real >::distanceSquared ( const TPoint3D< Real > & pt) const

Definition at line 2136 of file Primitive3D.inl.

Here is the call graph for this function:

◆ distanceSquared() [2/3]

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

Definition at line 2142 of file Primitive3D.inl.

Here is the call graph for this function:

◆ distanceSquared() [3/3]

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

Definition at line 2148 of file Primitive3D.inl.

Here is the call graph for this function:

◆ intersect() [1/5]

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

Definition at line 2275 of file Primitive3D.inl.

Here is the call graph for this function:

◆ intersect() [2/5]

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

Definition at line 2307 of file Primitive3D.inl.

Here is the call graph for this function:

◆ intersect() [3/5]

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

Definition at line 2154 of file Primitive3D.inl.

Here is the call graph for this function:

◆ intersect() [4/5]

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

Definition at line 2231 of file Primitive3D.inl.

Here is the call graph for this function:

◆ intersect() [5/5]

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

Definition at line 2176 of file Primitive3D.inl.

Here is the call graph for this function:

◆ isValid()

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

Definition at line 2347 of file Primitive3D.inl.

◆ parameter()

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

Definition at line 2338 of file Primitive3D.inl.

Here is the caller graph for this function:

◆ proximity() [1/6]

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

Definition at line 2086 of file Primitive3D.inl.

Here is the call graph for this function:

◆ proximity() [2/6]

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

Definition at line 2102 of file Primitive3D.inl.

Here is the call graph for this function:

◆ proximity() [3/6]

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

Definition at line 1933 of file Primitive3D.inl.

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

◆ proximity() [4/6]

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

Definition at line 2070 of file Primitive3D.inl.

Here is the call graph for this function:

◆ proximity() [5/6]

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

Definition at line 1984 of file Primitive3D.inl.

Here is the call graph for this function:

◆ proximity() [6/6]

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

Definition at line 2054 of file Primitive3D.inl.

Here is the call graph for this function:

Member Data Documentation

◆ direction

template<typename Real>
Coord3D dyno::TRay3D< Real >::direction

Definition at line 393 of file Primitive3D.h.

◆ origin

template<typename Real>
Coord3D dyno::TRay3D< Real >::origin

Definition at line 390 of file Primitive3D.h.


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