class Transform
Defined at line 1592 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
A projective transformation of a 3D cartesian space.
A transform consists of a 4x4 matrix that operates in homogeneous
coordinates. For example, a point located at (x, y, z) in the cartesian
space is transformed by `M` to a point located at (x'/w', y'/w', z'/w'),
where `(x', y', z', w') = M (x, y, z, 1)`.
Public Methods
void Transform (Storage_ storage)
void Transform (::std::array<float, 16> matrix)
void Transform ()
Default constructs a |Transform| only if all of its members are default constructible.
Defined at line 1603 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
void Transform (Transform && )
Defined at line 1606 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
void Transform (const Transform & other)
Transform & operator= (Transform && )
Defined at line 1607 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
Transform & operator= (const Transform & other)
bool operator== (const Transform & other)
bool operator!= (const Transform & other)
const ::std::array<float, 16> & matrix ()
The entries in the transformation matrix in row major order.
Specifically, if the matrix is as follows:
```
a b c d
e f g h
i j k l
m n o p
```
then the entries in this array are
`(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)`.
::std::array<float, 16> & matrix ()
The entries in the transformation matrix in row major order.
Specifically, if the matrix is as follows:
```
a b c d
e f g h
i j k l
m n o p
```
then the entries in this array are
`(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)`.
Transform & matrix (::std::array<float, 16> value)
The entries in the transformation matrix in row major order.
Specifically, if the matrix is as follows:
```
a b c d
e f g h
i j k l
m n o p
```
then the entries in this array are
`(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)`.
void Transform (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits