OEGeom3DAngleCoord

template<class T>
void OEGeom3DAngleCoord(T* dst, const T* center, const T* r1, T ang,
                        T len)
template<class T>
void OEGeom3DAngleCoord(T* dst, const T* center, const T* r1,
                        const T* n, T ang, T len)

Calculates cartesian coordinate point dst that has a distance of len from the point center, and the vector \((dst-center)\) forms an angle of ang radians with the vector \((r1-center)\). The second form places it on (or to the closest possible to) the plane defined by the normal n. The first form chooses the normal to be either the x or the y coordinate based on the proximity of \((r1-center)\) to these axes.