2D Size
This page has been automatically translated using the Google Translate API services. We are working on improving texts. Thank you for your understanding and patience.
Functions
S2D | s2d (...) |
Types and Constants
S2D | kZERO |
The S2Df
, S2Dd
structure stores information about a measure or size in two dimensions using its fields width
and height
.
- Use s2df to compose a measure through its elementary fields.
kZERO
const S2Df kS2D_ZEROf; const S2Dd kS2D_ZEROd; const S2D S2D::kZERO;
[0,0]
value.
s2d ()
Create a 2d size from two values.
S2Df s2df(const real32_t width, const real32_t height); S2Dd s2dd(const real64_t width, const real64_t height); S2D S2D(const real width, const real height);
width | Width. |
height | Height. |
Return
The size.