BoundingBox

doodle.core.BoundingBox
See theBoundingBox companion object

A doodle.core.BoundingBox represents a bounding box around an picture.

A bounding box also defines a local coordinate system for a picture. The bounding box must contain the origin of the coordinate system. However the origin need not be centered within the box.

No particular guarantees are made about the tightness of the bounding box, though it can assumed to be reasonably tight.

Attributes

Companion
object
Source
BoundingBox.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
BoundingBox.scala

Attributes

Source
BoundingBox.scala

Expand bounding box to enclose the given Point.

Expand bounding box to enclose the given Point.

Attributes

Source
BoundingBox.scala

Evaluate the landmark relative to the origin of this bounding box, returning the location described by the landmark.

Evaluate the landmark relative to the origin of this bounding box, returning the location described by the landmark.

Attributes

Source
BoundingBox.scala

Add expansion to all sides of this bounding box.

Add expansion to all sides of this bounding box.

Attributes

Source
BoundingBox.scala
def height: Double

Attributes

Source
BoundingBox.scala

Attributes

Source
BoundingBox.scala

Attributes

Source
BoundingBox.scala
def width: Double

Attributes

Source
BoundingBox.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product