MCPcopy Create free account
hub / github.com/dhale/jtk / leftOfLineExact

Method leftOfLineExact

core/src/main/java/edu/mines/jtk/mesh/Geometry.java:1859–1889  ·  view source on GitHub ↗

Slow exact 2D orientation test. Returns a positive value if the points pa, pb, and pc occur in counterclockwise order; a negative value if they occur in clockwise order; and zero if they are collinear. The result is also a rough approximation of twice the signed area of the triangle defined by the

(
    double xa, double ya,
    double xb, double yb,
    double xc, double yc)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

leftOfLineMethod · 0.95

Calls 3

twoDiffMethod · 0.95
twoTwoProductMethod · 0.95

Tested by

no test coverage detected