Table of Contents

Method GetX

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

GetX(float)

Solves the infinite line equation for X at a given Y.

public float GetX(float y)

Parameters

y float

The Y value to evaluate.

Returns

float

The corresponding X value on the infinite line through this segment.

Remarks

This method does not clamp the result to the finite segment and may divide by zero for horizontal lines.