public interface IShapeGeometry
| Modifier and Type | Method and Description |
|---|---|
PointD |
getIntersection(PointD inner,
PointD outer)
Returns the intersection for the given line with this shape's geometry.
|
GeneralPath |
getOutline()
Returns the outline of the shape or
null. |
boolean |
isInside(PointD location)
Checks whether the given coordinate is deemed to lie within the shape's geometric bounds.
|
PointD getIntersection(PointD inner, PointD outer)
inner - The first point of the line that is inside the shape.outer - The second point of the line that is outside the shape.GeneralPath getOutline()
null.null if no outline can be provided.boolean isInside(PointD location)
location - The point to test.