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

Method inCircleExact

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

Slow exact in-circle test. Returns a positive value if the point pd lies inside the circle passing through pa, pb, and pc; a negative value if it lies outside; and zero if the four points are cocircular. The points pa, pb, and pc must be in counterclockwise order, or the sign of the result will be r

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

inCircleMethod · 0.95

Calls 4

twoDiffMethod · 0.95
twoTwoProductMethod · 0.95

Tested by

no test coverage detected