java.lang.Object
com.sk89q.worldedit.regions.polyhedron.Edge

public class Edge extends Object
  • Constructor Details

  • Method Details

    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • createTriangle

      public Triangle createTriangle(Vector3 vertex)
      Create a triangle from { this.start, this.end, vertex }
      Parameters:
      vertex - the 3rd vertex for the triangle
      Returns:
      a triangle
    • createTriangle2

      public Triangle createTriangle2(Vector3 vertex)
      Create a triangle from { this.start, vertex, this.end }.
      Parameters:
      vertex - the second vertex
      Returns:
      a new triangle