Represents a circular arc defined by a center point, radius, start angle, end angle, and angle direction.
More...
#include <luciad/geometries/CircularArcByCenterPoint.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 circular arc defined by a center point, radius, start angle, end angle, and angle direction.
- See also
- GeometryFactory::createCircularArcByCenterPoint
◆ ~CircularArcByCenterPoint()
| luciad::CircularArcByCenterPoint::~CircularArcByCenterPoint |
( |
| ) |
|
|
override |
◆ computePoint()
| Coordinate luciad::CircularArcByCenterPoint::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.
◆ getAngleDirection()
Returns the orientation of the arc.
This property determines in which direction the arc extends from the start to the end angle.
- Returns
- the orientation of the arc.
◆ getBounds()
| Bounds luciad::CircularArcByCenterPoint::getBounds |
( |
| ) |
const |
|
overridevirtual |
Returns the bounds for the geometry object.
- Returns
- the bounds for the geometry object.
- Exceptions
-
Implements luciad::Geometry.
◆ getCenter()
| Coordinate luciad::CircularArcByCenterPoint::getCenter |
( |
| ) |
const |
Returns the center of the circular arc.
- Returns
- the center of the circular arc.
◆ getEndAngle()
| luciad::Angle luciad::CircularArcByCenterPoint::getEndAngle |
( |
| ) |
const |
Returns the end angle of the circular arc.
- Returns
- the end angle of the circular arc.
◆ getHash()
| size_t luciad::CircularArcByCenterPoint::getHash |
( |
| ) |
const |
|
overrideprotectedvirtual |
Returns the hash value for this geometry.
- Returns
- the hash value for this geometry.
Implements luciad::Geometry.
◆ getLength2D()
| double luciad::CircularArcByCenterPoint::getLength2D |
( |
| ) |
const |
|
overridevirtual |
Returns the length of the curve.
- Returns
- the length of the curve.
- Exceptions
-
Implements luciad::Curve.
◆ getRadius()
| double luciad::CircularArcByCenterPoint::getRadius |
( |
| ) |
const |
Returns the radius of the circular arc.
If the coordinate reference is a geodetic reference, this is expressed in meters. Otherwise the unit of the reference is used.
- Returns
- the radius of the circular arc.
◆ getReference()
Returns the coordinate reference of the geometry.
- Returns
- the coordinate reference of the geometry.
Implements luciad::Geometry.
◆ getStartAngle()
| luciad::Angle luciad::CircularArcByCenterPoint::getStartAngle |
( |
| ) |
const |
Returns the start angle of the circular arc.
- Returns
- the start angle of the circular arc.