macro_rules! point {
    ($x:expr,$y:expr) => { ... };
}
Expand description

Creates a Point struct, used for input and output for simplify. A type should be specified as the first argument that implements the ExtendedNumOps trait.

Example

use simplify_polyline::*;

let point = point!(1.0, 1.0);