This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IC > IConstructCurve Interface > IConstructCurve.ConstructKoch Method (ArcObjects .NET 10.4 SDK) |
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
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.).