![]() |
PeriDyno 1.0.0
|
#include <Primitive3D.h>
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< Real > | proximity (const TRay3D< Real > &ray) const |
DYN_FUNC TSegment3D< Real > | proximity (const TSegment3D< Real > &segment) const |
DYN_FUNC TSegment3D< Real > | proximity (const TTriangle3D< Real > &triangle) const |
DYN_FUNC TSegment3D< Real > | proximity (const TRectangle3D< Real > &rectangle) const |
DYN_FUNC TSegment3D< Real > | proximity (const TAlignedBox3D< Real > &box) const |
DYN_FUNC TSegment3D< Real > | proximity (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 |
Definition at line 337 of file Primitive3D.h.
typedef Vector<Real, 2> dyno::TRay3D< Real >::Coord2D |
Definition at line 340 of file Primitive3D.h.
typedef Vector<Real, 3> dyno::TRay3D< Real >::Coord3D |
Definition at line 341 of file Primitive3D.h.
DYN_FUNC dyno::TRay3D< Real >::TRay3D | ( | ) |
DYN_FUNC dyno::TRay3D< Real >::TRay3D | ( | const Coord3D & | pos, |
const Coord3D & | dir ) |
pos | |
||dir|| | = 0 indicates the ray degenerates into a point |
Definition at line 1918 of file Primitive3D.inl.
DYN_FUNC dyno::TRay3D< Real >::TRay3D | ( | const TRay3D< Real > & | ray | ) |
DYN_FUNC Real dyno::TRay3D< Real >::distance | ( | const TSegment3D< Real > & | segment | ) | const |
DYN_FUNC Real dyno::TRay3D< Real >::distance | ( | const TTriangle3D< Real > & | triangle | ) | const |
DYN_FUNC Real dyno::TRay3D< Real >::distanceSquared | ( | const TSegment3D< Real > & | segment | ) | const |
DYN_FUNC Real dyno::TRay3D< Real >::distanceSquared | ( | const TTriangle3D< Real > & | triangle | ) | const |
DYN_FUNC int dyno::TRay3D< Real >::intersect | ( | const TAlignedBox3D< Real > & | abox, |
TSegment3D< Real > & | interSeg ) const |
DYN_FUNC int dyno::TRay3D< Real >::intersect | ( | const TOrientedBox3D< Real > & | obb, |
TSegment3D< Real > & | interSeg ) const |
DYN_FUNC int dyno::TRay3D< Real >::intersect | ( | const TSphere3D< Real > & | sphere, |
TSegment3D< Real > & | interSeg ) const |
DYN_FUNC int dyno::TRay3D< Real >::intersect | ( | const TTriangle3D< Real > & | triangle, |
TPoint3D< Real > & | interPt ) const |
DYN_FUNC bool dyno::TRay3D< Real >::isValid | ( | ) | const |
Definition at line 2347 of file Primitive3D.inl.
DYN_FUNC Real dyno::TRay3D< Real >::parameter | ( | const Coord3D & | pos | ) | const |
DYN_FUNC TSegment3D< Real > dyno::TRay3D< Real >::proximity | ( | const TAlignedBox3D< Real > & | box | ) | const |
DYN_FUNC TSegment3D< Real > dyno::TRay3D< Real >::proximity | ( | const TOrientedBox3D< Real > & | obb | ) | const |
DYN_FUNC TSegment3D< Real > dyno::TRay3D< Real >::proximity | ( | const TRay3D< Real > & | ray | ) | const |
Definition at line 1933 of file Primitive3D.inl.
DYN_FUNC TSegment3D< Real > dyno::TRay3D< Real >::proximity | ( | const TRectangle3D< Real > & | rectangle | ) | const |
DYN_FUNC TSegment3D< Real > dyno::TRay3D< Real >::proximity | ( | const TSegment3D< Real > & | segment | ) | const |
DYN_FUNC TSegment3D< Real > dyno::TRay3D< Real >::proximity | ( | const TTriangle3D< Real > & | triangle | ) | const |
Coord3D dyno::TRay3D< Real >::direction |
Definition at line 393 of file Primitive3D.h.
Coord3D dyno::TRay3D< Real >::origin |
Definition at line 390 of file Primitive3D.h.