Package cz.fidentis.analyst.data.mesh
Enum Class MeshTriangle.Smoothing
- All Implemented Interfaces:
Serializable
,Comparable<MeshTriangle.Smoothing>
,Constable
- Enclosing interface:
MeshTriangle
Interpolation of the triangle surface points.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo interpolation.Interpolation of the normal vector only.Complete interpolation.Interpolation of the shape only. -
Method Summary
Modifier and TypeMethodDescriptionstatic MeshTriangle.Smoothing
Returns the enum constant of this class with the specified name.static MeshTriangle.Smoothing[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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
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
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 nameNullPointerException
- if the argument is null
-