AbstractAbstractboundsThe bounds of this shape. This property is to be treated in a read only manner. An error will be thrown when trying to assign to this property. Note that the bounds property is not immutable. Modifying properties of the bounds property may corrupt your data.
AbstractbulgeThe bulge factor of the arc. This field is mutable.
The bulge factor is the ratio of (1) the distance between the arc midpoint and the center of the arc's chord, and (2) half the length of the arc's chord. The sign of the bulge indicates whether the midpoint is on the left side (positive) or right side (negative) of the vector from start to end point. So a bulge factor with an absolute value of 1 means a half-circle, smaller than 1 means a less bulging arc and larger than 1 means an arc that bulges out in the start and end point.AbstractcenterThe center point of the circle defining the circular arc. This field is read-only.
Please use move2DToCoordinates or move2DToPoint to move the center point to a new position.AbstractcoordinateThe coordinate type this shape. This property is read only. An Error will be thrown when trying to assign to this property.
AbstractendThe end point of this circular arc.
AbstractfocusThe focus point of this shape. This property is read only. An error will be thrown when trying to assign to this property. This property contains an object but should be treated with value semantics: changes to the shape will not be reflected in the focusPoint that was retrieved from this Polygon before the modification.
AbstractradiusThe radius of the circle defining the circular arc.
The spatial reference of this shape. This property is read only. An Error will be thrown when trying to assign to this property.
AbstractstartThe start angle. It is defined as an azimuth: in degrees, positive clockwise, starting up/north.
AbstractstartThe start point of this circular arc.
AbstractsweepThe angle over which the arc extends. It is defined in degrees, positive clockwise.
Returns the type of the shape. The returned value is a bitwise combination of ShapeType values, ShapeType.CIRCULAR_ARC | ShapeType.CIRCULAR_ARC_BY_BULGE
Determines whether a given point is inside this shape. This method checks containment only in two dimensions: on the (x,y)-axis or the (lon,lat)-axis (depending on the spatial reference of the shape).
true when the given point is contained in this shape
Please use contains2DPoint instead.
Abstractcontains2Determines whether the given point is inside this shape. This method checks containment only in two dimensions: on the (x,y)-axis or the (lon,lat)-axis (depending on the spatial reference of the shape).
The x coordinate of the point for which containment must be checked
The y coordinate of the point for which containment must be checked
true when the given point is contained in this shape
Determines whether the given point is inside this shape. This method checks containment only in two dimensions: on the (x,y)-axis or the (lon,lat)-axis (depending on the spatial reference of the shape).
The point for which containment must be checked.
true when the given point is contained in this shape
InvalidReferenceError when a point has another spatial reference
AbstractcopyIndicates whether this shape is equal to another.
true if both shapes are equal, false otherwise.
Translates this shape so that its center point ends up at the specified position.
x coordinate value
y coordinate value
Translates this shape so that its center point ends up at the specified position.
InvalidReferenceError when the reference of the Point parameter does not correspond with the reference of this shape.
AbstractmoveMoves the end point of this circular arc to the given coordinates
The new x coordinate of the end point on this circular arc
The new y coordinate of the end point on this circular arc
AbstractmoveMoves the start point of this circular arc to the given coordinates
The new x coordinate of the start point on this circular arc
The new y coordinate of the start point on this circular arc
Converts the shape to a string. This functionality is for debugging purposes only. Results of toString cannot be used to uniquely identify a shape instance.
Translates the shape over the given vector in 2D space.
AbstracttranslateTranslates the end point of this circular arc from its current position over the given translation vector to another location.
vector x coordinate value
vector y coordinate value
AbstracttranslateTranslates the start point of this circular arc from its current position over the given translation vector to another location.
vector x coordinate value
vector y coordinate value
A
CircularArcByBulgeis a Shape that represents a circular arc defined by two points and a bulge factor in 2D space.A bulge factor of 1 indicates that the arc forms a half-circle. As the bulge factor approaches 0, the arc flattens, meaning the radius of the arc's circle increases. The sign of the bulge determines whether the bulge is on the left or right side of the vector from the start point to the end point.
More specifically, consider the chord between the start point (S) and the end point (E) with a point (C) in the middle of it. The midpoint (M) of the arc is located on a line that extends from C and is oriented along the normal. The bulge factor is the ratio of the distances MC and SC. The sign of the bulge indicates whether the midpoint is on the left side (positive) or right side (negative) of the vector from the start point to the end point.
The
CircularArcByBulgeis defined by:- The point (read-only).
- The start point startPoint. (read-only).
- The end point endPoint. (read-only).
- The bulge factor bulge. (read-write).
A `CircularArcByBulge` cannot be instantiated directly. Instead, it must be created using the createCircularArcByBulge factory method.