SlopeInterceptItemGetSlope(FVector2, FVector2) Method
Return the slope of the line expressed by two points.
Namespace: GeometryAssembly: Geometry (in Geometry.dll) Version: 25.2820.4317
public static float GetSlope(
FVector2 pointA,
FVector2 pointB
)
Public Shared Function GetSlope (
pointA As FVector2,
pointB As FVector2
) As Single
No code example is currently available or this language may not be supported.
- pointA FVector2
-
The first end of the line to measure.
- pointB FVector2
-
The second end of the line to measure.
Single
The algebraic slope of the line (y2 - y1) / (x2 - x1).