com.esri.arcgis.geometry
Class ICircularArcProxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.geometry.IGeometryProxy
          extended bycom.esri.arcgis.geometry.ICurveProxy
              extended bycom.esri.arcgis.geometry.ICircularArcProxy
All Implemented Interfaces:
java.io.Externalizable, ICircularArc, ICurve, IGeometry, java.io.Serializable

public class ICircularArcProxy
extends ICurveProxy
implements ICircularArc, java.io.Serializable

Provides access to members that control properties of circular arcs.

Product Availability

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

See Also:
Serialized Form

Field Summary
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Constructor Summary
  ICircularArcProxy()
          For internal use only
  ICircularArcProxy(java.lang.Object obj)
           
protected ICircularArcProxy(java.lang.Object obj, java.lang.String iid)
           
  ICircularArcProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected ICircularArcProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Adds a Java object to be a listener for a specific kind of event generated by the COM object.
 void complement()
          Changes this arc into its complement; 'from' and 'to' points are unchanged.
 IPoint getCenterPoint()
          The center point.
 double getCentralAngle()
          The included (or central) angle.
 double getChordHeight()
          The chord height (assigning preserves endpoints, and orientation unless chord height is < 0).
 double getFromAngle()
          The angle, measured from a horizontal line through this circular arc's center point, that defines where this arc starts.
 double getRadius()
          The radius.
 double getToAngle()
          The angle, measured from a horizontal line through this circular arc's center point, that defines where this arc ends.
 boolean isCounterClockwise()
          Indicates if this circular is oriented counter-clockwise from its 'from' point to its 'to' point.
 boolean isLine()
          Indicates if the arc has degenerated to a line (radius is infinite).
 boolean isMinor()
          Indicates whether this circular arc is a minor arc or a major arc.
 boolean isPoint()
          Indicates if the arc has degenerated to a point (radius is 0).
 void putCoords(IPoint center, IPoint from, IPoint to, int arcOrientation)
          Defines this arc by a center point, 'from' and 'to' points, and orientation.
 void putCoordsByAngle(IPoint cp, double fromAngle, double centralAngle, double arcRadius)
          Defines this circular arc by a center point, 'from' angle, signed central angle, and radius.
 void putRadiusByPoint(IPoint radialPoint)
          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.
 void queryCenterPoint(IPoint center)
          Copies the center point of this circular arc to the input point.
 void queryCoords(IPoint center, IPoint from, IPoint to, boolean[] isCCW, boolean[] isMinor)
          Copies the center, 'from' and 'to' points, orientation and major/minor property into the input parameters.
 void queryCoordsByAngle(IPoint center, double[] fromAngle, double[] centerAngle, double[] arcRadius)
          Returns the center point, 'from' angle, signed central angle, and radius.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Removes a Java object as a listener to events generated by a COM object.
 void setCentralAngle(double outCentalAngle)
          The included (or central) angle.
 void setChordHeight(double chordHeight)
          The chord height (assigning preserves endpoints, and orientation unless chord height is < 0).
 void setFromAngle(double outFromAngle)
          The angle, measured from a horizontal line through this circular arc's center point, that defines where this arc starts.
 void setIsCounterClockwise(boolean isCCW)
          Indicates if this circular is oriented counter-clockwise from its 'from' point to its 'to' point.
 void setIsMinor(boolean isMinor)
          Indicates whether this circular arc is a minor arc or a major arc.
 void setRadius(double outRadius)
          The radius.
 void setToAngle(double outToAngle)
          The angle, measured from a horizontal line through this circular arc's center point, that defines where this arc ends.
 
Methods inherited from class com.esri.arcgis.geometry.ICurveProxy
getFromPoint, getLength, getSubcurve, getToPoint, isClosed, queryFromPoint, queryNormal, queryPoint, queryPointAndDistance, queryTangent, queryToPoint, reverseOrientation, setFromPoint, setToPoint
 
Methods inherited from class com.esri.arcgis.geometry.IGeometryProxy
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, hashCode, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, readExternal, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geometry.ICurve
getFromPoint, getLength, getSubcurve, getToPoint, isClosed, queryFromPoint, queryNormal, queryPoint, queryPointAndDistance, queryTangent, queryToPoint, reverseOrientation, setFromPoint, setToPoint
 
Methods inherited from interface com.esri.arcgis.geometry.IGeometry
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Constructor Detail

ICircularArcProxy

public ICircularArcProxy(java.lang.String CLSID,
                         java.lang.String host,
                         AuthInfo authInfo)
                  throws java.net.UnknownHostException,
                         java.io.IOException

ICircularArcProxy

public ICircularArcProxy()
For internal use only


ICircularArcProxy

public ICircularArcProxy(java.lang.Object obj)
                  throws java.io.IOException

ICircularArcProxy

protected ICircularArcProxy(java.lang.Object obj,
                            java.lang.String iid)
                     throws java.io.IOException

ICircularArcProxy

protected ICircularArcProxy(java.lang.String CLSID,
                            java.lang.String iid,
                            java.lang.String host,
                            AuthInfo authInfo)
                     throws java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Description copied from class: Dispatch
Adds a Java object to be a listener for a specific kind of event generated by the COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
addListener in class ICurveProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Description copied from class: Dispatch
Removes a Java object as a listener to events generated by a COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
removeListener in class ICurveProxy
Throws:
java.io.IOException

queryCoords

public void queryCoords(IPoint center,
                        IPoint from,
                        IPoint to,
                        boolean[] isCCW,
                        boolean[] isMinor)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: ICircularArc
Copies the center, 'from' and 'to' points, orientation and major/minor property into the input parameters.

Supported Platforms

Windows, Solaris, Linux

Description

QueryCoords returns the Center Point, the From Point, the To Point, the value of IsCounterClockwise, and the value of IsMinor for the Circular Arc.

Remarks

These are the necessary inputs for PutCoords, except in special cases (half circle, full circle, and Central Angle = 0) where the ArcOrientation must know which of these cases exists to ensure that the desired Circular Arc is unambiguous.

-isCCW stands for "is counter clockwise"

ICircularArc QueryCoords Example

Specified by:
queryCoords in interface ICircularArc
Parameters:
center - A reference to a com.esri.arcgis.geometry.IPoint (in)
from - A reference to a com.esri.arcgis.geometry.IPoint (in)
to - A reference to a com.esri.arcgis.geometry.IPoint (in)
isCCW - The isCCW (in/out: use single element array)
isMinor - The isMinor (in/out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

putCoords

public void putCoords(IPoint center,
                      IPoint from,
                      IPoint to,
                      int arcOrientation)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: ICircularArc
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.

Supported Platforms

Windows, Solaris, Linux

Description

Use to create a Circular Arc by specifying the Center Point, From Point, To Point, and ArcOrientation.  Care must be taken to ensure that the ArcOrientation is not ambiguous (For half-circles, ArcOrientation must be either Clockwise or CounterClockwise, and when the From Point and To Point are the same, ArcOrientation must be either Minor or Major.).

Remarks

If the FromPoint, ToPoint and CenterPoint specified do not create a circle, the created arc will have its CenterPoint adjusted until the FromPoint and ToPoint can be accomodated on the same circle. Therefore the resultant arcs CenterPoint may not be exactly the same as the input CenterPoint.

ICircularArc PutCoords Example

Specified by:
putCoords in interface ICircularArc
Parameters:
center - A reference to a com.esri.arcgis.geometry.IPoint (in)
from - A reference to a com.esri.arcgis.geometry.IPoint (in)
to - A reference to a com.esri.arcgis.geometry.IPoint (in)
arcOrientation - A com.esri.arcgis.geometry.esriArcOrientation constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryCoordsByAngle

public void queryCoordsByAngle(IPoint center,
                               double[] fromAngle,
                               double[] centerAngle,
                               double[] arcRadius)
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: ICircularArc
Returns the center point, 'from' angle, signed central angle, and radius.

Supported Platforms

Windows, Solaris, Linux

Description

Returns the Center Point, From Angle, Central Angle, and Radius for the Circular Arc.  These are the same parameters used by PutCoordsByAngle to create the Circular Arc.

Remarks

 

ICircularArc QueryCoordsByAngle Example

Specified by:
queryCoordsByAngle in interface ICircularArc
Parameters:
center - A reference to a com.esri.arcgis.geometry.IPoint (in)
fromAngle - The fromAngle (in/out: use single element array)
centerAngle - The centerAngle (in/out: use single element array)
arcRadius - The arcRadius (in/out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

putCoordsByAngle

public void putCoordsByAngle(IPoint cp,
                             double fromAngle,
                             double centralAngle,
                             double arcRadius)
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: ICircularArc
Defines this circular arc by a center point, 'from' angle, signed central angle, and radius.

Supported Platforms

Windows, Solaris, Linux

Description

PutCoordsByAngle creates a Circular Arc given the Center Point, the From Angle, the Central Angle, and the Radius.

Remarks

PutCoordsByAngle is one of the easiest ways to create a desired Circular Arc.  However, due to numeric accuracy limitations of computers and trigonometric functions, the From and To Points may be very slightly offset from the expected coordinates.  This is important to keep in mind when attempting to connect the endpoints to other segments.

ICircularArc PutCoordsByAngle Example

Specified by:
putCoordsByAngle in interface ICircularArc
Parameters:
cp - A reference to a com.esri.arcgis.geometry.IPoint (in)
fromAngle - The fromAngle (in)
centralAngle - The centralAngle (in)
arcRadius - The arcRadius (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

putRadiusByPoint

public void putRadiusByPoint(IPoint radialPoint)
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: ICircularArc
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.

Supported Platforms

Windows, Solaris, Linux

Description

PutRadiusByPoint sets the Radius of the Circular Arc to be the distance between the Center Point and the input Point.  This has the same effect as setting the Radius using the Radius property of the Circular Arc.

Remarks

 

CircularArc PutRadiusByPoint Example

Specified by:
putRadiusByPoint in interface ICircularArc
Parameters:
radialPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getCenterPoint

public IPoint getCenterPoint()
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: ICircularArc
The center point.

Supported Platforms

Windows, Solaris, Linux

Description

Returns the Center Point of the CircularArc.  The Center Point is the Point equidistant from all other points on the CircularArc, and it is the point from which the Radius is measured.

Remarks

 

CircularArc CenterPoint Example

Specified by:
getCenterPoint in interface ICircularArc
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryCenterPoint

public void queryCenterPoint(IPoint center)
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: ICircularArc
Copies the center point of this circular arc to the input point.

Supported Platforms

Windows, Solaris, Linux

Description

Returns the Center Point of the CircularArc.  The Center Point is the Point equidistant from all other points on the CircularArc, and it is the point from which the Radius is measured.

Remarks

Note: The output geometry must be co-created prior to the query. The output geometry is not co-created by the method; it is populated. This can be used in performance critical situations. For example, creating the geometry only once outside a loop and use the query method could improve performance.

CircularArc QueryCenterPoint Example

Specified by:
queryCenterPoint in interface ICircularArc
Parameters:
center - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRadius

public double getRadius()
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: ICircularArc
The radius.

Supported Platforms

Windows, Solaris, Linux

Description

The radius is the distance from the Center of the circle to the arc.  This property can be used to query the current radius of the circular arc or assign a new radius which changes the location of the From and To Points of the Circular Arc, but maintains the From Angle, Central Angle, and Orientation.

Remarks

 

CircularArc Radius Example

Specified by:
getRadius in interface ICircularArc
Returns:
The outRadius
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setRadius

public void setRadius(double outRadius)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: ICircularArc
The radius.

Supported Platforms

Windows, Solaris, Linux

Description

The radius is the distance from the Center of the circle to the arc.  This property can be used to query the current radius of the circular arc or assign a new radius which changes the location of the From and To Points of the Circular Arc, but maintains the From Angle, Central Angle, and Orientation.

Specified by:
setRadius in interface ICircularArc
Parameters:
outRadius - The outRadius (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getFromAngle

public double getFromAngle()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: ICircularArc
The angle, measured from a horizontal line through this circular arc's center point, that defines where this arc starts.

Supported Platforms

Windows, Solaris, Linux

Description

The FromAngle is the angle from which the CircularArc starts.  The FromAngle is measured in radians (there are 2*pi radians in a full circle.  0 Radians is the horizontal line parallel to the unrotated X-Axis extending to the right of the CenterPoint.).  The FromAngle is the angle of the line drawn between the CenterPoint and the FromPoint.

Remarks

 

CircularArc FromAngle Example

Specified by:
getFromAngle in interface ICircularArc
Returns:
The outFromAngle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFromAngle

public void setFromAngle(double outFromAngle)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: ICircularArc
The angle, measured from a horizontal line through this circular arc's center point, that defines where this arc starts.

Supported Platforms

Windows, Solaris, Linux

Description

The FromAngle is the angle from which the CircularArc starts.  The FromAngle is measured in radians (there are 2*pi radians in a full circle.  0 Radians is the horizontal line parallel to the unrotated X-Axis extending to the right of the CenterPoint.).  The FromAngle is the angle of the line drawn between the CenterPoint and the FromPoint.

Specified by:
setFromAngle in interface ICircularArc
Parameters:
outFromAngle - The outFromAngle (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getToAngle

public double getToAngle()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: ICircularArc
The angle, measured from a horizontal line through this circular arc's center point, that defines where this arc ends.

Supported Platforms

Windows, Solaris, Linux

Description

The ToAngle is the angle at which the CircularArc ends.  The ToAngle is measured in radians (there are 2*pi radians in a full circle.  0 Radians is the horizontal line parallel to the unrotated X-Axis extending to the right of the CenterPoint.).  The ToAngle is the angle of the line drawn between the CenterPoint and the ToPoint.

Remarks

 

CircularArc ToAngle Example

Specified by:
getToAngle in interface ICircularArc
Returns:
The outToAngle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setToAngle

public void setToAngle(double outToAngle)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: ICircularArc
The angle, measured from a horizontal line through this circular arc's center point, that defines where this arc ends.

Supported Platforms

Windows, Solaris, Linux

Description

The ToAngle is the angle at which the CircularArc ends.  The ToAngle is measured in radians (there are 2*pi radians in a full circle.  0 Radians is the horizontal line parallel to the unrotated X-Axis extending to the right of the CenterPoint.).  The ToAngle is the angle of the line drawn between the CenterPoint and the ToPoint.

Specified by:
setToAngle in interface ICircularArc
Parameters:
outToAngle - The outToAngle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCentralAngle

public double getCentralAngle()
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: ICircularArc
The included (or central) angle.

Supported Platforms

Windows, Solaris, Linux

Description

The CentralAngle describes the span of the CircularArc.  The CentralAngle is the angular measure between the FromAngle and the ToAngle.  The CentralAngle is measured in Radians and is always between -2*Pi and 2*Pi.  If the Central Angle > 0, then the Circular Arc is oriented CounterClockwise.  If the Central Angle < 0, then the Circular Arc is oriented Clockwise.

Remarks

 

CircularArc CentralAngle Example

Specified by:
getCentralAngle in interface ICircularArc
Returns:
The outCentalAngle
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setCentralAngle

public void setCentralAngle(double outCentalAngle)
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: ICircularArc
The included (or central) angle.

Supported Platforms

Windows, Solaris, Linux

Description

The CentralAngle describes the span of the CircularArc.  The CentralAngle is the angular measure between the FromAngle and the ToAngle.  The CentralAngle is measured in Radians and is always between -2*Pi and 2*Pi.  If the Central Angle > 0, then the Circular Arc is oriented CounterClockwise.  If the Central Angle < 0, then the Circular Arc is oriented Clockwise.

Specified by:
setCentralAngle in interface ICircularArc
Parameters:
outCentalAngle - The outCentalAngle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChordHeight

public double getChordHeight()
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: ICircularArc
The chord height (assigning preserves endpoints, and orientation unless chord height is < 0).

Supported Platforms

Windows, Solaris, Linux

Description

The Chord Height is the positive perpendicular distance measured from the center of the chord to Circular Arc.  The chord is the Line defined by the From and To Points of the Circular Arc.  Setting the Chord Height redefines the Circular Arc, but maintains the existing From and To Points.

Remarks

 

CircularArc ChordHeight Example

Specified by:
getChordHeight in interface ICircularArc
Returns:
The chordHeight
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setChordHeight

public void setChordHeight(double chordHeight)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: ICircularArc
The chord height (assigning preserves endpoints, and orientation unless chord height is < 0).

Supported Platforms

Windows, Solaris, Linux

Description

The Chord Height is the positive perpendicular distance measured from the center of the chord to Circular Arc.  The chord is the Line defined by the From and To Points of the Circular Arc.  Setting the Chord Height redefines the Circular Arc, but maintains the existing From and To Points.

Specified by:
setChordHeight in interface ICircularArc
Parameters:
chordHeight - The chordHeight (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLine

public boolean isLine()
               throws java.io.IOException,
                      AutomationException
Description copied from interface: ICircularArc
Indicates if the arc has degenerated to a line (radius is infinite).

Specified by:
isLine in interface ICircularArc
Returns:
The isLine
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isPoint

public boolean isPoint()
                throws java.io.IOException,
                       AutomationException
Description copied from interface: ICircularArc
Indicates if the arc has degenerated to a point (radius is 0).

Specified by:
isPoint in interface ICircularArc
Returns:
The isPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCounterClockwise

public boolean isCounterClockwise()
                           throws java.io.IOException,
                                  AutomationException
Description copied from interface: ICircularArc
Indicates if this circular is oriented counter-clockwise from its 'from' point to its 'to' point.

Specified by:
isCounterClockwise in interface ICircularArc
Returns:
The isCCW
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsCounterClockwise

public void setIsCounterClockwise(boolean isCCW)
                           throws java.io.IOException,
                                  AutomationException
Description copied from interface: ICircularArc
Indicates if this circular is oriented counter-clockwise from its 'from' point to its 'to' point.

Supported Platforms

Windows, Solaris, Linux

Description

IsCounterClockwise returns TRUE if the CentralAngle is greater than 0.  If the IsCounterClockwise values differ, setting IsCounterClockwise changes the CircularArc to its Complement.

Specified by:
setIsCounterClockwise in interface ICircularArc
Parameters:
isCCW - The isCCW (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isMinor

public boolean isMinor()
                throws java.io.IOException,
                       AutomationException
Description copied from interface: ICircularArc
Indicates whether this circular arc is a minor arc or a major arc.

Specified by:
isMinor in interface ICircularArc
Returns:
The isMinor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsMinor

public void setIsMinor(boolean isMinor)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: ICircularArc
Indicates whether this circular arc is a minor arc or a major arc.

Supported Platforms

Windows, Solaris, Linux

Description

IsMinor is TRUE when the CentralAngle < Pi  (180 degrees).  If the IsMinor values differ, setting IsMinor changes the CircularArc to its Complement.

Specified by:
setIsMinor in interface ICircularArc
Parameters:
isMinor - The isMinor (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

complement

public void complement()
                throws java.io.IOException,
                       AutomationException
Description copied from interface: ICircularArc
Changes this arc into its complement; 'from' and 'to' points are unchanged.

Supported Platforms

Windows, Solaris, Linux

Description

The Complement of a CircularArc is the CircularArc between the ToPoint and the FromPoint of the original CircularArc that creates a full circle when combined with the original CircularArc.  The Complement maintains the same FromPoint and ToPoint as the original CircularArc, but has the different IsMinor and IsCounterClockwise values.

Remarks

 

Complement Example

Specified by:
complement in interface ICircularArc
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.