jon3de Posted January 9, 2016 Share Posted January 9, 2016 Hello, My goal is to calculate the distance between two specific points in a wrangle sop. For the distance expression I need two vectors right? But I was not able to get the specific position vector of Ptnum 2 for example. After some research I was able to achieve it in vops with import point attribute. In the wrangle sop I have still problems. Here I would be grateful for some help. As you can see in the picture I try to create two vectors with "pointattrib" which I want to use in the distance expression. I think that is the right way but I have problems with the syntax of the "pointattrib". kind regards Jon Quote Link to comment Share on other sites More sharing options...
mestela Posted January 9, 2016 Share Posted January 9, 2016 Use point(): vector p1 = point(0,'P',0); vector p2 = point(0,'P',1); @distance = distance(p1,p2); vex_distance.hipnc 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.