A local coordinate system, with uncertain relationship to the world. In general, a local coordinate system cannot be related to other coordinate systems. However, if two objects supporting this interface have the same dimension, axes, units and datum then client code is permitted to assume that the two coordinate systems are identical. This allows several datasets from a common source (e.g. a CAD system) to be overlaid. In addition, some implementations of the Coordinate Transformation (CT) package may have a mechanism for correlating local datums. (E.g. from a database of transformations, which is created and maintained from real-world measurements.)
RGeo’s implementation does not provide the Coordinate Transformation (CT) package.
Gets the local datum.
Create a LocalCoordinateSystem given a name, a LocalDatum, a Unit, and an array of at least one AxisInfo. You may also provide the optional parameters specified by the Info interface.
# File lib/rgeo/coord_sys/cs/entities.rb, line 1236 def create(name_, local_datum_, unit_, axes_, *optional_) new(name_, local_datum_, unit_, axes_, *optional_) end
Implements RGeo::CoordSys::CS::CoordinateSystem#get_axis
# File lib/rgeo/coord_sys/cs/entities.rb, line 1207 def get_axis(index_) @axes[index_] end
Implements RGeo::CoordSys::CS::CoordinateSystem#get_units
# File lib/rgeo/coord_sys/cs/entities.rb, line 1214 def get_units(index_) @unit end