IConstructCurve2 Interface

Provides access to members that construct a curve using other geometries and measures.

Members

Name Description
Method ApproximateByBeziers Constructs a curve which approximates the input curve by a small number of Bezier segments.
Method ConstructExtended Constructs an extended version of the 'from' curve that goes to the 'to' curve. The flags are bit-wise combined esriCurveExtension values.
Method ConstructKoch Constructs a Koch snowflake fractal using the input polycurve as the generator. 'r' is not used. Do not use a value for recursionLevel > 10.
Method ConstructOffset Constructs a curve being the locus of points offset a given distance from another curve. See the enumeration esriConstructOffsetEnum to information on different ways that offset curve can be generated.

IConstructCurve2.ApproximateByBeziers Method

Constructs a curve which approximates the input curve by a small number of Bezier segments.

Public Sub ApproximateByBeziers ( _
    ByVal pInCurve As IPolycurve, _
    [ByRef pMaxDistance As Object], _
    [ByRef smoothClosedParts As Object] _
)
public void ApproximateByBeziers (
    IPolycurve pInCurve,
    ref object pMaxDistance,
    ref object smoothClosedParts
);

Description

ApproximateByBeziers constructs a curve consisting Bezier segments that being the approximation of input polycurve inCurve. The maxDistance parameter defines the maximum distance between the vertices of the input curve to the generated curve. If maxDistance is zero then for each segment of inCurve there is one Bezier segment created for this geometry. The parameter smoothClosedParts defines whether or not the last segment of the input polyline curve which is closed should be smoothed with the first segment of the curve. The smoothClosedParts parameter is only used if both this geometry and inCurve are polylines. If this geometry or inCurve is a polygon then smoothClosedParts is overwritten and set to true.

The resulting geometry is a polygon or polyline depending on the type of "this geometry" rather than the type of inCurve. If "this geometry" is a polygon and inCurve is a polyline with any open path, an error is returned (result is an empty polygon).

Inherited Interfaces

Interfaces Description
IConstructCurve Provides access to members that construct a curve using other geometries and measures.

Classes that implement IConstructCurve2

Classes Description
Polygon A collection of rings ordered by their containment relationship; optionally has measure, height and ID attributes.
Polyline An ordered collection of paths; optionally has measure, height and ID attributes.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.