Aim
Calculating the area of overlap of two standard deviational ellipses in R and work out their intersection and union.
Tool to be used
calc_sde() from the 'aspace' package: calc_sde()
Question
Given some of the values returned by the function (see below), is it possible to calculate the area of the ellipses and the extent of their overlap? In particular, I would like to be able to work out the intersection and union between the two polygons. Not an expert in trigonometry and maths, so I am wondering which of the following values returned by the aboventioned function can be put to work and how:
CENTRE.x
X-coordinate of the centre
CENTRE.y
Y-coordinate of the centre
Sigma.x
Half-length of axis along x-axis
Sigma.y
Half-length of axis along y-axis
Theta
Rotation angle in degrees
Eccentricity
A measure of eccentricity (i.e., the flatness of the ellipse)
Area.sde
Area of the SDE
TanTheta
Trigonometric result
SinTheta
Trigonometric result
CosTheta
Trigonometric result
SinThetaCosTheta
Trigonometric result
Sin2Theta
Trigonometric result
Cos2Theta
Trigonometric result
ThetaCorr
Corrected theta angle for rotation of major axis from north