#include <VolSim.h>
Public Member Functions | |
cLineSegment () | |
cLineSegment (Point3D &p1, Point3D &p2) | |
void | PointAt (float dist, Point3D &retp) |
void | SetPoints (Point3D &p1, Point3D &p2) |
Public Attributes | |
float | len |
float | lenXY |
Point3D | pDir |
Point3D | pDirXY |
Point3D | pStart |
cLineSegment::cLineSegment | ( | ) |
References SetPoints().
void cLineSegment::PointAt | ( | float | dist, |
Point3D & | retp | ||
) |
References DraftVecUtils::dist(), pDir, pStart, Point3D::x, Point3D::y, and Point3D::z.
References lenXY, pDir, pDirXY, pStart, Point3D::x, and Point3D::y.
Referenced by cLineSegment().
float cLineSegment::len |
float cLineSegment::lenXY |
Referenced by SetPoints().
Point3D cLineSegment::pDir |
Referenced by PointAt(), and SetPoints().
Point3D cLineSegment::pDirXY |
Referenced by SetPoints().
Point3D cLineSegment::pStart |
Referenced by PointAt(), and SetPoints().