Get the entity number of an edge using matlab
Posted 14 mai 2019 à 12:50 UTC−4 LiveLink for MATLAB, API, Geometry Version 5.4 1 Reply
Please login with a confirmed email address before reporting spam
Do you have ever get the entity number of an edge using the start and end points of that edge? In fact, I have the coordinates (and definitely their entity numbers) of two specific points (for instance the point 1 and 2) then, I'm gonna find the entity number of that edge which is made by those points (it might be a curve or even more complicated edge)
I don't wanna use the "mphselectbox" or "mphselectcoords" because of this problem; according to the image that I've attached Imagine in 2D, you have two lines and 3 points and you create a box using "mphselectbox" and the coordinates of the "point1" and "point2" *to get the entity number of "line1". (actually,the entity number of “line1” is our goal) as you see in this image, the result of "mphselectbox" function is the entity number of "line1" and also "line2" !!!!!!!!!!!! because "poitn3" is in this box (which is the smallest box contains "point1" and "point2")
I have a complicated geometry with many points and edges in 3D and I'm gonna get the entity number of every edge using the start and end points of each edge.