AnsweredAssumed Answered

Acute angle check?

Question asked by SeanHudson72 on Feb 26, 2016
Latest reply on Mar 2, 2016 by CLau-esristaff

Hello there,

 

Is there a way in CGA code to check if a 2D scope contains any acute angles?  The reason I ask is that I don't want to generate a building on any lots with acute angles (generate a Park instead maybe).  I can check for 3 sided lots and rule them out, but it doesn't help with cases like this . . .

 

Acute_Angle_Lot.jpg

 

. . . .where there are 4 verts and 4 'sides' even though 2 of the sides are co-incident.  Checking for an acute angle would solve this, as there are 2 acute internal angles.  This strikes me as quite a basic thing to want to check for, before generating a building.

 

Any help appreciated.

 

Sean

Outcomes