# Uses of Interface
org.opengis.geometry.DirectPosition

Packages that use DirectPosition
Package
Description
org.apache.sis.coordinate
Tuple of coordinate values.
org.apache.sis.coverage
Functions that associates positions within a bounded space (its domain) to values (its range).
org.apache.sis.coverage.grid
A coverage backed by a regular grid.
org.apache.sis.geometry
Basic geometric objects (envelopes and direct positions).
org.apache.sis.gui.map
Widgets for showing a map in a JavaFX application.
org.apache.sis.gui.referencing
Widgets about coordinate reference systems.
org.apache.sis.math
A set of mathematical objects and algebraic utilities.
org.apache.sis.measure
Units of measurements, values related to measurement (like angles and ranges) and their formatters.
org.apache.sis.metadata.iso.extent
Information about spatial, vertical, and temporal extent.
org.apache.sis.metadata.iso.spatial
Information about the mechanisms (grid or vector) used to represent spatial data.
org.apache.sis.portrayal
Symbology and map representations, together with a rendering engine for display.
org.apache.sis.referencing
Base classes for reference systems used for general positioning.
org.apache.sis.referencing.gazetteer
Mapping between geographic identifiers (addresses, grid indexes…) and locations (descriptions, coordinates…).
org.apache.sis.referencing.operation
Relationship between any two Coordinate Reference Systems (CRS).
org.apache.sis.referencing.operation.builder
Helper classes for creating Math Transforms from a set of points.
org.apache.sis.referencing.operation.matrix
Matrix implementations for spatiotemporal referencing.
org.apache.sis.referencing.operation.transform
Conversions or transformations of multi-dimensional coordinate tuples.
org.apache.sis.util
Simple data objects and miscellaneous utilities.
org.opengis.geometry
org.opengis.geometry.coordinate
org.opengis.metadata.spatial
Spatial representation information (includes grid and vector representation).
org.opengis.referencing.operation
Coordinate operations (relationship between any two coordinate reference systems).

- ## Uses of DirectPosition in org.apache.sis.coordinate

  Classes in org.apache.sis.coordinate that implement interfaces with type arguments of type DirectPosition
  Modifier and Type
  Class
  Description
  `class`
  `AbstractCoordinateSet`
  Skeletal implementation of a collection of coordinate tuples referenced to the same CRS and epoch.
  Methods in org.apache.sis.coordinate that return types with arguments of type DirectPosition
  Modifier and Type
  Method
  Description
  `abstract Iterator<DirectPosition>`
  AbstractCoordinateSet.`iterator()`
  Returns the positions described by coordinate tuples.
  `Stream<DirectPosition>`
  AbstractCoordinateSet.`stream()`
  Returns a stream of coordinate tuples.

- ## Uses of DirectPosition in org.apache.sis.coverage

  Subinterfaces with type arguments of type DirectPosition in org.apache.sis.coverage
  Modifier and Type
  Interface
  Description
  `static interface`
  `BandedCoverage.Evaluator`
  Computes or interpolates values of sample dimensions at given positions.
  Methods in org.apache.sis.coverage with parameters of type DirectPosition
  Modifier and Type
  Method
  Description
  `double[]`
  BandedCoverage.Evaluator.`apply(DirectPosition point)`
  Returns a sequence of double values for a given point in the coverage.
  Method parameters in org.apache.sis.coverage with type arguments of type DirectPosition
  Modifier and Type
  Method
  Description
  `default Stream<double[]>`
  BandedCoverage.Evaluator.`stream(Collection<? extends DirectPosition> points, boolean parallel)`
  Returns a stream of sample values for each point of the given collection.

- ## Uses of DirectPosition in org.apache.sis.coverage.grid

  Methods in org.apache.sis.coverage.grid that return DirectPosition
  Modifier and Type
  Method
  Description
  `DirectPosition`
  DimensionalityReduction.`apply(DirectPosition source)`
  Returns a coordinate tuple on which dimensionality reduction has been applied.
  `DirectPosition`
  FractionalGridCoordinates.`toPosition(MathTransform gridToCRS)`
  Returns the grid coordinates converted to a geospatial position using the given transform.
  Methods in org.apache.sis.coverage.grid that return types with arguments of type DirectPosition
  Modifier and Type
  Method
  Description
  `Optional<DirectPosition>`
  GridGeometry.`getConstantCoordinates()`
  If the envelope has some coordinates that may be considered as constant, returns these coordinates.
  Methods in org.apache.sis.coverage.grid with parameters of type DirectPosition
  Modifier and Type
  Method
  Description
  `DirectPosition`
  DimensionalityReduction.`apply(DirectPosition source)`
  Returns a coordinate tuple on which dimensionality reduction has been applied.
  `GridDerivation`
  GridDerivation.`slice(DirectPosition slicePoint)`
  Requests a grid geometry for a slice at the given "real world" position.
  `FractionalGridCoordinates`
  GridCoverage.Evaluator.`toGridCoordinates(DirectPosition point)`
  Converts the specified geospatial position to grid coordinates.

