GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi_plane.cc File Reference
#include "GameApi_h.hh"
Include dependency graph for GameApi_plane.cc:

Classes

class  Lines
class  ReverseFaces
class  Triangulate_plane
class  PLFaces

Functions

bool is_inside_triangle (Point2d tri_1, Point2d tri_2, Point2d tri_3, Point2d test_point)
bool is_point_inside_polygon (FacesInPlane *coll, int face, Point2d p, bool *enable_array)
bool is_line_segment_inside_polygon (FacesInPlane *coll, int face, Point2d line_1, Point2d line_2, bool *enable_array)
bool is_ear (FacesInPlane *coll, int face, int point, bool *enable_array)
int find_ear (FacesInPlane *coll, int face, bool *enable_array)
void append_tri (std::vector< int > &vec, FacesInPlane *coll, int face, int point, bool *enable_array)
std::vector< int > triangulate (FacesInPlane *coll, int face)
bool is_curve_ccw (FacesInPlane &f, int face)

Function Documentation

◆ append_tri()

void append_tri ( std::vector< int > & vec,
FacesInPlane * coll,
int face,
int point,
bool * enable_array )
Here is the caller graph for this function:

◆ find_ear()

int find_ear ( FacesInPlane * coll,
int face,
bool * enable_array )
Here is the caller graph for this function:

◆ is_curve_ccw()

bool is_curve_ccw ( FacesInPlane & f,
int face )

◆ is_ear()

bool is_ear ( FacesInPlane * coll,
int face,
int point,
bool * enable_array )
Here is the caller graph for this function:

◆ is_inside_triangle()

bool is_inside_triangle ( Point2d tri_1,
Point2d tri_2,
Point2d tri_3,
Point2d test_point )
Here is the caller graph for this function:

◆ is_line_segment_inside_polygon()

bool is_line_segment_inside_polygon ( FacesInPlane * coll,
int face,
Point2d line_1,
Point2d line_2,
bool * enable_array )
Here is the caller graph for this function:

◆ is_point_inside_polygon()

bool is_point_inside_polygon ( FacesInPlane * coll,
int face,
Point2d p,
bool * enable_array )
Here is the caller graph for this function:

◆ triangulate()

std::vector< int > triangulate ( FacesInPlane * coll,
int face )
Here is the caller graph for this function: