Sp3dFace class Null safety

(en) A flutter implementation of Sp3dFace. Sp3dFace is a class used in Sp3dFragment that handles information such as vertices.

(ja) Sp3dFaceのflutter実装です。 Sp3dFaceはSp3dFragment内で使用される、頂点などの情報を扱うクラスです。

Author Masahide Mori

First edition creation date 2021-06-30 23:39:49

Constructors

Sp3dFace(List<int> vertex_index_list, int? material_index)
Constructor [...]

Properties

class_name String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
material_index int?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
version String
final
vertex_index_list List<int>
read / write

Methods

deep_copy() Sp3dFace
Deep copy the object.
get_vertices(Sp3dObj obj) List<Sp3dV3D>
(en)Gets the vertices of this face. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
reverse() → void
(en)Reverse the orientation of this face. Internally, the order of the referenced indexes is reversed. [...]
reverse_ft() → void
(en)Reverse the orientation of this face. Internally, the order of 3D vectors except the beginning is reversed. [...]
reversed() Sp3dFace
(en)Returns a new face with the orientation of this face reversed. Internally, the order of the referenced indexes is reversed. [...]
reversed_ft() Sp3dFace
(en)Returns a new face with the orientation of this face reversed. Internally, the order of 3D vectors except the beginning is reversed. [...]
to_dict() Map<String, dynamic>
Convert the object to a dictionary.
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

from_dict(Map<String, dynamic> src) Sp3dFace
Restore this object from the dictionary. [...]