mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-09 15:14:02 +00:00
[example] Fix unused variable warnings by adding an example usage.
This commit is contained in:
parent
6ce78ef31a
commit
bebb134c05
@ -121,6 +121,9 @@ int main()
|
||||
// (delimiter separated values)
|
||||
std::cout << dsv(pt3) << std::endl;
|
||||
|
||||
// 5. or wkt
|
||||
std::cout << wkt(p4) << (equals(p4, p5) ? " equals " : " don't equals ") << wkt(p5) << std::endl;
|
||||
|
||||
// There are 3-dimensional points too
|
||||
model::point<double, 3, cs::cartesian> d3a, d3b;
|
||||
assign_values(d3a, 1, 2, 3);
|
||||
|
Loading…
x
Reference in New Issue
Block a user