Crate geo_aid_figure

Source
Expand description

This crate contains type definitions for Geo-AID’s JSON format.

Modules§

math_string
Math strings are Geo-AID’s way of handling text involving math-specific notation.

Structs§

Circle
A circle
CircleItem
A circle item. Usually depicted by a circle.
Complex
A complex number real + i*imaginary
Entity
A single entity
EntityIndex
Index of an expression or an entity
Expression
A single expression
Figure
A figure generated by Geo-AID
Label
Label-related information
Line
A line
LineItem
A line item. Usually depicted by a line.
PointItem
A point item. Usually depicted by a dot.
Position
A figure-space position
Ratio
A rational number
TwoPointItem
A segment or a ray. Usually depicted by a line.
VarIndex
Index of an expression. Isn’t Copy for easier differentiation between moving and cloning the value.

Enums§

EntityKind
The kind of an entity
ExpressionKind
The kind of an expression
Item
An item drawn on the image
Style
Defines how a line should be drawn
Value
A value of an expression or an entity