|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.geometry.IGeometryProxy
com.esri.arcgis.geometry.ICurveProxy
com.esri.arcgis.geometry.ICircularArcProxy
Provides access to members that control properties of circular arcs.
| 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 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 |
public static final java.lang.Class targetClass
| Constructor Detail |
public ICircularArcProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public ICircularArcProxy()
public ICircularArcProxy(java.lang.Object obj)
throws java.io.IOException
protected ICircularArcProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected ICircularArcProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
| Method Detail |
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
Dispatch
addListener in class ICurveProxyjava.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class ICurveProxyjava.io.IOException
public void queryCoords(IPoint center,
IPoint from,
IPoint to,
boolean[] isCCW,
boolean[] isMinor)
throws java.io.IOException,
AutomationException
ICircularArcQueryCoords returns the Center Point, the From Point, the To Point, the value of IsCounterClockwise, and the value of IsMinor for the Circular Arc.
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"

queryCoords in interface ICircularArccenter - 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void putCoords(IPoint center,
IPoint from,
IPoint to,
int arcOrientation)
throws java.io.IOException,
AutomationException
ICircularArcUse 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.).
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.

putCoords in interface ICircularArccenter - 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryCoordsByAngle(IPoint center,
double[] fromAngle,
double[] centerAngle,
double[] arcRadius)
throws java.io.IOException,
AutomationException
ICircularArcReturns 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.

queryCoordsByAngle in interface ICircularArccenter - 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void putCoordsByAngle(IPoint cp,
double fromAngle,
double centralAngle,
double arcRadius)
throws java.io.IOException,
AutomationException
ICircularArcPutCoordsByAngle creates a Circular Arc given the Center Point, the From Angle, the Central Angle, and the Radius.
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.

putCoordsByAngle in interface ICircularArccp - A reference to a com.esri.arcgis.geometry.IPoint (in)fromAngle - The fromAngle (in)centralAngle - The centralAngle (in)arcRadius - The arcRadius (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void putRadiusByPoint(IPoint radialPoint)
throws java.io.IOException,
AutomationException
ICircularArcPutRadiusByPoint 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.

putRadiusByPoint in interface ICircularArcradialPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IPoint getCenterPoint()
throws java.io.IOException,
AutomationException
ICircularArcReturns 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.

getCenterPoint in interface ICircularArcjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryCenterPoint(IPoint center)
throws java.io.IOException,
AutomationException
ICircularArcReturns 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.
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.

queryCenterPoint in interface ICircularArccenter - A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getRadius()
throws java.io.IOException,
AutomationException
ICircularArcThe 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.

getRadius in interface ICircularArcAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setRadius(double outRadius)
throws java.io.IOException,
AutomationException
ICircularArcThe 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.
setRadius in interface ICircularArcoutRadius - The outRadius (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getFromAngle()
throws java.io.IOException,
AutomationException
ICircularArcThe 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.

getFromAngle in interface ICircularArcjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFromAngle(double outFromAngle)
throws java.io.IOException,
AutomationException
ICircularArcThe 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.
setFromAngle in interface ICircularArcoutFromAngle - The outFromAngle (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getToAngle()
throws java.io.IOException,
AutomationException
ICircularArcThe 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.

getToAngle in interface ICircularArcjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setToAngle(double outToAngle)
throws java.io.IOException,
AutomationException
ICircularArcThe 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.
setToAngle in interface ICircularArcoutToAngle - The outToAngle (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getCentralAngle()
throws java.io.IOException,
AutomationException
ICircularArcThe 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.

getCentralAngle in interface ICircularArcAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setCentralAngle(double outCentalAngle)
throws java.io.IOException,
AutomationException
ICircularArcThe 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.
setCentralAngle in interface ICircularArcoutCentalAngle - The outCentalAngle (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getChordHeight()
throws java.io.IOException,
AutomationException
ICircularArcThe 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.

getChordHeight in interface ICircularArcjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setChordHeight(double chordHeight)
throws java.io.IOException,
AutomationException
ICircularArcThe 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.
setChordHeight in interface ICircularArcchordHeight - The chordHeight (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isLine()
throws java.io.IOException,
AutomationException
ICircularArc
isLine in interface ICircularArcAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isPoint()
throws java.io.IOException,
AutomationException
ICircularArc
isPoint in interface ICircularArcjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCounterClockwise()
throws java.io.IOException,
AutomationException
ICircularArc
isCounterClockwise in interface ICircularArcjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsCounterClockwise(boolean isCCW)
throws java.io.IOException,
AutomationException
ICircularArcIsCounterClockwise returns TRUE if the CentralAngle is greater than 0. If the IsCounterClockwise values differ, setting IsCounterClockwise changes the CircularArc to its Complement.
setIsCounterClockwise in interface ICircularArcisCCW - The isCCW (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isMinor()
throws java.io.IOException,
AutomationException
ICircularArc
isMinor in interface ICircularArcjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsMinor(boolean isMinor)
throws java.io.IOException,
AutomationException
ICircularArcIsMinor is TRUE when the CentralAngle < Pi (180 degrees). If the IsMinor values differ, setting IsMinor changes the CircularArc to its Complement.
setIsMinor in interface ICircularArcisMinor - The isMinor (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void complement()
throws java.io.IOException,
AutomationException
ICircularArcThe 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.

complement in interface ICircularArcAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||