Package com.luciad.meshup
Enum Class ELcdSimplificationStrategy
- All Implemented Interfaces:
Serializable
,Comparable<ELcdSimplificationStrategy>
,Constable
3D mesh simplification strategies.
- Since:
- 2020.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSimplification based on vertex clustering.Simplification by dropping small objects.Simplification based on a iterative edge collapse. -
Method Summary
Modifier and TypeMethodDescriptionstatic ELcdSimplificationStrategy
Returns the enum constant of this class with the specified name.static ELcdSimplificationStrategy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QUADRIC_EDGE_COLLAPSE
Simplification based on a iterative edge collapse. This is the default strategy, as it gives the best all-around results. It can be used for both "reality meshes" or CAD like meshes. In cases where the input dataset is made up of extremely simple shapes (e.g.: cubes), the results can be rather displeasing because the meshes cannot be simplified without changing the topology significantly. in such casesDROP_SMALL_PARTS
should be used. -
CLUSTERING
Simplification based on vertex clustering. This strategy gives comparable results toQUADRIC_EDGE_COLLAPSE
with slightly faster performance and slightly worse visual results. This strategy tends to preserve the edges of the dataset better for "reality meshes". -
DROP_SMALL_PARTS
Simplification by dropping small objects. Removes small independent pieces. This works best when the original shapes are very simple (like blocks) and cannot be simplified without changing the topology of the mesh significantly. This strategy should not be used with "reality meshes" since those are usually one solid piece.
-
-
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
-