SlopeInterceptItemGetSlope(FLine) Method

Return the slope of the provided line.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public static float GetSlope(
	FLine line
)

Parameters

line  FLine
Reference to the line for which to calculate the slope.

Return Value

Single
The algebraic slope of the line (y2 - y1) / (x2 - x1).

See Also