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

Public Types | |
| typedef Vector< Real, 2 > | Coord2D | 
Public Member Functions | |
| DYN_FUNC | TSegment2D () | 
| DYN_FUNC | TSegment2D (const Coord2D &p0, const Coord2D &p1) | 
| DYN_FUNC | TSegment2D (const TSegment2D< Real > &segment) | 
| DYN_FUNC TSegment2D< Real > | proximity (const TSegment2D< Real > &segment) const | 
| DYN_FUNC Real | distance (const TSegment2D< Real > &segment) const | 
| DYN_FUNC Real | distanceSquared (const TSegment2D< Real > &segment) const | 
| DYN_FUNC Real | length () const | 
| DYN_FUNC Real | lengthSquared () const | 
| DYN_FUNC int | intersect (const TCircle2D< Real > &circle, TSegment2D< Real > &interSeg) const | 
| DYN_FUNC Real | parameter (const Coord2D &pos) const | 
| DYN_FUNC Coord2D & | startPoint () | 
| DYN_FUNC Coord2D & | endPoint () | 
| DYN_FUNC Coord2D | startPoint () const | 
| DYN_FUNC Coord2D | endPoint () const | 
| DYN_FUNC Coord2D | direction () const | 
| DYN_FUNC TSegment2D< Real > | operator- (void) const | 
| DYN_FUNC bool | isValid () const | 
Public Attributes | |
| Coord2D | v0 | 
| Coord2D | v1 | 
Definition at line 195 of file Primitive2D.h.
| typedef Vector<Real, 2> dyno::TSegment2D< Real >::Coord2D | 
Definition at line 198 of file Primitive2D.h.
| DYN_FUNC dyno::TSegment2D< Real >::TSegment2D | ( | ) | 
| DYN_FUNC dyno::TSegment2D< Real >::TSegment2D | ( | const Coord2D & | p0, | 
| const Coord2D & | p1 ) | 
Definition at line 676 of file Primitive2D.inl.
| DYN_FUNC dyno::TSegment2D< Real >::TSegment2D | ( | const TSegment2D< Real > & | segment | ) | 
      
  | 
  inline | 
| DYN_FUNC Real dyno::TSegment2D< Real >::distance | ( | const TSegment2D< Real > & | segment | ) | const | 
| DYN_FUNC Real dyno::TSegment2D< Real >::distanceSquared | ( | const TSegment2D< Real > & | segment | ) | const | 
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 222 of file Primitive2D.h.
| DYN_FUNC int dyno::TSegment2D< Real >::intersect | ( | const TCircle2D< Real > & | circle, | 
| TSegment2D< Real > & | interSeg ) const | 
| DYN_FUNC bool dyno::TSegment2D< Real >::isValid | ( | ) | const | 
| DYN_FUNC Real dyno::TSegment2D< Real >::length | ( | ) | const | 
Definition at line 787 of file Primitive2D.inl.
| DYN_FUNC Real dyno::TSegment2D< Real >::lengthSquared | ( | ) | const | 
      
  | 
  inline | 
| DYN_FUNC Real dyno::TSegment2D< Real >::parameter | ( | const Coord2D & | pos | ) | const | 
| DYN_FUNC TSegment2D< Real > dyno::TSegment2D< Real >::proximity | ( | const TSegment2D< Real > & | segment | ) | const | 
Definition at line 690 of file Primitive2D.inl.


      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 221 of file Primitive2D.h.
| Coord2D dyno::TSegment2D< Real >::v0 | 
Definition at line 230 of file Primitive2D.h.
| Coord2D dyno::TSegment2D< Real >::v1 | 
Definition at line 231 of file Primitive2D.h.