public class MultiCurveBuilder extends Object
IMultiCurve instances.| Modifier and Type | Method and Description |
|---|---|
IMultiCurve |
build()
Creates a multi-curve with each previously added line string represented
as an individual curve.
|
MultiCurveBuilder |
withLineString(com.mapinfo.midev.geometry.DirectPosition... positions)
Adds a new line string as a curve to the multi-curve to be created with
this builder.
|
MultiCurveBuilder |
withLineString(IDirectPositionList positions)
Adds a new line string as a curve to the multi-curve to be created with
this builder.
|
MultiCurveBuilder |
withLineString(Iterable<com.mapinfo.midev.geometry.DirectPosition> positions)
Adds a new line string as a curve to the multi-curve to be created with
this builder.
|
public MultiCurveBuilder withLineString(com.mapinfo.midev.geometry.DirectPosition... positions)
positions - An array of direct positions representing the points of
the line string.public MultiCurveBuilder withLineString(Iterable<com.mapinfo.midev.geometry.DirectPosition> positions)
positions - An iterable data structure of direct positions
representing the points of the line string.public MultiCurveBuilder withLineString(IDirectPositionList positions)
positions - A direct position list representing the points of the
line string.public IMultiCurve build()