The angle between two identical points. Odesláno z iPhonu
15. 4. 2019 v 19:35, Tarquin Wilton-Jones via Therion <therion@speleo.sk>: > Sorry for dragging a thread in the wrong direction, but ... > >> That would indeed be helpful. > > > If you're looking for a nice example ... this is what happens when you > create a slope with two straight points, then accidentally add a third > point on the same position as the first one: > > " > ! angle(0,0) is taken as zero. > <for(0)> ...EXPR0)])-angle(thdir((path),(EXPR0)))) > > mod360;alw_perpendicular:=... > > l_slope->...wn.lengths[i]:lengths[i]:=-1;fi;endfor > > ;ni:=0;pi:=0;for.i=0upto.l... > l.9329 ...(1,51.7368,24.3004),(2,51.7368,24.3004)) > ; > The `angle' between two identical points is undefined. > I'm zeroing this one. Proceed, with fingers crossed. > > ... > > error -- metapost exit code -- 2 > " > > That one is really not very human readable (though I can at least see it > was a "slope" at fault). > > > Tarquin > _______________________________________________ > Therion mailing list > Therion@speleo.sk > https://mailman.speleo.sk/listinfo/therion _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion