com.esri.arcgis.geometry
Class IEllipticArcProxy

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.IEllipticArcProxy
All Implemented Interfaces:
java.io.Externalizable, ICurve, IEllipticArc, IGeometry, java.io.Serializable

public class IEllipticArcProxy
extends ICurveProxy
implements IEllipticArc, java.io.Serializable

Provides access to members that control properties of elliptic arc segments.

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
  IEllipticArcProxy()
          For internal use only
  IEllipticArcProxy(java.lang.Object obj)
           
protected IEllipticArcProxy(java.lang.Object obj, java.lang.String iid)
           
  IEllipticArcProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IEllipticArcProxy(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 ellipse into its complement; 'from' and 'to' points are unchanged.
 void getAxes(double[] semiMajor, double[] semiMinor, double[] minorMajorRatio)
          Gets the semi-major and semi-minor axes.
 IPoint getCenterPoint()
          The center point of the arc.
 double getCentralAngle()
          The included (or central) angle.
 double getFromAngle(boolean ellipseStd)
          The start angle (measured from a horizontal line through the center point) defining where the arc starts.
 double getToAngle(boolean ellipseStd)
          The end angle (measured from a horizontal line through the center point) defining where the arc ends.
 boolean isCircular()
          Indicates if this elliptical arc is acutally circular (major and minor axes same length).
 boolean isCounterClockwise()
          Indicates if this elliptic arc is oriented counter-clockwise from its 'from' point to its 'to' point.
 boolean isLine()
          Indicates if the arc is degenerated to a line.
 boolean isMinor()
          Indicates whether the arc is a minor arc or a major arc.
 boolean isPoint()
          Indicates if the arc is degenerated to a point.
 void putAxes(double semiMajor, double minorMajorRatio)
          Sets the semi-major and semi-minor axes.
 void putCoords(boolean ellipseStd, IPoint center, IPoint from, IPoint to, double rotationAngle, double minorMajorRatio, int orientation)
          Sets the center point and endpoints, angle of rotation, and orientation.
 void putCoordsByAngle(boolean ellipseStd, IPoint center, double fromAngle, double centralAngle, double rotationAngle, double semiMajor, double minorMajorRatio)
          Sets the center point, starting angle, signed central angle, angle of rotation, ratio of the minor axis to the major axis, and axes.
 void queryCenterPoint(IPoint center)
          Copies the center of this arc to the input point.
 void queryCoords(boolean ellipseStd, IPoint center, IPoint from, IPoint to, double[] rotationAngle, double[] minorMajorRatio, boolean[] isCCW, boolean[] minor)
          Copies the center and endpoints, angle of rotation, orientation and major/minor properties into the method parameters.
 void queryCoordsByAngle(boolean ellipseStd, IPoint center, double[] fromAngle, double[] centralAngle, double[] rotationAngle, double[] semiMajor, double[] minorMajorRatio)
          Returns the center point, starting angle, signed central angle, angle of rotation, ratio of the minor axis to the major axis, and axes.
 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 centralAngle)
          The included (or central) angle.
 void setFromAngle(boolean ellipseStd, double fromAngle)
          The start angle (measured from a horizontal line through the center point) defining where the arc starts.
 void setIsCounterClockwise(boolean isCCW)
          Indicates if this elliptic arc is oriented counter-clockwise from its 'from' point to its 'to' point.
 void setIsMinor(boolean isMinor)
          Indicates whether the arc is a minor arc or a major arc.
 void setToAngle(boolean ellipseStd, double toAngle)
          The end angle (measured from a horizontal line through the center point) defining where the 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

IEllipticArcProxy

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

IEllipticArcProxy

public IEllipticArcProxy()
For internal use only


IEllipticArcProxy

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

IEllipticArcProxy

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

IEllipticArcProxy

protected IEllipticArcProxy(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(boolean ellipseStd,
                        IPoint center,
                        IPoint from,
                        IPoint to,
                        double[] rotationAngle,
                        double[] minorMajorRatio,
                        boolean[] isCCW,
                        boolean[] minor)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IEllipticArc
Copies the center and endpoints, angle of rotation, orientation and major/minor properties into the method parameters.

Supported Platforms

Windows, Solaris, Linux

Description

Given the EllipseStd value, returns the Center Point, From Point, To Point, Rotation Angle, Minor Axis to Major Axis Ratio, IsCounterClockwise value, and IsMinor value of the Elliptic Arc.  If EllipseStd = TRUE, the From Point and To Point locations are relative offsets from the Center Point rather than the origin.

Remarks

These are the necessary inputs for PutCoords, except in special cases (half ellipse, full ellipse, Central Angle = 0, and Minor to Major Ratio = 0) where the ArcOrientation must know which of these cases exists to ensure that the desired Elliptic Arc is unambiguous. Any of the output parameters can be set to nil if that info is not desired.

-isCCW stands for "is counter clockwise"

IEllipticArc QueryCoords Example

Specified by:
queryCoords in interface IEllipticArc
Parameters:
ellipseStd - The ellipseStd (in)
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)
rotationAngle - The rotationAngle (in/out: use single element array)
minorMajorRatio - The minorMajorRatio (in/out: use single element array)
isCCW - The isCCW (in/out: use single element array)
minor - The minor (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(boolean ellipseStd,
                      IPoint center,
                      IPoint from,
                      IPoint to,
                      double rotationAngle,
                      double minorMajorRatio,
                      int orientation)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IEllipticArc
Sets the center point and endpoints, angle of rotation, and orientation.

Supported Platforms

Windows, Solaris, Linux

Description

PutCoords creates an Elliptic Arc given the EllipseStd value, Center Point, From Point, To Point, Rotation Angle, Minor Axis to Major Axis Ratio, and the Arc Orientation.  If EllipseStd = TRUE, the From Point and To Point locations are relative offsets from the Center Point rather than the origin.

Remarks

Unless the coordinates of the From and To Points are exactly on the defined Elliptic Arc, PutCoords is likely to create an invalid Elliptic Arc.  Therefore, it is highly recommended that another Elliptic Arc creation method is used unless all of the necessary input parameters are exactly known.

IEllipticArc PutCoords Example

Specified by:
putCoords in interface IEllipticArc
Parameters:
ellipseStd - The ellipseStd (in)
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)
rotationAngle - The rotationAngle (in)
minorMajorRatio - The minorMajorRatio (in)
orientation - 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(boolean ellipseStd,
                               IPoint center,
                               double[] fromAngle,
                               double[] centralAngle,
                               double[] rotationAngle,
                               double[] semiMajor,
                               double[] minorMajorRatio)
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: IEllipticArc
Returns the center point, starting angle, signed central angle, angle of rotation, ratio of the minor axis to the major axis, and axes.

Supported Platforms

Windows, Solaris, Linux

Description

Given the EllipseStd value, returns the Center Point, From Angle, Central Angle, Rotation Angle, semi-Major axis length, and Minor Axis to Major Axis Ratio for the Elliptic Arc.  These are the same parameters used by PutCoordsByAngle to create the Elliptic Arc.  If EllipseStd = TRUE, the From Angle is relative to the rotated semi-Major Axis rather than the X-Axis.

Remarks

 

IEllipticArc QueryCoordsByAngle Example

Specified by:
queryCoordsByAngle in interface IEllipticArc
Parameters:
ellipseStd - The ellipseStd (in)
center - A reference to a com.esri.arcgis.geometry.IPoint (in)
fromAngle - The fromAngle (in/out: use single element array)
centralAngle - The centralAngle (in/out: use single element array)
rotationAngle - The rotationAngle (in/out: use single element array)
semiMajor - The semiMajor (in/out: use single element array)
minorMajorRatio - The minorMajorRatio (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(boolean ellipseStd,
                             IPoint center,
                             double fromAngle,
                             double centralAngle,
                             double rotationAngle,
                             double semiMajor,
                             double minorMajorRatio)
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IEllipticArc
Sets the center point, starting angle, signed central angle, angle of rotation, ratio of the minor axis to the major axis, and axes.

Supported Platforms

Windows, Solaris, Linux

Description

Creates an Elliptic Arc given the EllipseStd value, Center Point, From Angle, Central Angle, Rotation Angle, semi-Major Axis length, and Minor Axis to Major Axis Ratio.  If EllipseStd = TRUE, the From Angle is relative to the rotated semi-Major Axis rather than the X-Axis.

Remarks

This is the recommended way to create an arbitrary Elliptic 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.

IEllipticArc PutCoordsByAngle Example

Specified by:
putCoordsByAngle in interface IEllipticArc
Parameters:
ellipseStd - The ellipseStd (in)
center - A reference to a com.esri.arcgis.geometry.IPoint (in)
fromAngle - The fromAngle (in)
centralAngle - The centralAngle (in)
rotationAngle - The rotationAngle (in)
semiMajor - The semiMajor (in)
minorMajorRatio - The minorMajorRatio (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: IEllipticArc
The center point of the arc.

Supported Platforms

Windows, Solaris, Linux

Description

The CenterPoint is the point where the Major Axis and Minor Axis of the EllipticArc intersect.  The CenterPoint is the point from which all angles and distances are calculated to create the EllipticArc.

Remarks

 

EllipticArc CenterPoint Example

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

queryCenterPoint

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

Supported Platforms

Windows, Solaris, Linux

Description

The CenterPoint is the point where the Major Axis and Minor Axis of the EllipticArc intersect.  The CenterPoint is the point from which all angles and distances are calculated to create the EllipticArc. You must instantiate the Point before calling QueryCenterPoint. For example,

Dim pPoint as IPoint
Set pPoint = New Point

Remarks

The QueryCenterPoint method should be used in performance critical situations, where the center point of several arcs needs to be retrieved. The point is populated (not created) by the method. For example, this can be used to get the center point of several arcs in a loop. Creating the point only once outside the loop may improve performance for large number of arcs.

EllipticArc QueryCenterPoint Example

Specified by:
queryCenterPoint in interface IEllipticArc
Parameters:
center - 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.

getAxes

public void getAxes(double[] semiMajor,
                    double[] semiMinor,
                    double[] minorMajorRatio)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IEllipticArc
Gets the semi-major and semi-minor axes.

Supported Platforms

Windows, Solaris, Linux

Description

Returns the Major Axis, the Minor Axis, and the ratio of the Minor Axis to the Major Axis.  The Major Axis is the larger of the two Axes, and the Minor Axis is the smaller Axis.  The Major Axis always lies on the line between 0 and Pi Radians in EllipseStd, and the Minor Axis always lies on the line between Pi/2 and 3*Pi/2 Radian in EllipseStd.

Remarks

The Axes can be set using PutAxes.

EllipticArc GetAxes Example

Specified by:
getAxes in interface IEllipticArc
Parameters:
semiMajor - The semiMajor (in/out: use single element array)
semiMinor - The semiMinor (in/out: use single element array)
minorMajorRatio - The minorMajorRatio (in/out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

putAxes

public void putAxes(double semiMajor,
                    double minorMajorRatio)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IEllipticArc
Sets the semi-major and semi-minor axes.

Supported Platforms

Windows, Solaris, Linux

Description

Sets the Major Axis and the Minor Axis.  The Major Axis is the larger of the two Axes, and the Minor Axis is the smaller Axis.  The Major Axis always lies on the line between 0 and Pi Radians in EllipseStd, and the Minor Axis always lies on the line between Pi/2 and 3*Pi/2 Radian in EllipseStd.

Remarks

The Axes can be returned using GetAxes.

EllipticArc PutAxes Example

Specified by:
putAxes in interface IEllipticArc
Parameters:
semiMajor - The semiMajor (in)
minorMajorRatio - The minorMajorRatio (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getFromAngle

public double getFromAngle(boolean ellipseStd)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IEllipticArc
The start angle (measured from a horizontal line through the center point) defining where the arc starts.

Supported Platforms

Windows, Solaris, Linux

Description

The From Angle is the angle of the Line defined by the Center Point and the From Point of the Elliptic Arc.  Setting the From Angle changes the From Point of the Elliptic Arc without altering the embedded geometry.  The From Angle is measured in radians (there are 2*pi radians in a full ellipse).  If EllipseStd = TRUE, the From Angle is relative to the rotated semi-Major Axis rather than the X-Axis.

Remarks

 

EllipticArc FromAngle Example

Specified by:
getFromAngle in interface IEllipticArc
Parameters:
ellipseStd - The ellipseStd (in)
Returns:
The fromAngle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFromAngle

public void setFromAngle(boolean ellipseStd,
                         double fromAngle)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IEllipticArc
The start angle (measured from a horizontal line through the center point) defining where the arc starts.

Supported Platforms

Windows, Solaris, Linux

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

getToAngle

public double getToAngle(boolean ellipseStd)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IEllipticArc
The end angle (measured from a horizontal line through the center point) defining where the arc ends.

Supported Platforms

Windows, Solaris, Linux

Description

The To Angle is the angle of the Line defined by the Center Point and the To Point of the Elliptic Arc.  Setting the To Angle changes the To Point of the Elliptic Arc without altering the embedded geometry.  The To Angle is measured in radians (there are 2*pi radians in a full ellipse).  If EllipseStd = TRUE, the To Angle is relative to the rotated semi-Major Axis rather than the X-Axis.

Remarks

 

EllipticArc ToAngle Example

Specified by:
getToAngle in interface IEllipticArc
Parameters:
ellipseStd - The ellipseStd (in)
Returns:
The toAngle
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setToAngle

public void setToAngle(boolean ellipseStd,
                       double toAngle)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IEllipticArc
The end angle (measured from a horizontal line through the center point) defining where the arc ends.

Supported Platforms

Windows, Solaris, Linux

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

getCentralAngle

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

Supported Platforms

Windows, Solaris, Linux

Description

The CentralAngle describes the span of the EllipticArc.  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 CentralAngle > 0, then the EllipticArc is oriented in a CounterClockwise direction.

Remarks

 

EllipticArc CentralAngle Example

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

setCentralAngle

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setCentralAngle in interface IEllipticArc
Parameters:
centralAngle - The centralAngle (in)
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: IEllipticArc
Indicates if the arc is degenerated to a point.

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

isLine

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

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

isCounterClockwise

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

Specified by:
isCounterClockwise in interface IEllipticArc
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: IEllipticArc
Indicates if this elliptic arc is oriented counter-clockwise from its 'from' point to its 'to' point.

Supported Platforms

Windows, Solaris, Linux

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

isMinor

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

Specified by:
isMinor in interface IEllipticArc
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: IEllipticArc
Indicates whether the arc is a minor arc or a major arc.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setIsMinor in interface IEllipticArc
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: IEllipticArc
Changes this ellipse into its complement; 'from' and 'to' points are unchanged.

Supported Platforms

Windows, Solaris, Linux

Description

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

Remarks

 

Complement Example

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

isCircular

public boolean isCircular()
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IEllipticArc
Indicates if this elliptical arc is acutally circular (major and minor axes same length).

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