Graphisoft geometric elements
Graphisoft geometric elements describe various geometric entities - mainly in 2D -, provide operations on them and gives
their relative position to each other.
The default orientation of any element (included deflections, arcs and coordinate systems) is always positive (right-hand, counter-clockwise).
The number-representation of Geometry is the double type. This means computation errors in dividing, sqare rooting, ans trigonometrical functions and makes necessary the introduction of a threshold within we consider two numbers equal. This has conventionally the name of epsilon.
The angles are always in radian.
The Geometry module has no platform-dependent calls, uses only GSRoot module for some fundamental C++ construct provided here and GSBase module for memory management.
- Support from other fields:
- 2D objects:
- 2D Vector and Point classes
- 2D Vector and Point structures
- 2D Sector, Ray and Line
- 2D Box
- 2D Circle
- 2D Ellipse
- 2D Arc
- 2D Spline
- 2D Halfplane
- 2D PolyLine
- 2D Polygon (with holes and arched edges)
- Table of 2D relative position tests and intersection calculations.
- 3D objects: