Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Right-compose a translation without multiplying the unchanged basis by an identity matrix.
Affine translated(const Number* offset) constRight-compose a translation without multiplying the unchanged basis by an identity matrix.
| Parameter | Type | Meaning |
|---|---|---|
offset | const Number * | Not documented; consult the linked header. |
Returns: Affine<Number>. Consult the linked header for its meaning.
#include "affine.hpp"
// Assume these named values have been initialized with valid data:
// const Number * offset
epok::Affine& object = /* obtain a valid instance */;
auto result = object.translated(offset);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/affine.hpp:38
composePerforms `compose` as part of fixed-point affine transforms and matrix composition.MethodidentityPerforms `identity` as part of fixed-point affine transforms and matrix composition.Methodidentity_basisPerforms `identity basis` as part of fixed-point affine transforms and matrix composition.MethodpointPerforms `point` as part of fixed-point affine transforms and matrix composition.Methodrotate_rowsRotate all basis columns with one already-resolved sine/cosine pair.Method