ESyS-Particle
4.0.1
|
Class representing a line segment for intersection/fitting calculation in 2D. More...
#include <LineSegment.h>
Public Member Functions | |
LineSegment (const Vec3 &, const Vec3 &) | |
virtual double | sep (const Vec3 &) |
virtual bool | intersect (const Vec3 &, const Vec3 &) |
Vec3 | getP1 () |
Vec3 | getP2 () |
![]() | |
Line (const Vec3 &, const Vec3 &) | |
Vec3 | GetU () const |
Vec3 | GetO () const |
Vec3 | GetN () const |
Additional Inherited Members | |
![]() | |
Line () | |
![]() | |
Vec3 | Pos |
Vec3 | U |
Vec3 | N |
Class representing a line segment for intersection/fitting calculation in 2D.
constructor
P0 | 1st end point |
P1 | 2nd end point |
returns if the connecting line between two points intersects the line segment
P1 | 1st point |
P2 | 2nd point |
|
virtual |
distance between a point and the line segment
P | the position of the point |
Reimplemented from Line.