- ## Uses of DirectPosition in org.apache.sis.geometry

  Classes in org.apache.sis.geometry that implement DirectPosition
  Modifier and Type
  Class
  Description
  `class`
  `AbstractDirectPosition`
  Default implementations of some `DirectPosition` methods, leaving the data storage to subclasses.
  `class`
  `DirectPosition1D`
  A one-dimensional position within some coordinate reference system.
  `class`
  `DirectPosition2D`
  A two-dimensional position on top of Java2D point.
  `class`
  `GeneralDirectPosition`
  A mutable `DirectPosition` (the coordinates of a position) of arbitrary dimension.
  `final class`
  `ImmutableDirectPosition`
  An immutable `DirectPosition` (the coordinates of a position) of arbitrary dimension.
  Subclasses with type arguments of type DirectPosition in org.apache.sis.geometry
  Modifier and Type
  Class
  Description
  `class`
  `CoordinateFormat`
  Formats spatiotemporal coordinates using number, angle and date formats inferred from the coordinate system.
  Methods in org.apache.sis.geometry that return DirectPosition
  Modifier and Type
  Method
  Description
  `final DirectPosition`
  AbstractDirectPosition.`getDirectPosition()`
  Returns this direct position.
  `final DirectPosition`
  DirectPosition2D.`getDirectPosition()`
  Returns this direct position.
  `DirectPosition`
  AbstractEnvelope.`getLowerCorner()`
  A coordinate position consisting of all the lower coordinate values.
  `DirectPosition`
  AbstractEnvelope.`getMedian()`
  A coordinate position consisting of all the median coordinate values.
  `DirectPosition`
  AbstractEnvelope.`getUpperCorner()`
  A coordinate position consisting of all the upper coordinate values.
  `DirectPosition`
  CoordinateFormat.`parse(CharSequence text, ParsePosition pos)`
  Parses a coordinate from the given character sequence.
  `DirectPosition`
  WraparoundAdjustment.`shift(DirectPosition pointOfInterest)`
  Computes a position with coordinates equivalent to the given `pointOfInterest`, but potentially shifted to interior of the domain of validity specified at construction time.
  Methods in org.apache.sis.geometry that return types with arguments of type DirectPosition
  Modifier and Type
  Method
  Description
  `final Class<DirectPosition>`
  CoordinateFormat.`getValueType()`
  Returns the base type of values parsed and formatted by this `Format` instance.
  Methods in org.apache.sis.geometry with parameters of type DirectPosition
  Modifier and Type
  Method
  Description
  `void`
  GeneralEnvelope.`add(DirectPosition position)`
  Adds a point to this envelope.
  `static AbstractDirectPosition`
  AbstractDirectPosition.`castOrCopy(DirectPosition position)`
  Returns the given position as an `AbstractDirectPosition` instance.
  `static ImmutableDirectPosition`
  ImmutableDirectPosition.`castOrCopy(DirectPosition position)`
  Returns the given position as an `ImmutableDirectPosition` instance.
  `boolean`
  AbstractEnvelope.`contains(DirectPosition position)`
  Tests if a specified coordinate is inside the boundary of this envelope.
  `String`
  CoordinateFormat.`format(DirectPosition position)`
  Formats the given coordinate.
  `void`
  CoordinateFormat.`format(DirectPosition position, Appendable toAppendTo)`
  Formats the given coordinate and appends the resulting text to the given stream or buffer.
  `void`
  AbstractDirectPosition.`setLocation(DirectPosition position)`
  Sets this direct position to the given position.
  `void`
  DirectPosition1D.`setLocation(DirectPosition position)`
  Sets this coordinate to the specified direct position.
  `void`
  GeneralDirectPosition.`setLocation(DirectPosition position)`
  Sets this coordinate to the specified direct position.
  `DirectPosition`
  WraparoundAdjustment.`shift(DirectPosition pointOfInterest)`
  Computes a position with coordinates equivalent to the given `pointOfInterest`, but potentially shifted to interior of the domain of validity specified at construction time.
  Constructors in org.apache.sis.geometry with parameters of type DirectPosition
  Modifier
  Constructor
  Description
  ``
  `DirectPosition2D(DirectPosition position)`
  Constructs a position initialized to the same values as the specified point.
  ``
  `Envelope2D(DirectPosition lowerCorner, DirectPosition upperCorner)`
  Constructs a two-dimensional envelope defined by the specified coordinates.
  ``
  `GeneralDirectPosition(DirectPosition point)`
  Constructs a position initialized to the same values as the specified point.
  ``
  `GeneralEnvelope(DirectPosition lowerCorner, DirectPosition upperCorner)`
  Constructs an envelope defined by two corners given as direct positions.
  ``
  `ImmutableEnvelope(DirectPosition lowerCorner, DirectPosition upperCorner)`
  Constructs an envelope defined by two corners given as direct positions.

