Rasterfarm-SDK
Loading...
Searching...
No Matches
distance.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

float Primitive3D::distance (const Vertex3f &pointA, const Vertex3f &pointB, bool returnSquared=false)
 
float Primitive3D::distance (const Vertex3f &point, const Vertex3f &linePoint, const Vertex3f &line, bool returnSquared=false)
 
float Primitive3D::distance (const Vertex3f &point, const Ray &ray, bool returnSquared=false)
 
float Primitive3D::distance (const Vertex3f &point, const Segment &segment, bool returnSquared=false)
 
float Primitive3D::distance (const Sphere &sphere, const Segment &segment, bool returnSquared=false)
 
float Primitive3D::distance (const Vertex3f &point, const Capsule &capsule, bool returnSquared=false)
 
float Primitive3D::distance (const Sphere &sphere, const Capsule &capsule, bool returnSquared=false)
 
float Primitive3D::distance (const Segment &segmentA, const Segment &segmentB, bool returnSquared=false)
 
float Primitive3D::distance (const Segment &segment, const Vertex4f &plane)
 
float Primitive3D::distance (const Capsule &capsule, const Vertex4f &plane)
 
float Primitive3D::distance (const Capsule &capsuleA, const Capsule &capsuleB, bool returnSquared=false)
 
float Primitive3D::distance (const Capsule &capsule, const Segment &segment, bool returnSquared=false)
 
float Primitive3D::distance (const Segment &segment, const AABoundingBox &box)
 
float Primitive3D::distance (const Capsule &capsule, const AABoundingBox &box)
 
float Primitive3D::distance (const Vertex3f &point, const Sphere &sphere)
 
float Primitive3D::distance (const Vertex3f &point, const Vector4f &plane)
 
float Primitive3D::distance (const Vertex3f &point, const Disk &disk, bool returnSquared=false)
 
float Primitive3D::distance (const Sphere &sphereA, const Sphere &sphereB, bool returnSquared=false)
 
float Primitive3D::distance (const Sphere &sphere, const Vector4f &plane)
 
float Primitive3D::distance (const Sphere &sphere, const Disk &disk)
 
float Primitive3D::distance (const Vertex3f &point, const Triangle &triangle, bool returnSquared=false)
 
float Primitive3D::distance (const Sphere &sphere, const Triangle &triangle, bool returnSquared=false)
 
float Primitive3D::distance (const Vertex3f &point, const AABoundingBox &box, bool returnSquared=false)
 
float Primitive3D::distance (const Sphere &sphere, const AABoundingBox &box, bool returnSquared=false)
 
float Primitive3D::distance (const Vertex3f &point, const Polygon &polygon, bool returnSquared=false)
 
float Primitive3D::distance (const Sphere &sphere, const Polygon &polygon)
 
float Primitive3D::distance (const Segment &segment, const Disk &disk, bool returnSquared=false)
 
float Primitive3D::distance (const Segment &segment, const Polygon &polygon, bool returnSquared=false)
 
float Primitive3D::distance (const Capsule &capsule, const Disk &disk)
 
float Primitive3D::distance (const Capsule &capsule, const Polygon &polygon)