BinPack2DSize (struct)¶
A BinPack2DSize describes the size inside of a BinPack2DRegion
Methods¶
SInt32 | Area ? () |
BinPack2DSize ( in BinPack2DSize other ) | |
BinPack2DSize ( in SInt32 w, in SInt32 h ) | |
BinPack2DSize () | |
Boolean | Contains ? ( in BinPack2DSize that ) |
Boolean | IsEmpty ? () |
BinPack2DSize | Rotated ? () |
BinPack2DSize | clone ? () |
Methods in detail¶
SInt32 BinPack2DSize.Area? ()
computes the area of this size
BinPack2DSize ( in BinPack2DSize other )
copy constructor
BinPack2DSize ( in SInt32 w, in SInt32 h )
default constructor from width and height
default constructor
Boolean BinPack2DSize.Contains? ( in BinPack2DSize that )
returns true if this size can contain another one
Boolean BinPack2DSize.IsEmpty? ()
returns true if this size has no space
BinPack2DSize BinPack2DSize.Rotated? ()
returns this size as a rotated version
BinPack2DSize BinPack2DSize.clone? ()
clone method