Record Class TriangulationMethod.Triangulated
java.lang.Object
java.lang.Record
com.j3d.engine.scene.nodes.util.tri.TriangulationMethod.Triangulated
- Enclosing class:
TriangulationMethod
public static record TriangulationMethod.Triangulated(ArrayList<Vector3> newPoints, ArrayList<TriangulationMethod.Tri> tris)
extends Record
- Author:
- yetnt
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTriangulated(ArrayList<Vector3> newPoints, ArrayList<TriangulationMethod.Tri> tris) Creates an instance of aTriangulatedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thenewPointsrecord component.final StringtoString()Returns a string representation of this record class.tris()Returns the value of thetrisrecord component.
-
Field Details
-
newPoints
-
tris
The field for thetrisrecord component.
-
-
Constructor Details
-
Triangulated
Creates an instance of aTriangulatedrecord class.- Parameters:
newPoints- the value for thenewPointsrecord componenttris- the value for thetrisrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
newPoints
-
tris
Returns the value of thetrisrecord component.- Returns:
- the value of the
trisrecord component
-