DoubleDimension
Initializes a new DoubleDimension
instance with both width and height set to zero.
Initializes a new DoubleDimension
instance using another Dimension2D object's data. No side effects.
Parameters
d
is the objects used to get the data
Initializes a new DoubleDimension
using raw data.
Parameters
w
is the double
containing the width
h
is the double
containing the height
Initializes a new DoubleDimension
through an array of numbers. d[0] is width, d[1] is height, other elements will be ignored.
Parameters
d
is a mono-dimensional array of Number.