![]()  | 
  
    PeriDyno 1.2.1
    
   | 
 
#include <Primitive2D.h>

Classes | |
| struct | Param | 
Public Types | |
| typedef Vector< Real, 2 > | Coord2D | 
Public Member Functions | |
| DYN_FUNC | TRay2D () | 
| DYN_FUNC | TRay2D (const Coord2D &pos, const Coord2D &dir) | 
| DYN_FUNC | TRay2D (const TRay2D< Real > &ray) | 
| DYN_FUNC TSegment2D< Real > | proximity (const TRay2D< Real > &ray) const | 
| DYN_FUNC TSegment2D< Real > | proximity (const TSegment2D< Real > &segment) const | 
| DYN_FUNC Real | distance (const TPoint2D< Real > &pt) const | 
| DYN_FUNC Real | distance (const TSegment2D< Real > &segment) const | 
| DYN_FUNC Real | distanceSquared (const TPoint2D< Real > &pt) const | 
| DYN_FUNC Real | distanceSquared (const TSegment2D< Real > &segment) const | 
| DYN_FUNC int | intersect (const TCircle2D< Real > &sphere, TSegment2D< Real > &interSeg) const | 
| DYN_FUNC Real | parameter (const Coord2D &pos) const | 
| DYN_FUNC bool | isValid () const | 
Public Attributes | |
| Coord2D | origin | 
| Coord2D | direction | 
Definition at line 150 of file Primitive2D.h.
| typedef Vector<Real, 2> dyno::TRay2D< Real >::Coord2D | 
Definition at line 153 of file Primitive2D.h.
| DYN_FUNC dyno::TRay2D< Real >::TRay2D | ( | ) | 
| DYN_FUNC dyno::TRay2D< Real >::TRay2D | ( | const Coord2D & | pos, | 
| const Coord2D & | dir ) | 
| pos | |
| ||dir|| | = 0 indicates the ray degenerates into a point | 
Definition at line 451 of file Primitive2D.inl.
| DYN_FUNC dyno::TRay2D< Real >::TRay2D | ( | const TRay2D< Real > & | ray | ) | 
| DYN_FUNC Real dyno::TRay2D< Real >::distance | ( | const TSegment2D< Real > & | segment | ) | const | 
| DYN_FUNC Real dyno::TRay2D< Real >::distanceSquared | ( | const TSegment2D< Real > & | segment | ) | const | 
| DYN_FUNC int dyno::TRay2D< Real >::intersect | ( | const TCircle2D< Real > & | sphere, | 
| TSegment2D< Real > & | interSeg ) const | 
| DYN_FUNC bool dyno::TRay2D< Real >::isValid | ( | ) | const | 
Definition at line 663 of file Primitive2D.inl.
| DYN_FUNC Real dyno::TRay2D< Real >::parameter | ( | const Coord2D & | pos | ) | const | 
Definition at line 654 of file Primitive2D.inl.
| DYN_FUNC TSegment2D< Real > dyno::TRay2D< Real >::proximity | ( | const TRay2D< Real > & | ray | ) | const | 
Definition at line 465 of file Primitive2D.inl.


| DYN_FUNC TSegment2D< Real > dyno::TRay2D< Real >::proximity | ( | const TSegment2D< Real > & | segment | ) | const | 
| Coord2D dyno::TRay2D< Real >::direction | 
Definition at line 191 of file Primitive2D.h.
| Coord2D dyno::TRay2D< Real >::origin | 
Definition at line 188 of file Primitive2D.h.