LuciadCPillar 2023.1.04
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. More...
 
const std::vector< std::shared_ptr< Geometry > > & getGeometries () const
 Returns the list of geometries. More...
 
std::shared_ptr< luciad::CoordinateReferencegetReference () const override
 Returns the coordinate reference of the geometry. More...
 
- Public Member Functions inherited from luciad::Geometry
virtual ~Geometry ()=default
 
virtual Bounds getBounds () const =0
 Returns the bounds for the geometry object. More...
 
virtual std::shared_ptr< CoordinateReferencegetReference () const =0
 Returns the coordinate reference of the geometry. More...
 

Protected Member Functions

size_t getHash () const override
 Returns the hash value for this geometry. More...
 
virtual size_t getHash () const =0
 Returns the hash value for this geometry. More...
 

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.