![]() |
PeriDyno 1.0.0
|
#include <Primitive3D.h>
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< Real > | proximity (const TSegment3D< Real > &segment) const |
DYN_FUNC TSegment3D< Real > | proximity (const TPlane3D< Real > &plane) 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 TSegment3D< Real > | proximity (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 Coord3D & | startPoint () |
DYN_FUNC Coord3D & | endPoint () |
DYN_FUNC Coord3D | startPoint () const |
DYN_FUNC Coord3D | endPoint () const |
DYN_FUNC Coord3D | direction () const |
DYN_FUNC TSegment3D< Real > | operator- (void) const |
DYN_FUNC bool | isValid () const |
Public Attributes | |
Coord3D | v0 |
Coord3D | v1 |
Definition at line 397 of file Primitive3D.h.
typedef Vector<Real, 2> dyno::TSegment3D< Real >::Coord2D |
Definition at line 400 of file Primitive3D.h.
typedef Vector<Real, 3> dyno::TSegment3D< Real >::Coord3D |
Definition at line 401 of file Primitive3D.h.
DYN_FUNC dyno::TSegment3D< Real >::TSegment3D | ( | ) |
DYN_FUNC dyno::TSegment3D< Real >::TSegment3D | ( | const Coord3D & | p0, |
const Coord3D & | p1 ) |
Definition at line 2360 of file Primitive3D.inl.
DYN_FUNC dyno::TSegment3D< Real >::TSegment3D | ( | const TSegment3D< Real > & | segment | ) |
|
inline |
DYN_FUNC Real dyno::TSegment3D< Real >::distance | ( | const TSegment3D< Real > & | segment | ) | const |
DYN_FUNC Real dyno::TSegment3D< Real >::distance | ( | const TTriangle3D< Real > & | triangle | ) | const |
DYN_FUNC Real dyno::TSegment3D< Real >::distanceSquared | ( | const TSegment3D< Real > & | segment | ) | const |
DYN_FUNC Real dyno::TSegment3D< Real >::distanceSquared | ( | const TTriangle3D< Real > & | triangle | ) | const |
|
inline |
|
inline |
Definition at line 442 of file Primitive3D.h.
DYN_FUNC int dyno::TSegment3D< Real >::intersect | ( | const TAlignedBox3D< Real > & | abox, |
TSegment3D< Real > & | interSeg ) const |
DYN_FUNC int dyno::TSegment3D< Real >::intersect | ( | const TOrientedBox3D< Real > & | obb, |
TSegment3D< Real > & | interSeg ) const |
DYN_FUNC bool dyno::TSegment3D< Real >::intersect | ( | const TPlane3D< Real > & | plane, |
TPoint3D< Real > & | interPt ) const |
Definition at line 2631 of file Primitive3D.inl.
DYN_FUNC int dyno::TSegment3D< Real >::intersect | ( | const TSphere3D< Real > & | sphere, |
TSegment3D< Real > & | interSeg ) const |
DYN_FUNC bool dyno::TSegment3D< Real >::intersect | ( | const TTriangle3D< Real > & | triangle, |
TPoint3D< Real > & | interPt ) const |
DYN_FUNC bool dyno::TSegment3D< Real >::isValid | ( | ) | const |
Definition at line 2852 of file Primitive3D.inl.
DYN_FUNC Real dyno::TSegment3D< Real >::length | ( | ) | const |
DYN_FUNC Real dyno::TSegment3D< Real >::lengthSquared | ( | ) | const |
|
inline |
DYN_FUNC Real dyno::TSegment3D< Real >::parameter | ( | const Coord3D & | pos | ) | const |
Definition at line 2832 of file Primitive3D.inl.
DYN_FUNC TSegment3D< Real > dyno::TSegment3D< Real >::proximity | ( | const TAlignedBox3D< Real > & | box | ) | const |
DYN_FUNC TSegment3D< Real > dyno::TSegment3D< Real >::proximity | ( | const TOrientedBox3D< Real > & | obb | ) | const |
DYN_FUNC TSegment3D< Real > dyno::TSegment3D< Real >::proximity | ( | const TPlane3D< Real > & | plane | ) | const |
DYN_FUNC TSegment3D< Real > dyno::TSegment3D< Real >::proximity | ( | const TRectangle3D< Real > & | rectangle | ) | const |
DYN_FUNC TSegment3D< Real > dyno::TSegment3D< Real >::proximity | ( | const TSegment3D< Real > & | segment | ) | const |
Definition at line 2374 of file Primitive3D.inl.
DYN_FUNC TSegment3D< Real > dyno::TSegment3D< Real >::proximity | ( | const TTet3D< Real > & | tet | ) | const |
DYN_FUNC TSegment3D< Real > dyno::TSegment3D< Real >::proximity | ( | const TTriangle3D< Real > & | triangle | ) | const |
|
inline |
|
inline |
Definition at line 441 of file Primitive3D.h.
Coord3D dyno::TSegment3D< Real >::v0 |
Definition at line 450 of file Primitive3D.h.
Coord3D dyno::TSegment3D< Real >::v1 |
Definition at line 451 of file Primitive3D.h.