This document is archived and information here might be outdated.  Recommended version.


ICircularArc Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

ICircularArc Interface

Provides access to members that control properties of circular arcs.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

A CircularArc is an object that describes any portion of a circle.  The size of the CircularArc is determined by the length of the Radius and the Central Angle.  CircularArcs can be constructed by numerous different methods given a wide variety of input parameters.  A CircularArc differs from an EllipticArc in that every point along the CircularArc must be a fixed distance (the Radius) from the CenterPoint.

Members

Description
Read-only property CenterPoint The center point.
Read/write property CentralAngle The included (or central) angle.
Read/write property ChordHeight The chord height (assigning preserves endpoints, and orientation unless chord height is < 0).
Method Complement Changes this arc into its complement; 'from' and 'to' points are unchanged.
Read-only property Dimension The topological dimension of this geometry.
Read-only property Envelope Creates a copy of this geometry's envelope and returns it.
Read/write property FromAngle The angle, measured from a horizontal line through this circular arc's center point, that defines where this arc starts.
Read/write property FromPoint The 'from' point of the curve.
Read-only property GeometryType The type of this geometry.
Method GeoNormalize Shifts longitudes, if need be, into a continuous range of 360 degrees.
Method GeoNormalizeFromLongitude Normalizes longitudes into a continuous range containing the longitude. This method is obsolete.
Method GetSubcurve Extracts a portion of this curve into a new curve.
Read-only property IsClosed Indicates if 'from' and 'to' points (of each part) are identical.
Read/write property IsCounterClockwise Indicates if this circular is oriented counter-clockwise from its 'from' point to its 'to' point.
Read-only property IsEmpty Indicates whether this geometry contains any points.
Read-only property IsLine Indicates if the arc has degenerated to a line (radius is infinite).
Read/write property IsMinor Indicates whether this circular arc is a minor arc or a major arc.
Read-only property IsPoint Indicates if the arc has degenerated to a point (radius is 0).
Read-only property Length The length of the curve.
Method Project Projects this geometry into a new spatial reference.
Method PutCoords Defines this arc by a center point, 'from' and 'to' points, and orientation. If the from and to points do not lie on the same circle, the arc's center point will be adjusted.
Method PutCoordsByAngle Defines this circular arc by a center point, 'from' angle, signed central angle, and radius.
Method PutRadiusByPoint Defines the radius of this circular arc to be the distance from the arc's center point to the input point; other properties remain unchanged.
Method QueryCenterPoint Copies the center point of this circular arc to the input point.
Method QueryCoords Copies the center, 'from' and 'to' points, orientation and major/minor property into the input parameters.
Method QueryCoordsByAngle Returns the center point, 'from' angle, signed central angle, and radius.
Method QueryEnvelope Copies this geometry's envelope properties into the specified envelope.
Method QueryFromPoint Copies this curve's 'from' point to the input point.
Method QueryNormal Constructs a line normal to a curve from a point at a specified distance along the curve.
Method QueryPoint Copies to outPoint the properties of a point on the curve at a specified distance from the beginning of the curve.
Method QueryPointAndDistance Finds the point on the curve closest to inPoint, then copies that point to outPoint; optionally calculates related items.
Method QueryTangent Constructs a line tangent to a curve from a point at a specified distance along the curve.
Method QueryToPoint Copies the curve's 'to' point into the input point.
Read/write property Radius The radius.
Method ReverseOrientation Reverses the parameterization of the curve ('from' point becomes 'to' point, first segment becomes last segment, etc).
Method SetEmpty Removes all points from this geometry.
Method SnapToSpatialReference Moves points of this geometry so that they can be represented in the precision of the geometry's associated spatial reference system.
Read/write property SpatialReference The spatial reference associated with this geometry.
Read/write property ToAngle The angle, measured from a horizontal line through this circular arc's center point, that defines where this arc ends.
Read/write property ToPoint The 'to' point of the curve.

Inherited Interfaces

Interfaces Description
ICurve Provides access to properties and methods of all 1 dimensional curves (polylines, segments, boundaries of polygons, etc.).
IGeometry Provides access to members that describe properties and behavior of all geometric objects.

CoClasses that implement ICircularArc

CoClasses and Classes Description
CircularArc A portion of a circle that connects two points optionally has measure, height and ID attributes at each endpoint.

Remarks

 

ICircularArc Example

[C#]

    private void OutputArcProperties(ICircularArc circularArc)
    {
        String report="Center Point: (" + circularArc.CenterPoint.X + ", " +
              circularArc.CenterPoint.Y + ")" + "\n" +
        "From Point: (" + circularArc.FromPoint.X + ", " +
              circularArc.FromPoint.Y + ")" + "\n" +
        "To Point: (" + circularArc.ToPoint.X + ", " +
              circularArc.ToPoint.Y + ")" + "\n" +
        "From Angle: " + circularArc.FromAngle + "\n" +
        "Central Angle: " + circularArc.CentralAngle + "\n" +
        "To Angle: " + circularArc.ToAngle + "\n" +
        "Radius: " + circularArc.Radius + "\n" +
        "Chord Height: " + circularArc.ChordHeight + "\n" +
        "IsCounterClockwise: " + circularArc.IsCounterClockwise + "\n" +
        "IsMinor: " + circularArc.IsMinor + "\n" +
        "IsLine: " + circularArc.IsLine + "\n" +
        "IsPoint: " + circularArc.IsPoint + ")";
        //IsLine and IsPoint check for degenerate cases of CircularArcs
        System.Windows.Forms.MessageBox.Show(report);
    }

See Also

IPoint Interface | IGeometry Interface | ISegment Interface | IConstructCircularArc Interface

.NET Snippets

Create ExtractOp Circle Raster | Create CircularArc From Points

.NET Related Topics

How to build a polygon using segments and points | How to create a multipoint using the ConstructIntersectionEx method | How to create a polygon | How to create a polyline | How to use some basic properties and methods on ICircularArc | How to use the ICurve methods | How to use the IEnumSegment methods | How to use the IEnumVertex methods | How to work with ICurve methods