OSID Logo
OSID Specifications
mapping package
Version 3.0.0
Release Candidate Preview
Interfaceosid.mapping.Coordinate
Implementsosid.OsidPrimitive
Description

A coordinate represents a position.

MethodgetCoordinateType
Description

Gets the Type of this Coordinate which indicates the format of the coordinate data.

Returnosid.type.Typethe coordinate type
CompliancemandatoryThis method must be implemented.
MethodgetDimensions
Description

Gets the number of dimensions available in this coordinate.

Returncardinalthe number of dimensions
CompliancemandatoryThis method must be implemented.
MethodgetValues
Description

Gets the values of this coordinate. The size of the returned array should equal getDimensions().

Returndecimal[]the coordinate values
CompliancemandatoryThis method must be implemented.
MethoddefinesUncertainty
Description

Tests if uncertainty is defined for this heading.

Returnboolean true if uncertainty is defined, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetUncertaintyMinus
Description

Gets the uncertainty in the negtive direction for each value of this coordinate. The size of the returned array is typically one less than getDimensions().

Returndecimal[]the negative uncertainty values
CompliancemandatoryThis method must be implemented.
MethodgetUncertaintyPlus
Description

Gets the uncertainty in the positive direction for each value of this coordinate. The size of the returned array is typically one less than getDimensions().

Returndecimal[]the positive uncertainty values
CompliancemandatoryThis method must be implemented.