BoundedExtensions

ostrat.geom.BoundedExtensions
final class BoundedExtensions[T <: BoundedElem](val thisT: T) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def blBoundTo(newBottomLeft: Pt2)(implicit ev: Slate[T]): T

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

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

Attributes

def boundCenTo(newCen: Pt2)(implicit ev: Slate[T]): T

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

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

Attributes

def brBoundTo(newBottomRight: Pt2)(implicit ev: Slate[T]): T

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

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

Attributes

def cenDefaultTo(newCenDefault: Pt2)(implicit ev: Slate[T]): T

2D geometric translation transformation on this type T, returning an object of type T with its default centre at the parameter point.

2D geometric translation transformation on this type T, returning an object of type T with its default centre at the parameter point.

Attributes

def tlBoundTo(newTopLeft: Pt2)(implicit ev: Slate[T]): T

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

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

Attributes

def trBoundTo(newTopRight: Pt2)(implicit ev: Slate[T]): T

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

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

Attributes

Concrete fields

val thisT: T