ArcObjects Library Reference (Geometry)  

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 Long

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