![]()  | 
  
    PeriDyno 1.2.1
    
   | 
 
0D geometric primitive in two-dimensional space More...
#include <Primitive2D.h>

Public Types | |
| typedef Vector< Real, 2 > | Coord2D | 
Public Member Functions | |
| DYN_FUNC | TPoint2D () | 
| DYN_FUNC | TPoint2D (const Real &c0, const Real &c1) | 
| DYN_FUNC | TPoint2D (const TPoint2D &pt) | 
| DYN_FUNC TPoint2D & | operator= (const Coord2D &p) | 
| DYN_FUNC | TPoint2D (const Real &val) | 
| DYN_FUNC | TPoint2D (const Coord2D &pos) | 
| DYN_FUNC TPoint2D< Real > | project (const TLine2D< Real > &line) const | 
| project a point onto linear components – lines, rays and segments   | |
| DYN_FUNC TPoint2D< Real > | project (const TRay2D< Real > &ray) const | 
| DYN_FUNC TPoint2D< Real > | project (const TSegment2D< Real > &segment) const | 
| DYN_FUNC TPoint2D< Real > | project (const TCircle2D< Real > &circle) const | 
| DYN_FUNC Real | distance (const TPoint2D< Real > &pt) const | 
| DYN_FUNC Real | distance (const TLine2D< Real > &line) const | 
| DYN_FUNC Real | distance (const TRay2D< Real > &ray) const | 
| DYN_FUNC Real | distance (const TSegment2D< Real > &segment) const | 
| DYN_FUNC Real | distance (const TCircle2D< Real > &circle) const | 
| DYN_FUNC Real | distanceSquared (const TPoint2D< Real > &pt) const | 
| DYN_FUNC Real | distanceSquared (const TLine2D< Real > &line) const | 
| DYN_FUNC Real | distanceSquared (const TRay2D< Real > &ray) const | 
| DYN_FUNC Real | distanceSquared (const TSegment2D< Real > &segment) const | 
| DYN_FUNC Real | distanceSquared (const TCircle2D< Real > &circle) const | 
| DYN_FUNC bool | inside (const TLine2D< Real > &line) const | 
| check whether a point strictly lies inside (excluding boundary) a 1D geometric primitive   | |
| DYN_FUNC bool | inside (const TRay2D< Real > &ray) const | 
| DYN_FUNC bool | inside (const TSegment2D< Real > &segment) const | 
| DYN_FUNC bool | inside (const TCircle2D< Real > &circle) const | 
| DYN_FUNC const TSegment2D< Real > | operator- (const TPoint2D< Real > &pt) const | 
Public Attributes | |
| Coord2D | origin | 
0D geometric primitive in two-dimensional space
Definition at line 50 of file Primitive2D.h.
| typedef Vector<Real, 2> dyno::TPoint2D< Real >::Coord2D | 
Definition at line 53 of file Primitive2D.h.
| DYN_FUNC dyno::TPoint2D< Real >::TPoint2D | ( | ) | 
| DYN_FUNC dyno::TPoint2D< Real >::TPoint2D | ( | const Real & | c0, | 
| const Real & | c1 ) | 
Definition at line 21 of file Primitive2D.inl.
| DYN_FUNC dyno::TPoint2D< Real >::TPoint2D | ( | const TPoint2D< Real > & | pt | ) | 
      
  | 
  explicit | 
Definition at line 15 of file Primitive2D.inl.
      
  | 
  explicit | 
Definition at line 27 of file Primitive2D.inl.
| DYN_FUNC Real dyno::TPoint2D< Real >::distance | ( | const TCircle2D< Real > & | circle | ) | const | 
Definition at line 123 of file Primitive2D.inl.
| DYN_FUNC Real dyno::TPoint2D< Real >::distance | ( | const TPoint2D< Real > & | pt | ) | const | 
Definition at line 99 of file Primitive2D.inl.


| DYN_FUNC Real dyno::TPoint2D< Real >::distance | ( | const TSegment2D< Real > & | segment | ) | const | 
| DYN_FUNC Real dyno::TPoint2D< Real >::distanceSquared | ( | const TPoint2D< Real > & | pt | ) | const | 


| DYN_FUNC Real dyno::TPoint2D< Real >::distanceSquared | ( | const TSegment2D< Real > & | segment | ) | const | 
| DYN_FUNC bool dyno::TPoint2D< Real >::inside | ( | const TCircle2D< Real > & | circle | ) | const | 
Definition at line 199 of file Primitive2D.inl.
| DYN_FUNC bool dyno::TPoint2D< Real >::inside | ( | const TLine2D< Real > & | line | ) | const | 
check whether a point strictly lies inside (excluding boundary) a 1D geometric primitive
| line/ray/segment | 1D geometric primitives | 
Definition at line 159 of file Primitive2D.inl.


| DYN_FUNC bool dyno::TPoint2D< Real >::inside | ( | const TRay2D< Real > & | ray | ) | const | 
| DYN_FUNC bool dyno::TPoint2D< Real >::inside | ( | const TSegment2D< Real > & | segment | ) | const | 
| DYN_FUNC const TSegment2D< Real > dyno::TPoint2D< Real >::operator- | ( | const TPoint2D< Real > & | pt | ) | const | 
| DYN_FUNC TPoint2D< Real > dyno::TPoint2D< Real >::project | ( | const TLine2D< Real > & | line | ) | const | 
project a point onto linear components – lines, rays and segments
| line/ray/segment | linear components | 
Definition at line 46 of file Primitive2D.inl.


| DYN_FUNC TPoint2D< Real > dyno::TPoint2D< Real >::project | ( | const TSegment2D< Real > & | segment | ) | const | 
| Coord2D dyno::TPoint2D< Real >::origin | 
Definition at line 102 of file Primitive2D.h.