hm_getlinepointsatdistance
For a given line, test point, and distance, this command finds all of the line points that are at the specified distance from the test point.
Syntax
hm_getlinepointsatdistance lineID dist x y z
Type
HyperMesh Tcl Query Command
Description
For a given line, test point, and distance, this command finds all of the line points that are at the specified distance from the test point.
Inputs
- lineID
- ID of the line.
- dist
- Distance from the test point.
- x, y, z
- Coordinates of the test point.
Example
The result is returned as a list of values: { x1 y1 z1 x2 y2 z2 … } where "xn" "yn" "zn" are coordinates of points on the line that are at distance "dist" from the test point defined by "x", "y", "z".
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}