KrisLibrary  1.0.0
Public Member Functions | Public Attributes | List of all members
Math3D::Segment3D Struct Reference

Public Member Functions

void setTransformed (const Segment3D &, const Matrix4 &xform)
 
void getLine (Line3D &l) const
 
void getAABB (AABB3D &bb) const
 
Real distance (const Point3D &p) const
 
Real closestPointParameter (const Point3D &in) const
 
Real closestPoint (const Point3D &in, Point3D &out) const
 
void closestPoint (const Segment3D &, Real &t, Real &u) const
 
Real distance (const Segment3D &) const
 
void eval (Real t, Point3D &out) const
 
bool intersects (const AABB3D &) const
 
bool intersects (const AABB3D &, Real &tmin, Real &tmax) const
 
Real distance (const AABB3D &bb) const
 
Real distance (const AABB3D &bb, Real &tclosest, Point3D &bbclosest) const
 
bool Read (File &f)
 
bool Write (File &f) const
 

Public Attributes

Point3D a
 
Point3D b
 

The documentation for this struct was generated from the following files: