Table of Contents

Method GetY

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

GetY(float)

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

public float GetY(float x)

Parameters

x float

The X value to evaluate.

Returns

float

The corresponding Y 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 vertical lines.