|
|||||||||||||||||||||||||||
• Files |
Geometry 2D The geometry classes were the easiest to write after I made the decision to build from the APIs my apps were using down to the macOS and Windows hosts. They were also the first I finished. The primitives herein pretty much align with what Taligent's Albert project had, though some of the names changed a bit. The simplest classes explicitly avoid virtual functions and avoid allocating memory. As such they do not require a virtual constructor and as a convenience they offer public members. The idea was those public members weren't going to change. Thirty three years later (as of August 2021) that idea still holds. All of the geometries are based on the special type Coord. It is used for all geometric members and parameters. Coord equates to the Guildhall scalar type fdual and that in turn to the 64-bit floating point type. Here are the geometry primitives.
The knot vector used in the TCurve class is a TCoordArray, discussed in the Arrays section. Additonal Constructible Classes
|