- ## Uses of DirectPosition in org.apache.sis.gui.map

  Methods in org.apache.sis.gui.map with parameters of type DirectPosition
  Modifier and Type
  Method
  Description
  `abstract String`
  ValuesUnderCursor.Formatter.`evaluate(DirectPosition point)`
  Returns a string representation of data under the given "real world" position.
  `void`
  ValuesUnderCursor.`evaluateLater(DirectPosition point)`
  Formats a string representation of data under given "real world" position.

- ## Uses of DirectPosition in org.apache.sis.gui.referencing

  Methods in org.apache.sis.gui.referencing with parameters of type DirectPosition
  Modifier and Type
  Method
  Description
  `ProjectedCRS`
  PositionableProjection.`createProjectedCRS(DirectPosition center)`
  Creates a map projection centered on the given position.

- ## Uses of DirectPosition in org.apache.sis.math

  Method parameters in org.apache.sis.math with type arguments of type DirectPosition
  Modifier and Type
  Method
  Description
  `double`
  Line.`fit(Iterable<? extends DirectPosition> points)`
  Given a sequence of points, fits them to a straight line y = slope⋅x + y₀ in a least-squares senses.
  `double`
  Plane.`fit(Iterable<? extends DirectPosition> points)`
  Computes the plane's coefficients from the given sequence of points.

- ## Uses of DirectPosition in org.apache.sis.measure

  Constructors in org.apache.sis.measure with parameters of type DirectPosition
  Modifier
  Constructor
  Description
  ``
  `Latitude(DirectPosition position)`
  Constructs a newly allocated object containing the latitude value of the given position.
  ``
  `Longitude(DirectPosition position)`
  Constructs a newly allocated object containing the longitude value of the given position.

- ## Uses of DirectPosition in org.apache.sis.metadata.iso.extent

  Methods in org.apache.sis.metadata.iso.extent that return DirectPosition
  Modifier and Type
  Method
  Description
  `static DirectPosition`
  Extents.`centroid(GeographicBoundingBox bbox)`
  Returns the position at the median longitude and latitude values of the given bounding box.

- ## Uses of DirectPosition in org.apache.sis.metadata.iso.spatial

  Methods in org.apache.sis.metadata.iso.spatial that return DirectPosition
  Modifier and Type
  Method
  Description
  `DirectPosition`
  DefaultGCP.`getGeographicCoordinates()`
  Returns the geographic or map position of the control point, in either two or three dimensions.
  Methods in org.apache.sis.metadata.iso.spatial with parameters of type DirectPosition
  Modifier and Type
  Method
  Description
  `void`
  DefaultGCP.`setGeographicCoordinates(DirectPosition newValue)`
  Sets the geographic or map position of the control point, in either two or three dimensions.

- ## Uses of DirectPosition in org.apache.sis.portrayal

  Methods in org.apache.sis.portrayal that return DirectPosition
  Modifier and Type
  Method
  Description
  `DirectPosition`
  Canvas.`getPointOfInterest(boolean objective)`
  Returns the coordinates of a point considered representative of the data.
  `DirectPosition`
  CanvasFollower.`getSourceObjectivePOI()`
  Returns the objective coordinates of the Point Of Interest (POI) in source canvas.
  Methods in org.apache.sis.portrayal with parameters of type DirectPosition
  Modifier and Type
  Method
  Description
  `void`
  Canvas.`setObjectiveCRS(CoordinateReferenceSystem newValue, DirectPosition anchor)`
  Sets the Coordinate Reference System in which all data are transformed before displaying.
  `void`
  Canvas.`setPointOfInterest(DirectPosition newValue)`
  Sets the coordinates of a representative point inside the data bounding box.

- ## Uses of DirectPosition in org.apache.sis.referencing

  Methods in org.apache.sis.referencing that return DirectPosition
  Modifier and Type
  Method
  Description
  `DirectPosition`
  GeodeticCalculator.`getEndPoint()`
  Returns or computes the destination in the CRS specified at construction time.
  `DirectPosition`
  GeodeticCalculator.`getStartPoint()`
  Returns the starting point in the CRS specified at construction time.
  Methods in org.apache.sis.referencing with parameters of type DirectPosition
  Modifier and Type
  Method
  Description
  `void`
  GeodeticCalculator.`setEndPoint(DirectPosition position)`
  Sets the destination as coordinates in arbitrary reference system.
  `void`
  GeodeticCalculator.`setStartPoint(DirectPosition point)`
  Sets the starting point as coordinates in arbitrary reference system.

- ## Uses of DirectPosition in org.apache.sis.referencing.gazetteer

  Methods in org.apache.sis.referencing.gazetteer that return DirectPosition
  Modifier and Type
  Method
  Description
  `DirectPosition`
  AbstractLocation.`getPosition()`
  Returns coordinates of a representative point for the location instance.
  Methods in org.apache.sis.referencing.gazetteer with parameters of type DirectPosition
  Modifier and Type
  Method
  Description
  `String`
  GeohashReferenceSystem.Coder.`encode(DirectPosition position)`
  Encodes the given position into a geohash.
  `String`
  GeohashReferenceSystem.Coder.`encode(DirectPosition position, Quantity<?> precision)`
  Encodes the given position into a geohash with the given precision.
  `String`
  MilitaryGridReferenceSystem.Coder.`encode(DirectPosition position)`
  Encodes the given position into a MGRS reference.
  `String`
  MilitaryGridReferenceSystem.Coder.`encode(DirectPosition position, Quantity<?> precision)`
  Encodes the given position into a MGRS reference with the given precision.
  `abstract String`
  ReferencingByIdentifiers.Coder.`encode(DirectPosition position)`
  Encodes the given position into an identifier.
  `String`
  ReferencingByIdentifiers.Coder.`encode(DirectPosition position, Quantity<?> precision)`
  A combined method which sets the encoder precision to the given value, then formats the given position.
  `Quantity<Length>`
  GeohashReferenceSystem.Coder.`getPrecision(DirectPosition position)`
  Returns an approximate precision of the geohashes formatted by this coder.
  `Quantity<Length>`
  MilitaryGridReferenceSystem.Coder.`getPrecision(DirectPosition position)`
  Returns the precision of the references formatted by this coder.
  `abstract Quantity<?>`
  ReferencingByIdentifiers.Coder.`getPrecision(DirectPosition position)`
  Returns approximate precision of the identifiers formatted by this coder at the given location.
  `void`
  GeohashReferenceSystem.Coder.`setPrecision(Quantity<?> precision, DirectPosition position)`
  Sets the desired precision of the identifiers formatted by this coder.
  `void`
  MilitaryGridReferenceSystem.Coder.`setPrecision(Quantity<?> precision, DirectPosition position)`
  Sets the desired precision of the references formatted by this coder.
  `abstract void`
  ReferencingByIdentifiers.Coder.`setPrecision(Quantity<?> precision, DirectPosition position)`
  Sets the desired precision of the identifiers formatted by this coder.

- ## Uses of DirectPosition in org.apache.sis.referencing.operation

  Methods in org.apache.sis.referencing.operation that return DirectPosition
  Modifier and Type
  Method
  Description
  `DirectPosition`
  CoordinateOperationContext.`getConstantCoordinates()`
  Returns coordinate values that may be considered as constant, or `null` if none.
  Methods in org.apache.sis.referencing.operation with parameters of type DirectPosition
  Modifier and Type
  Method
  Description
  `void`
  CoordinateOperationContext.`setConstantCoordinates(DirectPosition coordinates)`
  Sets coordinate values that may be considered as constant.

- ## Uses of DirectPosition in org.apache.sis.referencing.operation.builder

  Methods in org.apache.sis.referencing.operation.builder that return types with arguments of type DirectPosition
  Modifier and Type
  Method
  Description
  `Map<DirectPosition, DirectPosition>`
  LinearTransformBuilder.`getControlPoints()`
  Returns all control points as a map.
  `Map<DirectPosition, DirectPosition>`
  LinearTransformBuilder.`getControlPoints()`
  Returns all control points as a map.

