Darc Library  2012.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Geometry/ge_intersection.h File Reference
#include "cr_vector.h"
#include "cr_segment.h"
#include "cr_triangle.h"

Namespaces

namespace  darc
namespace  darc::geometry

Defines

#define GE_A_OUT   0x01
#define GE_B_OUT   0x02
#define GE_C_OUT   0x04

Functions

DCR CR_API darc::geometry::CR_Intersect2D_VxV (const core::CR_Vector2D &_v0, const core::CR_Vector2D &_v1)
 Intersection between two vectors.
DCR CR_API darc::geometry::CR_Intersect2D_SxV (const GE_Segment2D &_s0, const CR_Vector2D &_v1)
 Intersection between a vector and a segment.
DCR CR_API darc::geometry::CR_Intersect2D_SxS (const GE_Segment2D &_s0, const CR_Vector2D &_v1)
DCR CR_API darc::geometry::CR_Intersect2D_RxV (const GE_Segment2D &_s0, const CR_Vector2D &_v1)
DCR CR_API darc::geometry::CR_Intersect2D_RxS (const GE_Segment2D &_s0, const CR_Vector2D &_v1)
DCR CR_API darc::geometry::CR_Intersect2D_RxR (const GE_Segment2D &_s0, const CR_Vector2D &_v1)
DCR CR_API darc::geometry::CR_Intersect2D_LxL (const GE_Segment2D &_s0, const Triangle2D &_v1)
DCR GE_API darc::geometry::ge_Intersect_SegmentSegment2D (const GE_Segment2D &_s0, const GE_Segment2D &_s1, core::CR_Vector2D &_vOut)
DCR GE_API darc::geometry::ge_Intersect_SegmentSegment2D (const GE_Segment2D &_s0, const GE_Segment2D &_s1, core::CR_Vector2D &_vOut, float *_fOut)
DCR GE_API darc::geometry::ge_Intersect_TriangleTriangle2D (Triangle2D &_tTarget, Triangle2D &_tSource, core::CR_Vector2D *_vIntersectOut, int &_nPointOut)
DCR GE_API darc::geometry::ge_Intersect_SegmentPlane (const GE_Segment3D &_s, const GE_Plane3D &_p, Vector3D &_vOut, float *_fOut)
DCR GE_API darc::geometry::ge_Intersect_SegmentTriangle (const GE_Segment3D &_s, const Triangle3D &_t, Vector3D &_vOut, Real *_fOut, Real *_ftOut)
DCR GE_API darc::geometry::ge_Intersect_LineTriangle (const GE_Line3D &_l, const GE_Plane3D &_p, Vector3D &_vOut)
DCR GE_API darc::geometry::ge_Intersect_PlanePlane (const GE_Plane3D &_p0, const GE_Plane3D &_p1, GE_Line3D &_lOut)

Define Documentation

#define GE_A_OUT   0x01
#define GE_B_OUT   0x02
#define GE_C_OUT   0x04