Expand description
GeoScript
’s builtin functions and types
Modules§
- angle
- area
- Functions related to calculating an area.
- bisector
- The
bisector
function - circle
- Functions directly related to circles.
- complex
- All functions for complex number manipulation
- degrees
- The
degrees
function. - dst
- The
dst
function - intersection
- The
intersection
function - lies_on
- The
lies_on
rule - line
- The
Line
function - macros
- Helper macros
- mid
- parallel
- The
parallel_through
function - perpendicular
- The
perpendicular_through
function - point
- The
Point
function. - polygon
- Polygon related functions.
- prelude
- A prelude for builtin functions.
- radians
- The
radians
function. - segment
- The
Segment
type and function - transform
- triangle
- Triangle-related functions
- trigonometry
- Trigonometry functions.
Structs§
- Function
- A
GeoScript
function. - Function
Overload - An overload of a function in
GeoScript
. - Function
Rule Overload - A rule overload made from a function.
- Library
- The library of all rules and functions available in geoscript.
- Number
Unit - Number with a specific unit.
- Pc
- Point collection with a specific size
- Rule
- A rule operator.
Enums§
- Definition
- A direct definition or an alias
Traits§
- Addable
- Trait for adding a definition to the library.
- Into
Overload - Helper trait for overloading a function. Features a special marker for managing possible different implementations on the same type.
- Into
Rule Overload - Trait for things convertible into rule overloads
- Overload
- Trait for function overloads
- Rule
Overload - Trait for rule overloads
Functions§
- get_
derived_ pc - Returns what size of point collection can the given derived type be cast onto. 0 signifies that casting is not possible