Ask the user to specify a distance.
This function pauses to get a second point from the user to determine a distance. You may prompt the user to specify the second point, either numerically or by picking a point.
The argument point represents the first point, from which the distance is measured.
The prompt argument represents a command-line prompt requesting that the user specify a second point for determining a distance. This argument may be null.
The argument answer is the distance between the two points.
This function returns one of the following: RTCAN, RTERROR, RTKWORD, RTNONE, or RTNORM.
Example
sds_point point1;
sds_real real1;
sds_getpoint(NULL,"\nFirst point: ",point1);
sds_getdist(point1,"\nSecond point: ",&real1);
sds_printf("\nThe distance between the points is %f. ",real1);
Tell me about...
Programming Overview of SDS™ (Solutions Development System™)