MCPcopy Create free account
hub / github.com/MapServer/MapServer / cross_product

Function cross_product

renderers/agg/include/agg_math.h:37–42  ·  view source on GitHub ↗

------------------------------------------------------------cross_product

Source from the content-addressed store, hash-verified

35
36 //------------------------------------------------------------cross_product
37 AGG_INLINE double cross_product(double x1, double y1,
38 double x2, double y2,
39 double x, double y)
40 {
41 return (x - x2) * (y2 - y1) - (y - y2) * (x2 - x1);
42 }
43
44 //--------------------------------------------------------point_in_triangle
45 AGG_INLINE bool point_in_triangle(double x1, double y1,

Callers 6

calc_miterMethod · 0.85
calc_joinMethod · 0.85
prepareMethod · 0.85
point_in_triangleFunction · 0.85
dilate_triangleFunction · 0.85
prepareMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected