Rasterfarm-SDK
Loading...
Searching...
No Matches
closestpoint.h File Reference
#include "types.h"
#include "primitive3d.h"
#include "3d/triangle.h"
#include "3d/polygon.h"
#include "3d/ray.h"
#include "3d/segment.h"
#include "3d/sphere.h"
#include "3d/disk.h"
#include "3d/capsule.h"
#include "aaboundingbox.h"

Namespaces

namespace  Primitive3D
 API for calculating axis-aligned bounding-boxes, distance, intersections, and closet-points for 3D primitves.
 

Functions

bool Primitive3D::above (const Vertex3f &point, const Vertex4f &plane)
 
Vertex3f Primitive3D::closestPoint (const Vertex3f &point, const Vertex4f &plane)
 
Vertex3f Primitive3D::closestPoint (const Vertex3f &point, const Vertex4f &plane, float distance)
 
Vertex3f Primitive3D::closestPoint (const Segment &segment, const Vertex4f &plane)
 
Vertex3f Primitive3D::closestPoint (const Segment &segment, const Sphere &sphere)
 
Vertex3f Primitive3D::closestPoint (const Vertex3f &point, const Disk &disk)
 
Vertex3f Primitive3D::closestPoint (const Vertex3f &point, const Sphere &sphere)
 
Vertex3f Primitive3D::closestPoint (const Vertex3f &point, const Sphere &sphere, float distance)
 
Vertex3f Primitive3D::closestPoint (const Vertex3f &point, const Ray &ray)
 
Vertex3f Primitive3D::closestPoint (const Vertex3f &point, const Vector3f &line, const Vertex3f &linePoint)
 
Vertex3f Primitive3D::closestPoint (const Vertex3f &point, const Triangle &triangle)
 
Vertex3f Primitive3D::closestPoint (const Vertex3f &point, const Segment &segment)
 
Vertex3f Primitive3D::closestPoint (const Vertex3f &point, const Capsule &capsule)
 
Vertex3f Primitive3D::closestPoint (const Vertex3f &point, const AABoundingBox &box)
 
Vertex3f Primitive3D::closestPoint (const Segment &segment, const AABoundingBox &box)
 
Vertex3f Primitive3D::closestPoint (const Vertex3f &point, const Polygon &polygon)
 
Vertex3f Primitive3D::closestPoint (const Segment &segment, const Polygon &polygon)
 
Vertex3f Primitive3D::closestPoint (const Segment &segment, const Disk &disk)
 
Vertex3f Primitive3D::closestPoint (const Ray &ray, const Segment &segment)
 
Pair< Vertex3f, Vertex3fPrimitive3D::closestPoint (const Segment &s1, const Segment &s2)
 
Vertex3f Primitive3D::closestPoint (const Segment &s, const Capsule &c)