1

I have to draw a triangle with an angle of 37 degrees, with the 2 sides forming that angle being 250m. I cannot figure out how to do this in ArcMap without hand-drawing it. This seems relatively basic enough that there should be a way to do it automatically. I am on ArcMap 10.3

Midavalo
  • 29,696
  • 10
  • 48
  • 104

2 Answers2

1

In ArcMap, create the first point of your triangle, then right click the mouse and select distance and direction. Since you know three pieces of the triangle (side lengths and angles) you can use the Law of Sines or the Law of Cosines to solve all the angles and side lengths. Better still use an online triangle solver.

GBG
  • 9,737
  • 1
  • 15
  • 44
0

The question as it is has countless number of solutions unless first side of triangle is defined.

If so and you have lines made of 2 points, this field calculator on Shape field. It will replace them by triangle with angle defined in expression box and 2nd 'arm' length equal length of original segment:

import math
pi=math.pi
def getTriAngle(shp,A):
 L=shp.length; p1=shp.firstPoint; p2=shp.lastPoint
 dX=p2.X-p1.X; dY=p2.Y-p1.Y
 z=math.atan2(dY,dX)
 a=float(A)/180*pi
 nA=z-(pi-a)
 nX=p2.X+L*math.cos(nA);nY=p2.Y+ L*math.sin(nA)
 p3=arcpy.Point(nX,nY)
 line=arcpy.Polyline(arcpy.Array([p1,p2,p3,p1]))
 return line

===============================

getTriAngle( !Shape!,35)

enter image description here enter image description here

FelixIP
  • 22,922
  • 3
  • 29
  • 61