@FunctionalInterface
public static interface GeometryUtil.LineVisitor
Modifier and Type | Method and Description |
---|---|
boolean |
visit(int x,
int y,
float d)
Visit the specified absolute location along a straight line on a 2D
plane.
|
boolean visit(int x, int y, float d)
x
- The absolute X coordinate to visit.y
- The absolute Y coordinate to visit.d
- The distance from the start of the line.true
if the process should continue;
false
if no more points should be visited on the line.