Page 1 of 1
IsPointInMap - Void Testing Solution
Posted: Wed Nov 07, 2018 2:09 pm
by Major Cooke
Pull Request
Big thanks to dpJudas and Gutawer for helping me with this.
Finally, now you can test and see if a vector is inside the map or in the void. See the example below.
Re: IsPointInMap - Void Testing Solution
Posted: Wed Nov 07, 2018 2:18 pm
by Rachael
Saved me the trouble of (eventually) getting around to it.
Re: IsPointInMap - Void Testing Solution
Posted: Wed Nov 07, 2018 2:50 pm
by Graf Zahl
Why is this using an internal function of the node builder?
Re: IsPointInMap - Void Testing Solution
Posted: Wed Nov 07, 2018 3:14 pm
by Major Cooke
I didn't know how to use the other versions of the function properly since they involved nodes.
Re: IsPointInMap - Void Testing Solution
Posted: Wed Nov 07, 2018 3:26 pm
by Graf Zahl
The main issue here is that the semantics of this function are not the same as of P_PointOnSide or P_PointOnDivLineside because it has to consider the special needs of the node builder. Please rewrite this to use P_PointOnDivLineSide. It may need a bit more setup but is the better choice here.