java.lang.Object
org.noise_planet.noisemodelling.pathfinder.delaunay.Triangle

public class Triangle extends Object
A triangle built from the combination of the 3 vertices index.
Author:
Nicolas Fortin
  • Constructor Details

    • Triangle

      public Triangle(int a, int b, int c, int attribute)
    • Triangle

      public Triangle(int a, int b, int c)
  • Method Details

    • getA

      public int getA()
    • get

      public int get(int id)
    • getAttribute

      public int getAttribute()
    • setAttribute

      public void setAttribute(int attribute)
      Parameters:
      attribute - new Attribute value for this triangle
    • set

      public void set(int id, int index)
    • setA

      public void setA(int a)
    • getB

      public int getB()
    • setB

      public void setB(int b)
    • getC

      public int getC()
    • setC

      public void setC(int c)