## Uses of Class
org.eclipse.gef.geometry.planar.Dimension

Packages that use Dimension
org.eclipse.gef.geometry.planar: This package provides support for geometric calculations based on shapes.

### Uses of Dimension in org.eclipse.gef.geometry.planar

Methods in org.eclipse.gef.geometry.planar that return Dimension
`Dimension` Dimension.`clone()`
`Dimension` Dimension.`expand​(double w, double h)` Expands the size of this Dimension by the specified width and height.
`Dimension` Dimension.`expand​(Dimension d)` Expands the size of this Dimension by the specified amount.
`Dimension` Dimension.`getCopy()` Creates and returns a copy of this `Dimension`.
`Dimension` Dimension.`getExpanded​(double w, double h)` Creates and returns a new Dimension representing the sum of this `Dimension` and the one specified.
`Dimension` Dimension.`getExpanded​(Dimension d)` Creates and returns a `Dimension` representing the sum of this `Dimension` and the one specified.
`Dimension` Dimension.`getIntersected​(Dimension d)` Creates and returns a new Dimension representing the intersection of this Dimension and the one specified.
`Dimension` Dimension.`getNegated()` Creates and returns a new Dimension with negated values.
`Dimension` Dimension.`getScaled​(double amount)` Creates a new Dimension with its width and height scaled by the specified value.
`Dimension` Dimension.`getScaled​(double widthFactor, double heightFactor)` Creates a new Dimension with its width and height scaled by the specified values.
`Dimension` Dimension.`getShrinked​(double w, double h)` Creates and returns a new Dimension whose size will be reduced by the given width and height.
`Dimension` Dimension.`getShrinked​(Dimension d)` Creates and returns a new Dimension whose size will be reduced by the width and height of the given Dimension.
`Dimension` Dimension.`getTransposed()` Creates a new Dimension with its height and width swapped.
`Dimension` Dimension.`getUnioned​(Dimension d)` Creates a new Dimension representing the union of this Dimension with the one specified.
`Dimension` Dimension.`intersect​(Dimension d)` This Dimension is intersected with the one specified.
`static Dimension` Dimension.`max​(Dimension d1, Dimension d2)` Creates a new `Dimension` representing the maximum of the two provided `Dimension`s.
`static Dimension` Dimension.`min​(Dimension d1, Dimension d2)` Creates a new `Dimension` representing the minimum of the two provided `Dimension`s.
`Dimension` Dimension.`negate()` Negates the width and height of this Dimension.
`Dimension` Dimension.`scale​(double factor)` Scales the width and height of this Dimension by the amount supplied, and returns this for convenience.
`Dimension` Dimension.`scale​(double widthFactor, double heightFactor)` Scales the width of this Dimension by w and scales the height of this Dimension by h.
`Dimension` Dimension.`setHeight​(double height)` Sets the height of this Rectangle to the specified one.
`Dimension` Dimension.`setSize​(double w, double h)` Sets the size of this dimension to the specified width and height.
`Dimension` Dimension.`setSize​(Dimension d)` Copies the width and height values of the input Dimension to this Dimension.
`Dimension` Dimension.`setWidth​(double width)` Sets the width of this Rectangle to the specified one.
`Dimension` Dimension.`shrink​(double w, double h)` Reduces the width of this Dimension by w, and reduces the height of this Dimension by h.
`Dimension` Dimension.`shrink​(Dimension d)` Shrinks the size of this Dimension by the width and height values of the given Dimension.
`Dimension` Dimension.`transpose()` Swaps the width and height of this Dimension, and returns this for convenience.
`Dimension` Dimension.`union​(Dimension d)` Sets the width of this Dimension to the greater of this Dimension's width and d.width.

Methods in org.eclipse.gef.geometry.planar with parameters of type Dimension
`boolean` Dimension.`contains​(Dimension d)` Checks if the given `Dimension` fits into this `Dimension`.
`Dimension` Dimension.`expand​(Dimension d)` Expands the size of this Dimension by the specified amount.
`Dimension` Dimension.`getExpanded​(Dimension d)` Creates and returns a `Dimension` representing the sum of this `Dimension` and the one specified.
`Dimension` Dimension.`getIntersected​(Dimension d)` Creates and returns a new Dimension representing the intersection of this Dimension and the one specified.
`Dimension` Dimension.`getShrinked​(Dimension d)` Creates and returns a new Dimension whose size will be reduced by the width and height of the given Dimension.
`Point` Point.`getTranslated​(Dimension d)` Creates a new Point which is translated by the values of the input Dimension.
`Dimension` Dimension.`getUnioned​(Dimension d)` Creates a new Dimension representing the union of this Dimension with the one specified.
`Dimension` Dimension.`intersect​(Dimension d)` This Dimension is intersected with the one specified.
`static Dimension` Dimension.`max​(Dimension d1, Dimension d2)` Creates a new `Dimension` representing the maximum of the two provided `Dimension`s.
`static Dimension` Dimension.`min​(Dimension d1, Dimension d2)` Creates a new `Dimension` representing the minimum of the two provided `Dimension`s.
`Dimension` Dimension.`setSize​(Dimension d)` Copies the width and height values of the input Dimension to this Dimension.
`Dimension` Dimension.`shrink​(Dimension d)` Shrinks the size of this Dimension by the width and height values of the given Dimension.
`Point` Point.`translate​(Dimension d)` Shifts this Point by the values of the Dimension along each axis, and returns this for convenience.
`Dimension` Dimension.`union​(Dimension d)` Sets the width of this Dimension to the greater of this Dimension's width and d.width.

Constructors in org.eclipse.gef.geometry.planar with parameters of type Dimension
`Dimension​(Dimension d)` Constructs a `Dimension` with the width and height of the passed-in `Dimension`.
`Rectangle​(Point location, Dimension size)` Constructs a new `Rectangle` with the given location and size.