LuciadCPillar 2024.0.04
luciad::CompositePatch Class Reference

Represents a composite patch. More...

#include <luciad/geometries/CompositePatch.h>

Inheritance diagram for luciad::CompositePatch:
luciad::Surface luciad::Geometry luciad::Polygon

Public Member Functions

 ~CompositePatch () override
 
Bounds getBounds () const override
 Returns the bounds for the geometry object. More...
 
const std::shared_ptr< Patch > & getExteriorPatch () const
 Returns the exterior patch of this composite patch. More...
 
const std::vector< std::shared_ptr< Patch > > & getInteriorPatches () const
 Returns the interior patches of this composite patch. 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

Represents a composite patch.

See also
GeometryFactory::createCompositePatch

Constructor & Destructor Documentation

◆ ~CompositePatch()

luciad::CompositePatch::~CompositePatch ( )
override

Member Function Documentation

◆ getBounds()

Bounds luciad::CompositePatch::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.

◆ getExteriorPatch()

const std::shared_ptr< Patch > & luciad::CompositePatch::getExteriorPatch ( ) const

Returns the exterior patch of this composite patch.

Returns
the exterior patch of this composite patch.

◆ getHash()

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

Returns the hash value for this geometry.

Returns
the hash value for this geometry.

Implements luciad::Geometry.

Reimplemented in luciad::Polygon.

◆ getInteriorPatches()

const std::vector< std::shared_ptr< Patch > > & luciad::CompositePatch::getInteriorPatches ( ) const

Returns the interior patches of this composite patch.

Returns
the interior patches of this composite patch.

◆ getReference()

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

Returns the coordinate reference of the geometry.

Returns
the coordinate reference of the geometry.

Implements luciad::Geometry.