public class DefaultSphericalCS extends AbstractCS implements SphericalCS
|Used with CRS||Permitted axis names|
|Geocentric||“Spherical Latitude”, “ Spherical Longitude”, “Geocentric Radius”|
CoordinateSystemAxisinstances given to the constructor are also immutable. Unless otherwise noted in the javadoc, this condition holds if all components were created using only SIS factories and static constants.
GeodeticAuthorityFactory.createSphericalCS(String), Serialized Form
Defined in the
|Modifier||Constructor and Description|
Constructs a three-dimensional coordinate system from a set of properties.
Creates a new coordinate system with the same values than the specified one.
|Modifier and Type||Method and Description|
Returns a SIS coordinate system implementation with the same values than the given arbitrary implementation.
Returns a coordinate system equivalent to this one but with axes rearranged according the given convention.
Returns the GeoAPI interface implemented by this class.
castOrCopy, computeHashCode, equals, formatTo, getAxis, getDimension
castOrCopy, equals, getAlias, getDescription, getIdentifiers, getName, getRemarks, hashCode, isDeprecated, isHeuristicMatchForName
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public DefaultSphericalCS(Map<String,?> properties, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1, CoordinateSystemAxis axis2)
|Property name||Value type||Returned by|
properties- The properties to be given to the identified object.
axis0- The first axis (e.g. “Spherical latitude”).
axis1- The second axis (e.g. “Spherical longitude”).
axis2- The third axis (e.g. “Geocentric radius”).
GeodeticObjectFactory.createSphericalCS(Map, CoordinateSystemAxis, CoordinateSystemAxis, CoordinateSystemAxis)
protected DefaultSphericalCS(SphericalCS cs)
This constructor performs a shallow copy, i.e. the properties are not cloned.
cs- The coordinate system to copy.
public static DefaultSphericalCS castOrCopy(SphericalCS object)
null, then this method returns
null. Otherwise if the given object is already a SIS implementation, then the given object is returned unchanged. Otherwise a new SIS implementation is created and initialized to the attribute values of the given object.
object- The object to get as a SIS implementation, or
nullif the argument was null.
public Class<? extends SphericalCS> getInterface()
SphericalCSsub-interface. Overriding possibility is left mostly for implementors who wish to extend GeoAPI with their own set of interfaces.
public DefaultSphericalCS forConvention(AxesConvention convention)
Copyright © 2010–2016 The Apache Software Foundation. All rights reserved.