Interface DetailedTransformer
- All Known Implementing Classes:
DomainWarpTransformer
@NullMarked
public interface DetailedTransformer
Interface that denotes a detailed transformer, which is used to transform coordinate tuples parts before the noise generation step.
For a more efficient transform for transforming singular coordinate parts see
SimpleTransformer
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
transform1D
(double[] vec1D) Transforms an x coordinate before noise evaluation via a side-effect.void
transform2D
(double[] vec2D) Transforms an x and y coordinate before noise evaluation via a side-effect.void
transform3D
(double[] vec3D) Transforms an x, y and z coordinate before noise evaluation via a side-effect.void
transform4D
(double[] vec4D) Transforms an x, y, z and w coordinate before noise evaluation via a side-effect.
-
Method Details
-
transform1D
void transform1D(double[] vec1D) Transforms an x coordinate before noise evaluation via a side-effect.- Parameters:
vec1D
- a double array representing a 1D vector containing the x coordinate to transform.
-
transform2D
void transform2D(double[] vec2D) Transforms an x and y coordinate before noise evaluation via a side-effect.- Parameters:
vec2D
- a double array representing a 2D vector containing the x and y coordinate to transform.
-
transform3D
void transform3D(double[] vec3D) Transforms an x, y and z coordinate before noise evaluation via a side-effect.- Parameters:
vec3D
- a double array representing a 3D vector containing the x, y and z coordinate to transform.
-
transform4D
void transform4D(double[] vec4D) Transforms an x, y, z and w coordinate before noise evaluation via a side-effect.- Parameters:
vec4D
- a double array representing a 4D vector containing the x, y, z and w coordinate to transform.
-