Table of Contents

Interface ISegmentString

Namespace
NetTopologySuite.Noding
Assembly
NetTopologySuite.dll

An interface for classes which represent a sequence of contiguous line segments. SegmentStrings can carry a context object, which is useful for preserving topological or parentage information.

public interface ISegmentString

Properties

Context

Gets/Sets the user-defined data for this segment string.

object Context { get; set; }

Property Value

object

Coordinates

Points that make up ISegmentString

Coordinate[] Coordinates { get; }

Property Value

Coordinate[]

Count

Size of Coordinate Sequence

int Count { get; }

Property Value

int

IsClosed

States whether ISegmentString is closed

bool IsClosed { get; }

Property Value

bool

this[int]

LineSegment this[int index] { get; set; }

Parameters

index int

Property Value

LineSegment