Constructores

Espacio de nombres: Digi21.DigiNG.Entities
Ensamblado: Digi21.DigiNG

Crea un SegmentPointer al segmento de una línea que une dos vértices.

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

Parámetros

Parámetro Descripción
line ReadOnlyLine a la que pertenece el segmento. Se devuelve en Line.
firstVertex Índice del primer vértice en line.Points. Se devuelve en FirstVertex.
secondVertex Índice del segundo vértice en line.Points. Se devuelve en SecondVertex.

El constructor no comprueba los parámetros.

Ejemplo

El ejemplo de SegmentPointer crea un SegmentPointer por segmento de una línea.