Skip to main content

Module project_plane

Module project_plane 

Source
Expand description

An edge projected orthogonally onto a plane, as an exact curve in the plane’s own coordinates.

Orthogonal projection onto a plane is affine, so it keeps every curve whose family is closed under affine maps: a line stays a line (or collapses to a point), a circle or ellipse becomes an ellipse (a circle when its plane is parallel, a segment when it stands square), and a B-spline becomes the B-spline on its projected control points, weights unchanged. Any other curve is fitted, and the fit’s error is returned with it.

Enums§

ProjectedCurve
An edge’s orthogonal projection onto a plane, in the plane frame’s x and y coordinates.

Functions§

project_edge_onto_plane
The orthogonal projection of an edge onto a plane, in the plane’s own 2D coordinates (its frame’s x and y axes). The edge’s placement is applied first.