- All Superinterfaces:
AbstractControlPoint
,AbstractCurvePoint
- All Known Subinterfaces:
Arc
@OVLInaccessible public interface Arc extends AbstractControlPoint
Represents an arc as curve describing component of an edge.
An arc consists of a center point, radius in X and Y direction, a start angle and a length in degrees.
An arc consists of a center point, radius in X and Y direction, a start angle and a length in degrees.
- Since:
- Omix 1.3
- Author:
- Dr. Peter Droste, Omix Visualization
-
Method Summary
Modifier and Type Method Description double
length()
Returns the length of the arc in degrees.double
radius()
Returns the radius of the arc.
(radiusX + radiusY)/2double
radiusX()
Returns the radius in X direction.double
radiusY()
Returns the radius in Y direction.double
startAngle()
Returns the start angle in degrees.Methods inherited from interface omix.plugin.model.points.AbstractCurvePoint
addPropertyChangeListener, removePropertyChangeListener, x, y
-
Method Details
-
length
double length()Returns the length of the arc in degrees.- Returns:
- length
-
radius
double radius()Returns the radius of the arc.
(radiusX + radiusY)/2- Returns:
- radius
-
radiusX
double radiusX()Returns the radius in X direction.- Returns:
- radius in X direction
-
radiusY
double radiusY()Returns the radius in Y direction.- Returns:
- radius in Y direction
-
startAngle
double startAngle()Returns the start angle in degrees.- Returns:
- start angle
-