Command Line 6.3

3.35. distance command

Description: This option allows the user to calculate the Euclidean distance between two given points.

Inline mode usage:

  • distance -h: Displays the help file that summarizes the parameters for this command.
  • distance <point1> <point2>: Calculates and displays the distance between the two specified points. Each point is represented by its three components, separated by a blank space.

Interactive mode usage:

  • Invocation: distance
  • Parameters:
    • First point
    • Second point


> distance

Select first point [x y z]: 3 0 0

Select second point [x y z]: 0 4 0

The distance between points is: 5.0

We use cookies on this website to improve your navigation experience on this site. By using this site, you agree to our cookie policy.

I agree