ChangeDirection

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

Reverses the entity's direction: the last vertex becomes the first. Method of IDirectionable.

void ChangeDirection()

In Line, the method reverses the native entity's vertex order. Vertex coordinates do not change.

Exceptions

Exception When
InvalidOperationException The line is read-only (ReadOnly is true).

Example

The IDirectionable example reverses a line.