double function ( Coordinate arg0 , Coordinate arg1 , Coordinate arg2 ) { return ( arg1 . x - arg0 . x ) * ( arg2 . y - arg0 . y ) - ( arg2 . x - arg0 . x ) * ( arg1 . y - arg0 . y ) ; }
returns twice the signed area of the triangle p1-p2-p3 . the area is positive if the triangle is oriented ccw , and negative if cw . concode_field_sep Coordinate cg3 concode_elem_sep Coordinate triangleCent3 concode_elem_sep Coordinate lineCentSum concode_elem_sep double totalLength concode_elem_sep int ptCount concode_elem_sep double areasum2 concode_elem_sep Coordinate areaBasePt concode_elem_sep Coordinate ptCentSum concode_field_sep void add concode_elem_sep void add concode_elem_sep void addLineSegments concode_elem_sep void centroid3 concode_elem_sep void addHole concode_elem_sep Coordinate getCentroid concode_elem_sep Coordinate getCentroid concode_elem_sep void addShell concode_elem_sep void setBasePoint concode_elem_sep void addTriangle concode_elem_sep void addPoint