|
| string | svg::to_string (point_2t p) |
| | Convert point_2t to string.
|
| |
| void | svg::split_vrange (const vrange &cpoints, vspace &xpoints, vspace &ypoints, const double xscale=1, const double yscale=1) |
| | Decompose/split 2D ranges to 1D spaces, perhaps with scaling.
|
| |
| vrange | svg::union_vrange (const vrange &r1, const vrange &r2) |
| | Union two ranges.
|
| |
| point_2t | svg::max_vrange (vspace &xpoints, vspace &ypoints, const uint pown) |
| | For each dimension of vrnage, find min/max and return (xmax, ymax) NB: Assumes zero is min.
|
| |
| point_2t | svg::max_vrange (const vrange &points, const uint pown, const double xscale=1, const double yscale=1) |
| | Just the range info, none of the temporary objects.
|
| |
| vspace | svg::narrow_vspace (const vspace &points, uint pown) |
| | Truncate double to double with pown signifigant digits.
|
| |
| space_type | svg::distance_cartesian (const point_2t &p1, const point_2t &p2) |
| | Find cartesian distance between two 2D points.
|
| |
| bool | svg::detect_collision (const point_2t &p1, const int r1, const point_2t &p2, const int r2) |
| |
| vpoints | svg::vrangenamed_to_points (const vrangenamed &inpoints) |
| | Convert point_2ts to Point.
|
| |
| vrangenamed | svg::points_to_vrangenamed (const vpoints &inpoints) |
| | Convert Point to point_2t.
|
| |