given_SpatialOps_Point

indigo.shared.trees.SpatialOps.given_SpatialOps_Point

Attributes

Graph
Supertypes
trait SpatialOps[Point]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def bounds(ref: Point): BoundingBox

The bounds of this ref

The bounds of this ref

Attributes

def distance(ref: Point, vertex: Vertex): Double

Distance from the ref to the vertex

Distance from the ref to the vertex

Attributes

def equals(ref: Point, other: Point): Boolean

Check if two refs are equal by some appropriate notion of equality.

Check if two refs are equal by some appropriate notion of equality.

Attributes

def intersects(ref: Point, bounds: BoundingBox): Boolean

Does the ref intersect the bounds

Does the ref intersect the bounds

Attributes

def intersects(ref: Point, lineSegment: LineSegment): Boolean

Does the ref intersect the line segement

Does the ref intersect the line segement

Attributes

def surrounds(ref: Point, bounds: BoundingBox): Boolean

The ref's bounds somehow cover the whole area of the provided bounding box.

The ref's bounds somehow cover the whole area of the provided bounding box.

Attributes