Expand description
2D Geometry
Structs§
- Circle
- Circle with offset.
- Geometries2D
- 2D geometry collection.
- Line
- A 2D line type.
- Size2
- 2D size in millimeters.
- With
Bounds2D - Holds bounds for a 3D object.
Enums§
- Geometry2D
- A 2D Geometry which is independent from resolution.
Traits§
- Calc
Bounds2D - Trait to calculate a bounding box of 2D geometry.
- Fetch
Points2D - Trait to return all points of 2D geometry.
- Render
ToGeometry2D - Something that can rendered into a 2D geometry with a certain resolution.
- Transformed2D
- Transformed version of a 2D geometry.
Functions§
- line_
string_ to_ vec - Convert a line string to a vector of
Scalar. - multi_
polygon_ to_ vec - Convert a multi polygon into a vector of coordinates.
- polygon_
to_ vec - Convert a polygon to a vector of
Scalar.
Type Aliases§
- Bounds2D
- Bounds2D type alias.
- Line
String - Line string.
- Multi
Line String - Multiple line strings.
- Multi
Polygon - Multiple polygons.
- Point
- Point.
- Polygon
- Polygon.
- Rect
- Rectangle.