Matrix3x3 class final

A 3x3 matrix struct

Inheritance
Implemented types
Available extensions

Constructors

Matrix3x3.new()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
debugFields Map<String, dynamic>
Gets the debug fields for printing.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
structSize int
Gets the size of the struct in bytes.
no setteroverride
values Array<Float>
The values of the matrix
getter/setter pair

Methods

get(int row, int col) double
Gets the value at the specified row and column.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(int row, int col, double value) → void
Sets the value at the specified row and column.
setIdentity() → void
Sets the matrix to the identity matrix.
toJson() Map<String, dynamic>
Converts the Matrix3x3 to a JSON map.
override
toString() String
Gets the debug string representation of the Matrix3x3.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

alloc() Pointer<Matrix3x3>
Allocates memory for a Matrix3x3 instance.
create() Matrix3x3
Creates a Matrix3x3 instance.
override