Package org.vast.sensorML.sampling
Class ViewingSector
- All Implemented Interfaces:
Serializable,AbstractFeature,AbstractGML,IFeature,IResource
Sampling feature used to model a viewing sector in the shape of a spherical sector, defined by min/max radius, min/max elevation and min/max azimuth. Elevation angles are expressed about the Y axis, while azimuth angles are expressed about the Z axis.
- Since:
- Sep 26, 2023
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doubleprotected doubleprotected doubleprotected doubleprotected doublestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNameprotected doublestatic final StringFields inherited from class org.vast.sensorML.sampling.ParametricSamplingFeature
pose, PROP_POSE, SML_NS_PREFIX, SML_NS_URI, TYPE_URI_PREFIXFields inherited from class org.vast.ogc.om.SamplingFeature
FTYPE, hostedProcedure, PROP_HOSTED_PROCEDURE, PROP_SAMPLED_FEATURE, PROP_SHAPE, PROP_TYPE, QNAME, sampledFeature, SAMS_NS_PREFIX, SAMS_NS_URI, SF_NS_PREFIX, SF_NS_URI, typeFields inherited from class org.vast.ogc.gml.ExtensibleFeatureImpl
propertiesFields inherited from class net.opengis.gml.v32.impl.AbstractFeatureImpl
boundedBy, locationFields inherited from class net.opengis.gml.v32.impl.AbstractGMLImpl
description, descriptionReference, id, identifier, metaDataPropertyList, nameList, UUID_CODEFields inherited from interface org.vast.ogc.gml.IFeature
DEFAULT_QNAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(com.google.common.collect.ImmutableMap.Builder<QName, Object> builder) doubledoubledoubledoubledoubledoublevoidsetInnerRadius(double val) Sets the sphere inner radiusvoidsetMaxAzimuth(double val) Sets the maximum azimuth angle of the viewing sectorvoidsetMaxElevation(double val) Sets the maximum elevation angle of the viewing sectorvoidsetMinAzimuth(double val) Sets the minimum azimuth angle of the viewing sectorvoidsetMinElevation(double val) Sets the minimum elevation angle of the viewing sectorvoidsetRadius(double val) Sets the sphere radiusMethods inherited from class org.vast.sensorML.sampling.ParametricSamplingFeature
getPose, setPoseMethods inherited from class org.vast.ogc.om.SamplingFeature
getAsSpecializedType, getHostedProcedureUID, getQName, getSampledFeature, getSfType, getShape, getType, hasCustomGeomProperty, setHostedProcedureUID, setSampledFeature, setSampledFeature, setSfType, setShapeMethods inherited from class org.vast.ogc.gml.ExtensibleFeatureImpl
getPropertiesMethods inherited from class net.opengis.gml.v32.impl.AbstractFeatureImpl
equals, getBoundedBy, getGeometry, getGeometryProperty, hashCode, isSetBoundedBy, isSetGeometry, setBoundedByAsEnvelope, setGeometryMethods inherited from class net.opengis.gml.v32.impl.AbstractGMLImpl
addName, getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataPropertyList, getName, getNameList, getNumNames, getUniqueIdentifier, isSetDescription, isSetDescriptionReference, isSetIdentifier, setDescription, setDescriptionReference, setId, setIdentifier, setName, setUniqueIdentifierMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.opengis.gml.v32.AbstractGML
addName, getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataPropertyList, getName, getNameList, getNumNames, getUniqueIdentifier, isSetDescription, isSetDescriptionReference, isSetIdentifier, setDescription, setDescriptionReference, setId, setIdentifier, setName, setUniqueIdentifierMethods inherited from interface org.vast.ogc.gml.IFeature
getId, getUniqueIdentifier, getValidTime, hasCustomTimePropertyMethods inherited from interface org.vast.util.IResource
getDescription, getName
-
Field Details
-
TYPE
- See Also:
-
PROP_RADIUS
-
PROP_INNER_RADIUS
-
PROP_MIN_ELEV
-
PROP_MAX_ELEV
-
PROP_MIN_AZIM
-
PROP_MAX_AZIM
-
radius
protected double radius -
innerRadius
protected double innerRadius -
minElev
protected double minElev -
maxElev
protected double maxElev -
minAzim
protected double minAzim -
maxAzim
protected double maxAzim
-
-
Constructor Details
-
ViewingSector
public ViewingSector()
-
-
Method Details
-
setRadius
public void setRadius(double val) Sets the sphere radius- Parameters:
val- radius in meters
-
getRadius
public double getRadius()- Returns:
- The sphere radius in meters
-
setInnerRadius
public void setInnerRadius(double val) Sets the sphere inner radius- Parameters:
val- inner radius in meters
-
getInnerRadius
public double getInnerRadius()- Returns:
- The sphere inner radius in meters
-
setMinElevation
public void setMinElevation(double val) Sets the minimum elevation angle of the viewing sector- Parameters:
val- elevation in degrees, in the range [-90, 90]
-
getMinElevation
public double getMinElevation()- Returns:
- The minimum elevation of the viewing sector in degrees
-
setMaxElevation
public void setMaxElevation(double val) Sets the maximum elevation angle of the viewing sector- Parameters:
val- elevation in degrees, in the range [-90, 90]
-
getMaxElevation
public double getMaxElevation()- Returns:
- The maximum elevation of the viewing sector in degrees
-
setMinAzimuth
public void setMinAzimuth(double val) Sets the minimum azimuth angle of the viewing sector- Parameters:
val- azimuth in degrees, in the range [-180, 360]
-
getMinAzimuth
public double getMinAzimuth()- Returns:
- The minimum azimuth of the viewing sector in degrees
-
setMaxAzimuth
public void setMaxAzimuth(double val) Sets the maximum azimuth angle of the viewing sector- Parameters:
val- elevation in degrees, in the range [-180, 360]
-
getMaxAzimuth
public double getMaxAzimuth()- Returns:
- The maximum azimuth of the viewing sector in degrees
-
appendProperties
protected void appendProperties(com.google.common.collect.ImmutableMap.Builder<QName, Object> builder) - Overrides:
appendPropertiesin classParametricSamplingFeature<Point>
-