LuciadCPillar 2025.0.11
Loading...
Searching...
No Matches
luciad::MultiGeometry Class Referencefinal

Collection of one or more geometries. More...

#include <luciad/geometries/MultiGeometry.h>

Inheritance diagram for luciad::MultiGeometry:
luciad::Geometry

Public Member Functions

 ~MultiGeometry () override
Bounds getBounds () const override
 Returns the bounds for the geometry object.
const std::vector< std::shared_ptr< Geometry > > & getGeometries () const
 Returns the list of geometries.
std::shared_ptr< luciad::CoordinateReferencegetReference () const override
 Returns the coordinate reference of the geometry.
Public Member Functions inherited from luciad::Geometry
virtual ~Geometry ()=default

Protected Member Functions

size_t getHash () const override
 Returns the hash value for this geometry.

Detailed Description

Collection of one or more geometries.

See also
GeometryFactory::createMultiGeometry

Constructor & Destructor Documentation

◆ ~MultiGeometry()

luciad::MultiGeometry::~MultiGeometry ( )
override

Member Function Documentation

◆ getBounds()

Bounds luciad::MultiGeometry::getBounds ( ) const
overridevirtual

Returns the bounds for the geometry object.

Returns
the bounds for the geometry object.
Exceptions
luciad::InvalidArgumentExceptionif the bounds could not be computed. For example, when the geometry is defined by invalid points.

Implements luciad::Geometry.

◆ getGeometries()

const std::vector< std::shared_ptr< Geometry > > & luciad::MultiGeometry::getGeometries ( ) const

Returns the list of geometries.

Returns
the list of geometries.

◆ getHash()

size_t luciad::MultiGeometry::getHash ( ) const
overrideprotectedvirtual

Returns the hash value for this geometry.

Returns
the hash value for this geometry.

Implements luciad::Geometry.

◆ getReference()

std::shared_ptr< luciad::CoordinateReference > luciad::MultiGeometry::getReference ( ) const
overridevirtual

Returns the coordinate reference of the geometry.

Returns
the coordinate reference of the geometry.

Implements luciad::Geometry.