All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jeometry.geom3D.primitive.Triangle Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package org.jeometry.geom3D.primitive;

import org.jeometry.Jeometry;
import org.jeometry.geom3D.mesh.Face;
import org.jeometry.geom3D.mesh.Mesh;
import org.jeometry.geom3D.point.Point3D;

/**
 * A triangle is a 3D polygon hat relies on 3 non aligned vertices.
 * @param  the type of underlying 3D points
 * @author Julien Seinturier - COMEX S.A. - [email protected] - https://github.com/jorigin/jeometry
 * @version {@value Jeometry#version} build {@value Jeometry#BUILD}
 * @since 1.0.0
 * @see Mesh
 * @see Face
 * @see Polygon3D
 */
public interface Triangle extends Face{
  
  /**
   * Get the first vertex of the triangle.
   * @return the first vertex of the triangle.
   * @see #getVertex2()
   * @see #getVertex3()
   */
  public T getVertex1();
  
  /**
   * Get the second vertex of the triangle.
   * @return the second vertex of the triangle.
   * @see #getVertex1()
   * @see #getVertex3()
   */
  public T getVertex2();
  
  /**
   * Get the third vertex of the triangle.
   * @return the third vertex of the triangle.
   * @see #getVertex1()
   * @see #getVertex2()
   */
  public T getVertex3();
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy