|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConstructAngle
Provides access to members that construct an angle using other geometries and measures. This interface is implemented by the GeometryEnvironment object.
ConstructAngle returns the angle formed either by three input points used to define the angle or an input line (and the implied baseline). The constructed angle is returned in radians and is always between -Pi and Pi.
Method Summary | |
---|---|
double |
constructLine(ILine inLine)
Constructs the angle between the infinite line containing the input line segment and the positive x-axis. |
double |
constructThreePoint(IPoint from,
IPoint through,
IPoint to)
Constructs the angle included in three points. |
Method Detail |
---|
double constructThreePoint(IPoint from, IPoint through, IPoint to) throws IOException, AutomationException
ConstructThreePoint returns the Angle formed by three input points. The returned angle is the smaller angle formed by an imaginary line from the first to the second point and the second to the third point. The measure of the constructed angle is between -Pi and Pi. The returned angle can also be thought of as the displacement angle of a line from the second point to the third point with a baseline formed by the first point and second point.
from
- A reference to a com.esri.arcgis.geometry.IPoint (in)through
- A reference to a com.esri.arcgis.geometry.IPoint (in)to
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IConstructAngle.constructLine(com.esri.arcgis.geometry.ILine)
,
IConstructAngle.constructThreePoint(com.esri.arcgis.geometry.IPoint, com.esri.arcgis.geometry.IPoint, com.esri.arcgis.geometry.IPoint)
double constructLine(ILine inLine) throws IOException, AutomationException
ConstructLine returns the Angle defined by a given Line input. This is the same Angle returned by the ILine::Angle method. The Angle is displacement of the Line from a baseline through the From Point extending in the positive X direction. The returned angle is the smaller angle with measure between -Pi and Pi.
inLine
- A reference to a com.esri.arcgis.geometry.ILine (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IConstructAngle.constructLine(com.esri.arcgis.geometry.ILine)
,
IConstructAngle.constructThreePoint(com.esri.arcgis.geometry.IPoint, com.esri.arcgis.geometry.IPoint, com.esri.arcgis.geometry.IPoint)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |