I

IHitTester

An interface that can enumerate hits in an IGraph of a given type for a certain position in world coordinates.
Inheritance Hierarchy

Members

No filters for this type

Methods

Yields an enumerable that enumerates the hits for a given world coordinate.
It is safe to cast the return values to the types indicated by filter. If no filter is specified, any IModelItem could be returned.
abstract

Parameters

context: IInputModeContext
The context in which to perform the hit testing.
location: Point
the coordinates in the world coordinate system
filter?: GraphItemTypes
An optional filter of the type of items to test and return. ALL if not specified.

Return Value

IEnumerable<IModelItem>
an enumerable that yields hit items of the requested type at the given coordinates

Static Methods

static

Parameters

enumerateHits: function(IInputModeContext, Point, GraphItemTypes): IEnumerable<IModelItem>

Return Value

IHitTester