Description | uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables |
Contains a simple function to triangulate a given polygon.
function PointInTriangle(const ap1, tp1, tp2, tp3 : TAdPoint): boolean; |
function Triangulate(const APolygon: TAdPolygon; var ATriangles: TAdTriangles):boolean; |
function PointInTriangle(const ap1, tp1, tp2, tp3 : TAdPoint): boolean; |
Returns whether a point lies inside a triangle. ap1 specifies the point, tp1, tp2 and tp3 the triangle points. |
function Triangulate(const APolygon: TAdPolygon; var ATriangles: TAdTriangles):boolean; |
Triangulates the given polygon. The polygon must not contain any intersections or holes/islands. |