Epok Engine

EPOK RUNTIME

epok::Affine::translated

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.

Method

Right-compose a translation without multiplying the unchanged basis by an identity matrix.

Belongs to
epok::Affine
Header
affine.hpp
Overloads
1

Declaration

const
Declaration
Affine translated(const Number* offset) const

Right-compose a translation without multiplying the unchanged basis by an identity matrix.

ParameterTypeMeaning
offsetconst Number *Not documented; consult the linked header.

Returns: Affine<Number>. Consult the linked header for its meaning.

Example sketch

C++ example
#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);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/affine.hpp:38

Related members