Package net.runelite.api.model
Class Vertex
- java.lang.Object
-
- net.runelite.api.model.Vertex
-
public final class Vertex extends java.lang.ObjectRepresents a point in a three-dimensional space.
-
-
Constructor Summary
Constructors Constructor Description Vertex(int x, int y, int z)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)intgetX()intgetY()intgetZ()inthashCode()Vertexrotate(int orientation)Rotates the triangle by the given orientation.java.lang.StringtoString()
-
-
-
Method Detail
-
rotate
public Vertex rotate(int orientation)
Rotates the triangle by the given orientation.- Parameters:
orientation- passed orientation- Returns:
- new instance
-
getX
public int getX()
-
getY
public int getY()
-
getZ
public int getZ()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-