GeometryBuilder.createCurve(PointArray) always make cycled curve

Description

I wrote psedo code of test creating Curve.

I set values of pts {1.0, 1.0, 0.0, 2.0, 2.0, 0.0, 4.0, 2.0, 1.0, 5.0, 1.0, 1.0 }
I expected that created Curve instance from the builder.createCurve() is not cycled curve,
but "Curve(1.0 1.0 0.0, 2.0 2.0 0.0, 4.0 2.0 1.0, 5.0 1.0 1.0, 1.0 1.0 0.0) "is returned.

When creating LineSegment from the PointArray in createCurve method, this code always make cycled segments.

Environment

None

Status

Assignee

Aaryn Olsson

Reporter

Hyung-Gyu Ryoo

Triage

Components

Affects versions

Priority

High
Configure