Constructors

Namespace: Digi21.DigiNG.Entities
Assembly: Digi21.DigiNG

Creates a SegmentPointer to a line segment joining two vertices.

public SegmentPointer(ReadOnlyLine line, int firstVertex, int secondVertex)

Parameters

Parameter Description
line ReadOnlyLine to which the segment belongs. Returned in Line.
firstVertex First vertex's index in line.Points. Returned in FirstVertex.
secondVertex Second vertex's index in line.Points. Returned in SecondVertex.

The constructor does not check parameters.

Example

The SegmentPointer example creates a SegmentPointer for each segment of a line.