public final class Polyside extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Polyside.Result
An enumeration indicating the result of a point-in-poygon test
|
Modifier and Type | Method and Description |
---|---|
static Polyside.Result |
isPointInPolygon(List<IQuadEdge> list,
double x,
double y)
Determines if a point is inside a polygon.
|
public static Polyside.Result isPointInPolygon(List<IQuadEdge> list, double x, double y)
list
- a list of edges.x
- the Cartesian coordinate of the query pointy
- the Cartesian coordinate of the query pointCopyright © 2021. All rights reserved.