This document is archived and information here might be outdated.  Recommended version.


IConstructCurve.ConstructKoch Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IC > IConstructCurve Interface > IConstructCurve.ConstructKoch Method
ArcGIS Developer Help

IConstructCurve.ConstructKoch Method

Constructs a Koch snowflake fractal using the input polycurve as the generator. 'r' is not used. Do not use a value for recursionLevel > 10.

[Visual Basic .NET]
Public Sub ConstructKoch ( _
    ByVal p As IPolycurve, _
    ByVal r As Double, _
    ByVal recursionLevel As Integer _
)
[C#]
public void ConstructKoch (
    IPolycurve p,
    double r,
    int recursionLevel
);
[C++]
HRESULT ConstructKoch(
  IPolycurve* p,
  double r,
  Long recursionLevel
);
[C++]
Parameters
p 

p is a parameter of type IPolycurve* r
r is a parameter of type double recursionLevel
recursionLevel is a parameter of type int

Product Availability

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

Description

ConstructKoch creates a Koch fractal from the given input curve.  It treats all segments as linear segments (ie. All CircularArcs, BezierCurves, and EllipticArc as treated like lines between the From and To Points.).

Remarks

 

ConstructCurve ConstructKoch Example

See Also

IConstructCurve Interface