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 double
protected double
protected double
protected double
protected double
static final QName
static final QName
static final QName
static final QName
static final QName
static final QName
protected double
static final String
Fields inherited from class org.vast.sensorML.sampling.ParametricSamplingFeature
pose, PROP_POSE, SML_NS_PREFIX, SML_NS_URI, TYPE_URI_PREFIX
Fields 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, type
Fields inherited from class org.vast.ogc.gml.ExtensibleFeatureImpl
properties
Fields inherited from class net.opengis.gml.v32.impl.AbstractFeatureImpl
boundedBy, location
Fields inherited from class net.opengis.gml.v32.impl.AbstractGMLImpl
description, descriptionReference, id, identifier, metaDataPropertyList, nameList, UUID_CODE
Fields inherited from interface org.vast.ogc.gml.IFeature
DEFAULT_QNAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendProperties
(com.google.common.collect.ImmutableMap.Builder<QName, Object> builder) double
double
double
double
double
double
void
setInnerRadius
(double val) Sets the sphere inner radiusvoid
setMaxAzimuth
(double val) Sets the maximum azimuth angle of the viewing sectorvoid
setMaxElevation
(double val) Sets the maximum elevation angle of the viewing sectorvoid
setMinAzimuth
(double val) Sets the minimum azimuth angle of the viewing sectorvoid
setMinElevation
(double val) Sets the minimum elevation angle of the viewing sectorvoid
setRadius
(double val) Sets the sphere radiusMethods inherited from class org.vast.sensorML.sampling.ParametricSamplingFeature
getPose, setPose
Methods inherited from class org.vast.ogc.om.SamplingFeature
getAsSpecializedType, getHostedProcedureUID, getQName, getSampledFeature, getSfType, getShape, getType, hasCustomGeomProperty, setHostedProcedureUID, setSampledFeature, setSampledFeature, setSfType, setShape
Methods inherited from class org.vast.ogc.gml.ExtensibleFeatureImpl
getProperties
Methods inherited from class net.opengis.gml.v32.impl.AbstractFeatureImpl
equals, getBoundedBy, getGeometry, getGeometryProperty, hashCode, isSetBoundedBy, isSetGeometry, setBoundedByAsEnvelope, setGeometry
Methods 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, setUniqueIdentifier
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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, setUniqueIdentifier
Methods inherited from interface org.vast.ogc.gml.IFeature
getId, getUniqueIdentifier, getValidTime, hasCustomTimeProperty
Methods 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:
appendProperties
in classParametricSamplingFeature<Point>
-