BoundingExtensions

ostrat.geom.BoundingExtensions
class BoundingExtensions[A](val thisObj: A, evA: Bounding[A])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def bounds: Rect
def boundsBLTo(newBottomLeft: Pt2)(implicit ev: Slate[A]): A

2D geometric translation transformation on this type A, returning an object of type A with the bottom left of its bounding rectangle at the parameter point.

2D geometric translation transformation on this type A, returning an object of type A with the bottom left of its bounding rectangle at the parameter point.

Attributes

def boundsBRTo(newBottomRight: Pt2)(implicit ev: Slate[A]): A

2D geometric translation transformation on this type A, returning an object of type A with the bottom right of its bounding rectangle at the parameter point.

2D geometric translation transformation on this type A, returning an object of type A with the bottom right of its bounding rectangle at the parameter point.

Attributes

def boundsCenTo(newCen: Pt2)(implicit ev: Slate[A]): A

2D geometric translation transformation on the type A, returning an object of type A with the centre of its bounding rectangle at the parameter point.

2D geometric translation transformation on the type A, returning an object of type A with the centre of its bounding rectangle at the parameter point.

Attributes

def boundsTLTo(newTopLeft: Pt2)(implicit ev: Slate[A]): A

2D geometric translation transformation on this type A, returning an object of type A with the top left of its bounding rectangle at the parameter point.

2D geometric translation transformation on this type A, returning an object of type A with the top left of its bounding rectangle at the parameter point.

Attributes

def boundsTRTo(newTopRight: Pt2)(implicit ev: Slate[A]): A

2D geometric translation transformation on this type A, returning an object of type A with the top right of its bounding rectangle at the parameter point.

2D geometric translation transformation on this type A, returning an object of type A with the top right of its bounding rectangle at the parameter point.

Attributes

Concrete fields

val thisObj: A