Sp3dFace class
(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
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- materialIndex ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
vertexIndexList
↔ List<
int> -
getter/setter pair
Methods
-
deepCopy(
) → Sp3dFace - Deep copy the object.
-
getCenter(
Sp3dObj parent) → Sp3dV3D - (en)Gets the average coordinates of this face.
-
getVertices(
Sp3dObj obj) → List< Sp3dV3D> - (en)Gets the vertices of this face.
-
move(
Sp3dObj parent, Sp3dV3D v) → Sp3dFace - (en)Adds the specified vector to all vectors of this Face.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reverse(
) → void - (en)Reverse the orientation of this face. Internally, the order of the referenced indexes 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.
-
reversedFt(
) → Sp3dFace - (en)Returns a new face with the orientation of this face reversed. Internally, the order of 3D vectors except the beginning is reversed.
-
reverseFt(
) → void - (en)Reverse the orientation of this face. Internally, the order of 3D vectors except the beginning is reversed.
-
rotate(
Sp3dObj parent, Sp3dV3D norAxis, double radian) → Sp3dFace - (en)Rotates all vectors of this face based on the specified axis.
-
rotateBy(
Sp3dV3D center, Sp3dObj parent, Sp3dV3D norAxis, double radian) → Sp3dFace - (en)Rotates all vectors of this face based on the specified axis. This method allows you to rotate this face around any point.
-
rotateInPlace(
Sp3dObj parent, Sp3dV3D norAxis, double radian) → Sp3dFace - (en)Rotates all vectors of this face based on the specified axis. Unlike rotate, rotateInPlace rotates around the mean coordinates of this face as the origin.
-
toDict(
) → 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