LuciadCPillar 2026.0.03
Loading...
Searching...
No Matches
luciad::LineOfSightFeature Class Referencefinal

This class makes available the line-of-sight (LOS) feature data type, together with its property paths. More...

#include <luciad/models/los/LineOfSightFeature.h>

Classes

class  Builder
 Allows the incremental creation of a line-of-sight Feature object. More...

Static Public Member Functions

static std::shared_ptr< luciad::ArcBandasArcBand (const Feature &lineOfSightFeature)
 Converts a line-of-sight feature to an arc band.
static luciad::Bounds computeBounds (const Feature &lineOfSightFeature)
 Computes the bounds of a line-of-sight feature.
static std::shared_ptr< BoundscomputeBounds (const std::shared_ptr< IFeatureModel > &model)
 Computes the bounds of a line-of-sight feature model, if available.
static const luciad::DataPropertyPathgetCenterHeightPropertyPath ()
 Returns the data property path for the line-of-sight center height property.
static const luciad::DataPropertyPathgetCenterPropertyPath ()
 Returns the data property path for the line-of-sight center property.
static const luciad::DataPropertyPathgetEndAnglePropertyPath ()
 Returns the data property path for the line-of-sight end angle property.
static const DataTypegetLineOfSightPropertiesDataType ()
 Returns the data type describing the line-of-sight feature properties.
static const luciad::DataPropertyPathgetMaximumVerticalAnglePropertyPath ()
 Returns the data property path for the line-of-sight maximum vertical angle property.
static const luciad::DataPropertyPathgetMinimumVerticalAnglePropertyPath ()
 Returns the data property path for the line-of-sight minimum vertical angle property.
static const luciad::DataPropertyPathgetRadiusPropertyPath ()
 Returns the data property path for the line-of-sight radius property.
static const luciad::DataPropertyPathgetStartAnglePropertyPath ()
 Returns the data property path for the line-of-sight start angle property.
static Builder newBuilder ()
 Returns a new builder for creating a line-of-sight feature.

Detailed Description

This class makes available the line-of-sight (LOS) feature data type, together with its property paths.

A line-of-sight feature defines an observer location along with some additional properties like radius. All properties together define a line-of-sight coverage. This is the visualization of the visibility of the surrounding environment when observed by the observer.

Use luciad::LineOfSightFeature::newBuilder to create a line-of-sight feature.

Since
2025.0

Member Function Documentation

◆ asArcBand()

std::shared_ptr< luciad::ArcBand > luciad::LineOfSightFeature::asArcBand ( const Feature & lineOfSightFeature)
static

Converts a line-of-sight feature to an arc band.

Parameters
lineOfSightFeaturethe feature that should be converted.
Returns
the arc band corresponding to the feature or nullptr if the feature is missing some properties.

◆ computeBounds() [1/2]

luciad::Bounds luciad::LineOfSightFeature::computeBounds ( const Feature & lineOfSightFeature)
static

Computes the bounds of a line-of-sight feature.

Not that all the line-of-sight properties are required for this computation.

Parameters
lineOfSightFeaturethe feature for which the bounds should be computed.
Returns
the bounds of this feature
Exceptions
luciad::InvalidArgumentExceptionif the feature is missing some line-of-sight property.

◆ computeBounds() [2/2]

std::shared_ptr< Bounds > luciad::LineOfSightFeature::computeBounds ( const std::shared_ptr< IFeatureModel > & model)
static

Computes the bounds of a line-of-sight feature model, if available.

When the model contains no features, this method will return no bounds. Features missing lime-of-sight properties are ignored.

Parameters
modelthe model for which the bounds should be computed.
Returns
the bounds of this model, if available.
Exceptions
luciad::NullArgumentExceptionwhen passing nullptr for the model

◆ getCenterHeightPropertyPath()

const luciad::DataPropertyPath & luciad::LineOfSightFeature::getCenterHeightPropertyPath ( )
static

Returns the data property path for the line-of-sight center height property.

Returns
the data property path for the line-of-sight center height property.

◆ getCenterPropertyPath()

const luciad::DataPropertyPath & luciad::LineOfSightFeature::getCenterPropertyPath ( )
static

Returns the data property path for the line-of-sight center property.

Returns
the data property path for the line-of-sight center property.

◆ getEndAnglePropertyPath()

const luciad::DataPropertyPath & luciad::LineOfSightFeature::getEndAnglePropertyPath ( )
static

Returns the data property path for the line-of-sight end angle property.

Values referred to by this DataPropertyPath are in degrees.

Returns
the data property path for the line-of-sight end angle property.

◆ getLineOfSightPropertiesDataType()

const DataType & luciad::LineOfSightFeature::getLineOfSightPropertiesDataType ( )
static

Returns the data type describing the line-of-sight feature properties.

Returns
the data type describing the line-of-sight feature properties.

◆ getMaximumVerticalAnglePropertyPath()

const luciad::DataPropertyPath & luciad::LineOfSightFeature::getMaximumVerticalAnglePropertyPath ( )
static

Returns the data property path for the line-of-sight maximum vertical angle property.

Values referred to by this DataPropertyPath are in degrees.

Returns
the data property path for the line-of-sight maximum vertical angle property.

◆ getMinimumVerticalAnglePropertyPath()

const luciad::DataPropertyPath & luciad::LineOfSightFeature::getMinimumVerticalAnglePropertyPath ( )
static

Returns the data property path for the line-of-sight minimum vertical angle property.

Values referred to by this DataPropertyPath are in degrees.

Returns
the data property path for the line-of-sight minimum vertical angle property.

◆ getRadiusPropertyPath()

const luciad::DataPropertyPath & luciad::LineOfSightFeature::getRadiusPropertyPath ( )
static

Returns the data property path for the line-of-sight radius property.

Returns
the data property path for the line-of-sight radius property.

◆ getStartAnglePropertyPath()

const luciad::DataPropertyPath & luciad::LineOfSightFeature::getStartAnglePropertyPath ( )
static

Returns the data property path for the line-of-sight start angle property.

Values referred to by this DataPropertyPath are in degrees.

Returns
the data property path for the line-of-sight start angle property.

◆ newBuilder()

Builder luciad::LineOfSightFeature::newBuilder ( )
static

Returns a new builder for creating a line-of-sight feature.

Returns
a new builder for creating a line-of-sight feature.