Chapter 4. Constructors

Table of Contents

4.1. Point
4.2. Euler transformation
4.3. Circle
4.4. Line
4.5. Ellipse
4.6. Polygon
4.7. Path
4.8. Coordinates range
4.9. smoc

Constructors within pgSphere are functions needed to create spherical data types from other data types. For actual use, there isn't a difference to usual PostgreSQL functions. pgSphere constructor functions are named by returned data type. Constructor functions expecting one parameter only are implemented as casting operators, too. These are not mentioned here.