Package with simple mathimatical Funktions
Simple mathematical Functions
adds a vector to a point
adds a vector to a point
returns the difference between two Points: Point1 - Point2
2-Norm of Vector
subtracts a vector from a point
subtracts a vector from a point
returns square of x
returns square of x
returns 1 if X>0, 0 if X=0 and -1 else
returns true if the first Point is in the area (given by the second and third point)
returns 0 if Y=0, and otherwise X div Y
Converts a Point into a vector (Area_Size): Width = X, Height = Y. It means that it will generate a Area between Zero_Point and Pos.
Converts a vector (Area_Size) into a Point: X = Width, Y = Heigth.
returns true if parts of the edge are in the visible area; else false