EuclideanPlane

class Object
trait Matchable
class Any

Value members

Concrete methods

def entry[A](minX: Float, minY: Float, maxX: Float, maxY: Float, value: A): RTreeEntry[A]

Create an entry for a rectangle and a value.

Create an entry for a rectangle and a value.

Type Params
A

a type of the value being put in the r-tree

Value Params
maxX

x coordinate of the right top corner

maxY

y coordinate of the right top corner

minX

x coordinate of the left bottom corner

minY

y coordinate of the left bottom corner

value

a value to store in the r-tree

Returns

a newly created entry

def entry[A](x: Float, y: Float, value: A): RTreeEntry[A]

Create an entry for a point and a value.

Create an entry for a point and a value.

Type Params
A

a type of the value being put in the r-tree

Value Params
value

a value to store in the r-tree

x

x value of the given point

y

y value of the given point

Returns

a newly created entry

def entry[A](x: Float, y: Float, distance: Float, value: A): RTreeEntry[A]

Create an entry specified by center point with distance and a value.

Create an entry specified by center point with distance and a value.

Type Params
A

a type of the value being put in the r-tree

Value Params
distance

a value of distance to edges of the entry bounding box

value

a value to store in the r-tree

x

x value of the given point

y

y value of the given point

Returns

a newly created entry

Implicits

Implicits

An instance of the DistanceCalculator type class which use Euclidean geometry to calculate distances.

An instance of the DistanceCalculator type class which use Euclidean geometry to calculate distances.