It that mean draw a right angle between two points and obtain the vertical distance between them in hoops Communicator.
Hello @619944680,
I’m not really sure if this is what you are looking for – but to get the distance between two points you can subtract the two points to create a vector and then get the length (distance) of that vector. Here’s a code snippet:
var p1 = new Communicator.Point3(3, 2, 1);
var p2 = new Communicator.Point3(1, 1, 1);
var vec1 = p1.subtract(p2);
var len = vec1.length();
Thanks,
Tino
1 Like