' Calculate 1/2 the distance between the start and end point. Dim sngMidpointDistance As Single = _ PointDistance(StartPoint, pLineMidPoint) ' If 1/2 between the two points is greater than the radius, then a ' circular segment cannot be draw. Instead, draw a straight line ' between the two points.

How to find the Equation of a Straight Line: Examples. Example 1 Find the equation of a straight line through the point (-1,3) with slope 2. Answer: The slope of the line must be the same between any two points, e.g. between (x,y) and (-1,3) so that This implies that Example 2 Find the equation of a line through the points (1,2) and (3,1). at the end of this lesson for a visualization). The result is the three-dimensional distance formula x2-x1 2 + y 2-y1 2 + z 2-z1 2. • Have a student give you any two points in three-dimensional space and calculate the distance between them using W|A. 2 Math: Geometry Calculating Distances in Two and Three Dimensions Slope, sometimes referred to as gradient in mathematics, is a number that measures the steepness and direction of a line, or a section of a line connecting two points, and is usually denoted by m. Generally, a line's steepness is measured by the absolute value of its slope, m .