Enum Class MeshTriangle.Smoothing

java.lang.Object
java.lang.Enum<MeshTriangle.Smoothing>
cz.fidentis.analyst.data.mesh.MeshTriangle.Smoothing
All Implemented Interfaces:
Serializable, Comparable<MeshTriangle.Smoothing>, Constable
Enclosing interface:
MeshTriangle

public static enum MeshTriangle.Smoothing extends Enum<MeshTriangle.Smoothing>
Interpolation of the triangle surface points.
  • Enum Constant Details

    • NONE

      public static final MeshTriangle.Smoothing NONE
      No interpolation. Point from the supporting plane of the triangle is used as the surface point. Triangle's normal vector is used as the surface normal.
    • NORMAL

      public static final MeshTriangle.Smoothing NORMAL
      Interpolation of the normal vector only. Point from the supporting plane of the triangle is used as the surface point. Normal vector is interpolated from normals of vertices.
    • SHAPE

      public static final MeshTriangle.Smoothing SHAPE
      Interpolation of the shape only. Point from the supporting plane if moved "above" the surface to interpolate curvature of the surface. Triangle's normal vector is used as the surface normal.
    • NORMAL_AND_SHAPE

      public static final MeshTriangle.Smoothing NORMAL_AND_SHAPE
      Complete interpolation. Point from the supporting plane if moved "above" the surface to interpolate curvature of the surface. Normal vector is interpolated from normals of vertices.
  • Method Details

    • values

      public static MeshTriangle.Smoothing[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MeshTriangle.Smoothing valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null