BestPoint.h File Reference

#include "math/Vector3.h"
#include "selectable.h"
#include "Manipulatables.h"
Include dependency graph for BestPoint.h:

Go to the source code of this file.

Data Structures

class  Segment3D

Typedefs

typedef Vector3 Point3D
typedef Vector3 point_t
typedef const Vector3point_iterator_t
typedef FlatShadedVertexFlatShadedVertexIterator

Enumerations

enum  clipcull_t { eClipCullNone, eClipCullCW, eClipCullCCW }

Functions

double triangle_signed_area_XY (const Vector3 &p0, const Vector3 &p1, const Vector3 &p2)
Point3D segment_closest_point_to_point (const Segment3D &segment, const Point3D &point)
bool point_test_polygon_2d (const point_t &P, point_iterator_t start, point_iterator_t finish)
void BestPoint (std::size_t count, Vector4 clipped[9], SelectionIntersection &best, clipcull_t cull)
void LineStrip_BestPoint (const Matrix4 &local2view, const PointVertex *vertices, const std::size_t size, SelectionIntersection &best)
void LineLoop_BestPoint (const Matrix4 &local2view, const PointVertex *vertices, const std::size_t size, SelectionIntersection &best)
void Line_BestPoint (const Matrix4 &local2view, const PointVertex vertices[2], SelectionIntersection &best)
void Circle_BestPoint (const Matrix4 &local2view, clipcull_t cull, const PointVertex *vertices, const std::size_t size, SelectionIntersection &best)
void Quad_BestPoint (const Matrix4 &local2view, clipcull_t cull, const PointVertex *vertices, SelectionIntersection &best)
void Triangles_BestPoint (const Matrix4 &local2view, clipcull_t cull, FlatShadedVertexIterator first, FlatShadedVertexIterator last, SelectionIntersection &best)

Typedef Documentation

Definition at line 56 of file BestPoint.h.

typedef Vector3 Point3D

Definition at line 26 of file BestPoint.h.

typedef const Vector3* point_iterator_t

Definition at line 37 of file BestPoint.h.

typedef Vector3 point_t

Definition at line 36 of file BestPoint.h.


Enumeration Type Documentation

enum clipcull_t
Enumerator:
eClipCullNone 
eClipCullCW 
eClipCullCCW 

Definition at line 8 of file BestPoint.h.


Function Documentation

void BestPoint ( std::size_t  count,
Vector4  clipped[9],
SelectionIntersection best,
clipcull_t  cull 
)
void Circle_BestPoint ( const Matrix4 &  local2view,
clipcull_t  cull,
const PointVertex *  vertices,
const std::size_t  size,
SelectionIntersection best 
)
void Line_BestPoint ( const Matrix4 &  local2view,
const PointVertex  vertices[2],
SelectionIntersection best 
)
void LineLoop_BestPoint ( const Matrix4 &  local2view,
const PointVertex *  vertices,
const std::size_t  size,
SelectionIntersection best 
)
void LineStrip_BestPoint ( const Matrix4 &  local2view,
const PointVertex *  vertices,
const std::size_t  size,
SelectionIntersection best 
)
bool point_test_polygon_2d ( const point_t P,
point_iterator_t  start,
point_iterator_t  finish 
)
void Quad_BestPoint ( const Matrix4 &  local2view,
clipcull_t  cull,
const PointVertex *  vertices,
SelectionIntersection best 
)
Point3D segment_closest_point_to_point ( const Segment3D segment,
const Point3D point 
)
double triangle_signed_area_XY ( const Vector3 p0,
const Vector3 p1,
const Vector3 p2 
) [inline]

Definition at line 28 of file BestPoint.h.

void Triangles_BestPoint ( const Matrix4 &  local2view,
clipcull_t  cull,
FlatShadedVertexIterator  first,
FlatShadedVertexIterator  last,
SelectionIntersection best 
)

Generated by  doxygen 1.6.2