Skip to main content

Module geom

Module geom 

Source
Expand description

Geometry primitives for the NextVision runtime.

All spatial types use normalized [0, 1] coordinates relative to frame dimensions. This eliminates resolution-dependency throughout the perception pipeline.

To convert to pixel coordinates: px = normalized * dimension.

Structs§

AffineTransform2D
2D affine transform represented as a 3×3 matrix in row-major order.
BBox
Axis-aligned bounding box in normalized [0, 1] coordinates.
Point2
2D point in normalized [0, 1] coordinates.
Polygon
Closed polygon in normalized [0, 1] coordinates.