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