Class DefaultPlanarProjection
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.referencing.AbstractIdentifiedObject
org.apache.sis.referencing.operation.AbstractCoordinateOperation
org.apache.sis.referencing.operation.AbstractSingleOperation
org.apache.sis.referencing.operation.DefaultConversion
org.apache.sis.referencing.operation.DefaultProjection
org.apache.sis.referencing.operation.DefaultPlanarProjection
- All Implemented Interfaces:
Serializable
,Formattable
,Parameterized
,Deprecable
,LenientComparable
,org.opengis.referencing.IdentifiedObject
,org.opengis.referencing.operation.Conversion
,org.opengis.referencing.operation.CoordinateOperation
,org.opengis.referencing.operation.PlanarProjection
,org.opengis.referencing.operation.Projection
,org.opengis.referencing.operation.SingleOperation
final class DefaultPlanarProjection
extends DefaultProjection
implements org.opengis.referencing.operation.PlanarProjection
Azimuthal (or planar) map projections.
- Since:
- 0.6
- Version:
- 0.6
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
Serial number for inter-operability with different versions.Fields inherited from class org.apache.sis.referencing.operation.AbstractSingleOperation
parameters
Fields inherited from class org.apache.sis.referencing.operation.AbstractCoordinateOperation
coordinateOperationAccuracy, domainOfValidity, sourceCRS, targetCRS, transform
Fields inherited from class org.apache.sis.referencing.AbstractIdentifiedObject
DEPRECATED_KEY, LOCALE_KEY
Fields inherited from interface org.opengis.referencing.operation.CoordinateOperation
COORDINATE_OPERATION_ACCURACY_KEY, DOMAIN_OF_VALIDITY_KEY, OPERATION_VERSION_KEY, SCOPE_KEY
Fields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
-
Constructor Summary
ConstructorsModifierConstructorDescriptionDefaultPlanarProjection
(Map<String, ?> properties, org.opengis.referencing.crs.GeographicCRS sourceCRS, org.opengis.referencing.crs.ProjectedCRS targetCRS, org.opengis.referencing.operation.OperationMethod method, org.opengis.referencing.operation.MathTransform transform) Creates a projection from the given properties.(package private)
DefaultPlanarProjection
(org.opengis.referencing.operation.Conversion definition, org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRS, org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS, org.opengis.referencing.operation.MathTransformFactory factory, org.opengis.referencing.operation.OperationMethod[] actual) Creates a new projection with the same values than the specified one, together with the specified source and target CRS.protected
DefaultPlanarProjection
(org.opengis.referencing.operation.PlanarProjection operation) Creates a new coordinate operation with the same values than the specified one. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends org.opengis.referencing.operation.PlanarProjection>
Returns the GeoAPI interface implemented by this class.Methods inherited from class org.apache.sis.referencing.operation.DefaultProjection
getSourceCRS, getTargetCRS
Methods inherited from class org.apache.sis.referencing.operation.DefaultConversion
castOrCopy, specialize
Methods inherited from class org.apache.sis.referencing.operation.AbstractSingleOperation
afterUnmarshal, equals, getMethod, getParameterDescriptors, getParameterValues, setParameterValues
Methods inherited from class org.apache.sis.referencing.operation.AbstractCoordinateOperation
castOrCopy, checkDimensions, computeHashCode, computeTransientFields, formatTo, getCoordinateOperationAccuracy, getDomainOfValidity, getInterpolationCRS, getInterpolationCRS, getLinearAccuracy, getMathTransform, getOperationVersion, getParameterDescriptors, getScope, getWrapAroundChanges, isDefiningConversion
Methods inherited from class org.apache.sis.referencing.AbstractIdentifiedObject
castOrCopy, equals, formatTo, getAlias, getDescription, getIdentifiers, getName, getRemarks, hashCode, isDeprecated, isHeuristicMatchForName
Methods inherited from class org.apache.sis.io.wkt.FormattableObject
print, toString, toString, toWKT
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.referencing.operation.Conversion
getOperationVersion, getSourceCRS, getTargetCRS
Methods inherited from interface org.opengis.referencing.operation.CoordinateOperation
getCoordinateOperationAccuracy, getDomainOfValidity, getMathTransform, getScope
Methods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
Methods inherited from interface org.opengis.referencing.operation.SingleOperation
getMethod, getParameterValues
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for inter-operability with different versions.- See Also:
-
-
Constructor Details
-
DefaultPlanarProjection
public DefaultPlanarProjection(Map<String, ?> properties, org.opengis.referencing.crs.GeographicCRS sourceCRS, org.opengis.referencing.crs.ProjectedCRS targetCRS, org.opengis.referencing.operation.OperationMethod method, org.opengis.referencing.operation.MathTransform transform) Creates a projection from the given properties.- Parameters:
properties
- the properties to be given to the identified object.sourceCRS
- the source CRS.targetCRS
- the target CRS.method
- the coordinate operation method.transform
- transform from positions in the source CRS to positions in the target CRS.
-
DefaultPlanarProjection
DefaultPlanarProjection(org.opengis.referencing.operation.Conversion definition, org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRS, org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS, org.opengis.referencing.operation.MathTransformFactory factory, org.opengis.referencing.operation.OperationMethod[] actual) throws org.opengis.util.FactoryException Creates a new projection with the same values than the specified one, together with the specified source and target CRS. While the source conversion can be an arbitrary one, it is typically a defining conversion.- Parameters:
definition
- the defining conversion.sourceCRS
- the source CRS.targetCRS
- the target CRS.factory
- the factory to use for creating a transform from the parameters or for performing axis changes.actual
- an array of length 1 where to store the actual operation method used by the math transform factory.- Throws:
org.opengis.util.FactoryException
-
DefaultPlanarProjection
protected DefaultPlanarProjection(org.opengis.referencing.operation.PlanarProjection operation) Creates a new coordinate operation with the same values than the specified one. This copy constructor provides a way to convert an arbitrary implementation into a SIS one or a user-defined one (as a subclass), usually in order to leverage some implementation-specific API.This constructor performs a shallow copy, i.e. the properties are not cloned.
- Parameters:
operation
- the coordinate operation to copy.
-
-
Method Details
-
getInterface
Returns the GeoAPI interface implemented by this class. The SIS implementation returnsPlanarProjection.class
.- Overrides:
getInterface
in classDefaultProjection
- Returns:
PlanarProjection.class
.
-