public interface IBendSelectionTester
This interface is usually provided through the ILookup.lookup(java.lang.Class)
of IEdge
implementations.
Modifier and Type | Method and Description |
---|---|
Iterable<IBend> |
getBendsInBox(IInputModeContext context,
RectD rectangle)
Returns the bends within the given rectangle.
|
IBend |
getHitBend(IInputModeContext context,
PointD location)
Returns the bend at the given world coordinate position.
|
Iterable<IBend> getBendsInBox(IInputModeContext context, RectD rectangle)
context
- The input mode context to use for querying the position.rectangle
- A rectangle in world coordinates.rectangle
.IBend getHitBend(IInputModeContext context, PointD location)
context
- The input mode context to use for querying the position.location
- A location in world coordinates.null
if there is no bend.