Could you tell me how can I check programatically if three points ([RVector]) are aligned.
I tried :
Code: Select all
var pointsCheck = [pointStart, pointEnd, pointsIntersec[0]]
var polyline = new RPolyline(pointsCheck, false)
var isAlign = RShape.isXLineShape(polyline);
EAction.handleUserMessage("pointsCheck : " + pointsCheck)
EAction.handleUserMessage("isAlign : " + isAlign)
Many thanks
Miro