Expand description

All sorts of geometrical functions, constants and procedures

Structs

Stores the angle in radians internally

An ellipse for geometrical purposes

Functions

return a vector of magnitude 1 that has the slope of the external bisector of the angle described by the three given points.

given the foci and a point of the ellipse return its center, semimajor axis, semiminor axis and angle

given the foci and the sum of distances that define the ellipse return its center, semimajor and semiminor axis

Mirrors the first point given through the second one

given the four corners that define an ellipse returns the length of the semimajor axis, a vector that defines it and the length of the semiminor axis

Given the three points that define a rombus in some space, return the matrix that transform its space into one where that very rombus is rectangle in the first quadrant.

Given two points return the points in their 1/3 and 2/3 of the segment from a to b.