- ## Uses of DirectPosition in org.apache.sis.referencing.operation.matrix

  Methods in org.apache.sis.referencing.operation.matrix with parameters of type DirectPosition
  Modifier and Type
  Method
  Description
  `static MatrixSIS`
  Matrices.`createAffine(Matrix derivative, DirectPosition translation)`
  Creates an affine transform as the given matrix augmented by the given translation vector and a [0 … 0 1] row.

- ## Uses of DirectPosition in org.apache.sis.referencing.operation.transform

  Methods in org.apache.sis.referencing.operation.transform that return DirectPosition
  Modifier and Type
  Method
  Description
  `DirectPosition`
  AbstractMathTransform.`transform(DirectPosition ptSrc, DirectPosition ptDst)`
  Transforms the specified `ptSrc` and stores the result in `ptDst`.
  Methods in org.apache.sis.referencing.operation.transform with parameters of type DirectPosition
  Modifier and Type
  Method
  Description
  `Matrix`
  AbstractMathTransform.`derivative(DirectPosition point)`
  Gets the derivative of this transform at a point.
  `Matrix`
  AbstractMathTransform.Inverse.`derivative(DirectPosition point)`
  Gets the derivative of this transform at a point.
  `Matrix`
  AbstractMathTransform1D.`derivative(DirectPosition point)`
  Gets the derivative of this transform at a point.
  `Matrix`
  AbstractMathTransform1D.Inverse.`derivative(DirectPosition point)`
  Gets the derivative of this transform at a point.
  `Matrix`
  EllipsoidToCentricTransform.`derivative(DirectPosition point)`
  Computes the derivative at the given location.
  `Matrix`
  PassThroughTransform.`derivative(DirectPosition point)`
  Gets the derivative of this transform at a point.
  `Matrix`
  WraparoundTransform.`derivative(DirectPosition point)`
  Gets the derivative of this transform at a point.
  `static Matrix`
  MathTransforms.`getMatrix(MathTransform toApproximate, DirectPosition tangentPoint)`
  Returns the coefficients of an affine transform in the vicinity of the given position.
  `static LinearTransform`
  MathTransforms.`tangent(MathTransform toApproximate, DirectPosition tangentPoint)`
  Returns a linear (usually affine) transform which approximates the given transform in the vicinity of the given position.
  `DirectPosition`
  AbstractMathTransform.`transform(DirectPosition ptSrc, DirectPosition ptDst)`
  Transforms the specified `ptSrc` and stores the result in `ptDst`.

- ## Uses of DirectPosition in org.apache.sis.util

  Methods in org.apache.sis.util with parameters of type DirectPosition
  Modifier and Type
  Method
  Description
  `static void`
  ArgumentChecks.`ensureDimensionMatches(String name, int expected, DirectPosition position)`
  Ensures that the given direct position, if non-null, has the expected number of dimensions.

- ## Uses of DirectPosition in org.opengis.geometry

  Methods in org.opengis.geometry that return DirectPosition
  Modifier and Type
  Method
  Description
  `DirectPosition`
  Envelope.`getLowerCorner()`
  A coordinate position consisting of all the minimal ordinates for each dimension for all points within the `Envelope`.
  `DirectPosition`
  Envelope.`getUpperCorner()`
  A coordinate position consisting of all the maximal ordinates for each dimension for all points within the `Envelope`.

- ## Uses of DirectPosition in org.opengis.geometry.coordinate

  Methods in org.opengis.geometry.coordinate that return DirectPosition
  Modifier and Type
  Method
  Description
  `DirectPosition`
  Position.`getDirectPosition()`
  Returns the direct position.

- ## Uses of DirectPosition in org.opengis.metadata.spatial

  Methods in org.opengis.metadata.spatial that return DirectPosition
  Modifier and Type
  Method
  Description
  `DirectPosition`
  GCP.`getGeographicCoordinates()`
  Geographic or map position of the control point, in either two or three dimensions.

- ## Uses of DirectPosition in org.opengis.referencing.operation

  Methods in org.opengis.referencing.operation that return DirectPosition
  Modifier and Type
  Method
  Description
  `DirectPosition`
  MathTransform.`transform(DirectPosition ptSrc, DirectPosition ptDst)`
  Transforms the specified `ptSrc` and stores the result in `ptDst`.
  Methods in org.opengis.referencing.operation with parameters of type DirectPosition
  Modifier and Type
  Method
  Description
  `Matrix`
  MathTransform.`derivative(DirectPosition point)`
  Gets the derivative of this transform at a point.
  `DirectPosition`
  MathTransform.`transform(DirectPosition ptSrc, DirectPosition ptDst)`
  Transforms the specified `ptSrc` and stores the result in `ptDst`.