KrisLibrary  1.0.0
Namespaces | Functions
math3d/clip.h File Reference

Functions for clipping lines against geometric primitives. More...

#include "Plane2D.h"
#include "Polygon2D.h"
#include "AABB2D.h"
#include "Plane3D.h"
#include "Polyhedron3D.h"
#include "AABB3D.h"
#include "Box3D.h"

Go to the source code of this file.

Namespaces

 Math3D
 Contains all the definitions in the Math3D package.
 

Functions

bool Math3D::ClipLine1D (Real q, Real p, Real &umin, Real &umax)
 Clipping primitive in 1D. More...
 
bool Math3D::ClipLine1D (Real x0, Real a, Real b, Real &umin, Real &umax)
 
bool Math3D::ClipLine (const Vector2 &x, const Vector2 &v, const Plane2D &b, Real &u1, Real &u2)
 
bool Math3D::ClipLine (const Vector2 &x, const Vector2 &v, const AABB2D &b, Real &u1, Real &u2)
 Clip the line to the interior of the bbox.
 
bool Math3D::ClipLine (const Vector2 &x, const Vector2 &v, const ConvexPolygon2D &b, Real &u1, Real &u2)
 Clip the line to the interior of the convex polygon.
 
bool Math3D::ClipLine (const Vector3 &x, const Vector3 &v, const Plane3D &b, Real &u1, Real &u2)
 
bool Math3D::ClipLine (const Vector3 &x, const Vector3 &v, const Box3D &b, Real &u1, Real &u2)
 
bool Math3D::ClipLine (const Vector3 &x, const Vector3 &v, const AABB3D &b, Real &u1, Real &u2)
 
bool Math3D::ClipLine (const Vector3 &x, const Vector3 &v, const ConvexPolyhedron3D &p, Real &u1, Real &u2)
 

Detailed Description

Functions for clipping lines against geometric primitives.