com.esri.arcgis.geometry
Interface IBezierCurveGEN

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
BezierCurve, IBezierCurveGENProxy

public interface IBezierCurveGEN
extends java.io.Serializable

OLE automation compatibility interface for IBezierCurve.

Product Availability

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


Method Summary
 int getDegree()
          The degree of the Bezier curve.
 void putCoord(int index, IPoint controlPoint)
          Sets the specified (0 <= index < 4) control point of this Bezier curve.
 void putCoords(IPoint[] controlPoints)
          Sets this Bezier curve's control points from an array of between 1 to 4 input points.
 void queryChordLengthTangentAtFrom(IPoint tangent, boolean[] setByUser)
          Returns tangent vector at 'from' point, based on chord length parametrization; and whether it has been set by user or by smoothing process.
 void queryChordLengthTangentAtTo(IPoint tangent, boolean[] setByUser)
          Returns tangent vector at 'to' point, based on chord length parametrization; and whether it has been set by user or by smoothing process.
 void queryCoord(int index, IPoint controlPoint)
          Copies the specified control point of this Bezier curve into the input point.
 void queryCoords(IPoint[] controlPoints)
          Sets the existing elements of an existing safe array to be equal to the four control points of this bezier curve.
 void queryInflectionPoint(IPoint inflectionPoint)
          Finds inflection point; sets it empty if none exists.
 void setChordLengthTangentAtFrom(IPoint tangent, boolean setByUser)
          Establishes tangent vector at 'from' point, based on chord length parametrization; and sets flag whether it has been set by user or by smoothing process.
 void setChordLengthTangentAtTo(IPoint tangent, boolean setByUser)
          Establishes tangent vector at 'to' point, based on chord length parametrization; and sets flag whether it has been set by user or by smoothing process.
 

Method Detail

queryCoords

public void queryCoords(IPoint[] controlPoints)
                 throws java.io.IOException,
                        AutomationException
Sets the existing elements of an existing safe array to be equal to the four control points of this bezier curve.

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

putCoords

public void putCoords(IPoint[] controlPoints)
               throws java.io.IOException,
                      AutomationException
Sets this Bezier curve's control points from an array of between 1 to 4 input points.

Description

Defines the control points of the bezier curve using an array of four Points.  If the array is defined as an array from 0 to 3, then the index of each point corresponds to the control point they represent.

Remarks

Use PutCoord to set a single control point.

 

BezierCurve PutCoords Example

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

queryCoord

public void queryCoord(int index,
                       IPoint controlPoint)
                throws java.io.IOException,
                       AutomationException
Copies the specified control point of this Bezier curve into the input point.

Parameters:
index - The index (in)
controlPoint - 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.

putCoord

public void putCoord(int index,
                     IPoint controlPoint)
              throws java.io.IOException,
                     AutomationException
Sets the specified (0 <= index < 4) control point of this Bezier curve.

Parameters:
index - The index (in)
controlPoint - 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.

getDegree

public int getDegree()
              throws java.io.IOException,
                     AutomationException
The degree of the Bezier curve. For third degree Beziers, this is always 3.

Returns:
The degree
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryChordLengthTangentAtFrom

public void queryChordLengthTangentAtFrom(IPoint tangent,
                                          boolean[] setByUser)
                                   throws java.io.IOException,
                                          AutomationException
Returns tangent vector at 'from' point, based on chord length parametrization; and whether it has been set by user or by smoothing process.

Parameters:
tangent - A reference to a com.esri.arcgis.geometry.IPoint (in)
setByUser - The setByUser (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryChordLengthTangentAtTo

public void queryChordLengthTangentAtTo(IPoint tangent,
                                        boolean[] setByUser)
                                 throws java.io.IOException,
                                        AutomationException
Returns tangent vector at 'to' point, based on chord length parametrization; and whether it has been set by user or by smoothing process.

Parameters:
tangent - A reference to a com.esri.arcgis.geometry.IPoint (in)
setByUser - The setByUser (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setChordLengthTangentAtFrom

public void setChordLengthTangentAtFrom(IPoint tangent,
                                        boolean setByUser)
                                 throws java.io.IOException,
                                        AutomationException
Establishes tangent vector at 'from' point, based on chord length parametrization; and sets flag whether it has been set by user or by smoothing process.

Parameters:
tangent - A reference to a com.esri.arcgis.geometry.IPoint (in)
setByUser - The setByUser (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setChordLengthTangentAtTo

public void setChordLengthTangentAtTo(IPoint tangent,
                                      boolean setByUser)
                               throws java.io.IOException,
                                      AutomationException
Establishes tangent vector at 'to' point, based on chord length parametrization; and sets flag whether it has been set by user or by smoothing process.

Parameters:
tangent - A reference to a com.esri.arcgis.geometry.IPoint (in)
setByUser - The setByUser (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryInflectionPoint

public void queryInflectionPoint(IPoint inflectionPoint)
                          throws java.io.IOException,
                                 AutomationException
Finds inflection point; sets it empty if none exists.

Parameters:
inflectionPoint - 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.