Represents a composite curve.
More...
#include <luciad/geometries/CompositeCurve.h>
|
| 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...
|
| |
Represents a composite curve.
- See also
- GeometryFactory::createCompositeCurve
◆ ~CompositeCurve()
| luciad::CompositeCurve::~CompositeCurve |
( |
| ) |
|
|
override |
◆ computePoint()
| Coordinate luciad::CompositeCurve::computePoint |
( |
double |
parameter | ) |
const |
|
overridevirtual |
Computes a point of the curve, defined by the given parameter.
- At parameter 0, the point is the start point of the curve.
- At parameter 1, the point is the end point of the curve.
- Parameters
-
| parameter | the parameter value, within [0,1], to compute the point location for. |
- Returns
- the computed point location.
- Exceptions
-
| luciad::InvalidArgumentException | if parameter is not within [0,1], or if the point could not be computed. For example, when the curve is defined by invalid points. |
Implements luciad::Curve.
Reimplemented in luciad::Polyline.
◆ getBounds()
| Bounds luciad::CompositeCurve::getBounds |
( |
| ) |
const |
|
overridevirtual |
Returns the bounds for the geometry object.
- Returns
- the bounds for the geometry object.
- Exceptions
-
Implements luciad::Geometry.
Reimplemented in luciad::Polyline.
◆ getCurveAt()
| virtual std::shared_ptr< Curve > luciad::CompositeCurve::getCurveAt |
( |
size_t |
index | ) |
const |
|
virtual |
Returns the curve for the requested index.
- Parameters
-
- Returns
- the curve at index
- See also
- getCurveCount
- Exceptions
-
Reimplemented in luciad::Polyline.
◆ getCurveCount()
| virtual size_t luciad::CompositeCurve::getCurveCount |
( |
| ) |
const |
|
virtual |
Returns the number of curves in this composite.
- Returns
- the number of curves in this composite.
- See also
- getCurveAt
Reimplemented in luciad::Polyline.
◆ getHash()
| size_t luciad::CompositeCurve::getHash |
( |
| ) |
const |
|
overrideprotectedvirtual |
◆ getLength2D()
| double luciad::CompositeCurve::getLength2D |
( |
| ) |
const |
|
overridevirtual |
◆ getReference()
Returns the coordinate reference of the geometry.
- Returns
- the coordinate reference of the geometry.
Implements luciad::Geometry.
Reimplemented in luciad::Polyline.