Class Geographic3Dto2D.WKT
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.internal.referencing.provider.Geographic3Dto2D.WKT
- All Implemented Interfaces:
Parameterized
- Enclosing class:
- Geographic3Dto2D
A temporary placeholder used for formatting a
PARAM_MT["Geographic 3D to 2D conversion"] element in
Well-Known Text format. This placeholder is needed because there is no MathTransform implementation
for the Geographic 3D to 2D conversion, since we use affine transform instead.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleantrueif this placeholder is for the inverse transform instead of the direct one. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringFormats a Well Known Text version 1 (WKT 1) element for a transform using this group of parameters.org.opengis.parameter.ParameterDescriptorGroupReturns the parameters descriptor.org.opengis.parameter.ParameterValueGroupReturns the parameter values.Methods inherited from class org.apache.sis.io.wkt.FormattableObject
print, toString, toString, toWKT
-
Field Details
-
inverse
private final boolean inversetrueif this placeholder is for the inverse transform instead of the direct one.
-
-
Constructor Details
-
WKT
public WKT(boolean inverse) Creates a new object to be formatted.- Parameters:
inverse-falsefor the "Geographic3D to 2D" operation, ortruefor its inverse.
-
-
Method Details
-
getParameterDescriptors
public org.opengis.parameter.ParameterDescriptorGroup getParameterDescriptors()Returns the parameters descriptor.- Specified by:
getParameterDescriptorsin interfaceParameterized- Returns:
- the parameter descriptors for this object, or
null.
-
getParameterValues
public org.opengis.parameter.ParameterValueGroup getParameterValues()Returns the parameter values.- Specified by:
getParameterValuesin interfaceParameterized- Returns:
- the parameter values for this object, or
nullif unknown.
-
formatTo
Formats a Well Known Text version 1 (WKT 1) element for a transform using this group of parameters.Compatibility note:Param_MTis defined in the WKT 1 specification only. If the formatter convention is set to WKT 2, then this method silently uses the WKT 1 convention without raising an error.- Specified by:
formatToin classFormattableObject- Parameters:
formatter- the formatter where to format the inner content of this WKT element.- Returns:
"Param_MT"or"Inverse_MT".- See Also:
-