GEOS 3.15.0beta1
geos::noding::ArcString Class Reference

An interface for classes which represent a sequence of contiguous circular arcs, analogous to the SegmentString for contiguous line segments. More...

#include <ArcString.h>

Inheritance diagram for geos::noding::ArcString:
geos::noding::PathString

Public Member Functions

 ArcString (std::vector< geom::CircularArc > arcs)
 ArcString (std::vector< geom::CircularArc > arcs, const std::shared_ptr< const geom::CoordinateSequence > &seq, const void *p_context)
std::size_t getSize () const override
double getLength () const override
const geom::CircularArcgetArc (std::size_t i) const
auto begin () const
auto end () const
const std::shared_ptr< const geom::CoordinateSequence > & getCoordinates () const override
 Return a pointer to the CoordinateSequence associated with this PathString.
Public Member Functions inherited from geos::noding::PathString
 PathString (const void *p_context=nullptr)
const void * getData () const
 Gets the user-defined data for this segment string.
void setData (const void *data)
 Sets the user-defined data for this segment string.

Protected Attributes

std::vector< geom::CircularArcm_arcs
std::shared_ptr< const geom::CoordinateSequencem_seq

Additional Inherited Members

Static Public Member Functions inherited from geos::noding::PathString
static std::vector< PathString * > toRawPointerVector (const std::vector< std::unique_ptr< PathString > > &segStrings)

Detailed Description

An interface for classes which represent a sequence of contiguous circular arcs, analogous to the SegmentString for contiguous line segments.

Member Function Documentation

◆ getCoordinates()

const std::shared_ptr< const geom::CoordinateSequence > & geos::noding::ArcString::getCoordinates ( ) const
overridevirtual

Return a pointer to the CoordinateSequence associated with this PathString.

Implements geos::noding::PathString.

◆ getLength()

double geos::noding::ArcString::getLength ( ) const
inlineoverridevirtual

◆ getSize()

std::size_t geos::noding::ArcString::getSize ( ) const
inlineoverridevirtual

The documentation for this class was generated from the following file: