GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
Intersect.hh File Reference
#include "VectorTools.hh"
#include "Effect.hh"
#include <vector>
Include dependency graph for Intersect.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LinePlaneIntersection

Functions

Point IntersectionPoint (LinePlaneIntersection &c, Point line_p1, Point line_p2)
Vector IntersectionNormal (LinePlaneIntersection &c, Vector line_n1, Vector line_n2)
bool InsideLine (LinePlaneIntersection &c)
LinePlaneIntersection LinePlaneIntersectionFunc (Point line_p1, Point line_p2, Point plane_p1, Point plane_p2, Point plane_p3)
void SplitPolygon (std::vector< Point > &result_points, std::vector< Vector > &result_normals, FaceCollection &c1, int face1, Point plane_point1, Point plane_point2, Point plane_point3, bool start)

Function Documentation

◆ InsideLine()

bool InsideLine ( LinePlaneIntersection & c)
Here is the caller graph for this function:

◆ IntersectionNormal()

Vector IntersectionNormal ( LinePlaneIntersection & c,
Vector line_n1,
Vector line_n2 )
Here is the caller graph for this function:

◆ IntersectionPoint()

Point IntersectionPoint ( LinePlaneIntersection & c,
Point line_p1,
Point line_p2 )
Here is the caller graph for this function:

◆ LinePlaneIntersectionFunc()

LinePlaneIntersection LinePlaneIntersectionFunc ( Point line_p1,
Point line_p2,
Point plane_p1,
Point plane_p2,
Point plane_p3 )
Here is the caller graph for this function:

◆ SplitPolygon()

void SplitPolygon ( std::vector< Point > & result_points,
std::vector< Vector > & result_normals,
FaceCollection & c1,
int face1,
Point plane_point1,
Point plane_point2,
Point plane_point3,
bool start )