Table of Contents

Method Equals

Namespace
Pinwheel.Vista.Geometric
Assembly
Pinwheel.Vista.Runtime.dll

Equals(Line2D)

Tests whether two segments represent the same endpoints, ignoring direction.

public bool Equals(Line2D other)

Parameters

other Line2D

The segment to compare against.

Returns

bool

true when both endpoints match in either forward or reversed order; otherwise, false.

Remarks

The comparison first uses Approximately(float, float) on component values and then falls back to exact vector equality for the forward direction.