public class DefaultGCP extends ISOMetadata implements GCP
Limitations:
XML
instead.Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultGCP()
Constructs an initially empty ground control point.
|
DefaultGCP(GCP object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultGCP |
castOrCopy(GCP object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Collection<Element> |
getAccuracyReports()
Returns the accuracy of a ground control point.
|
DirectPosition |
getGeographicCoordinates()
Returns the geographic or map position of the control point, in either two or three dimensions.
|
void |
setAccuracyReports(Collection<? extends Element> newValues)
Sets the accuracy of a ground control point.
|
void |
setGeographicCoordinates(DirectPosition newValue)
Sets the geographic or map position of the control point, in either two or three dimensions.
|
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultGCP()
public DefaultGCP(GCP object)
object
- The metadata to copy values from, or null
if none.castOrCopy(GCP)
public static DefaultGCP castOrCopy(GCP object)
null
, then this method returns null
.DefaultGCP
, then it is returned unchanged.DefaultGCP
instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object
- The object to get as a SIS implementation, or null
if none.null
if the argument was null.public DirectPosition getGeographicCoordinates()
getGeographicCoordinates
in interface GCP
null
.public void setGeographicCoordinates(DirectPosition newValue)
newValue
- The new geographic coordinates values.public Collection<Element> getAccuracyReports()
getAccuracyReports
in interface GCP
public void setAccuracyReports(Collection<? extends Element> newValues)
newValues
- The new accuracy report values.Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.