geometry
geometry copied to clipboard
Fixed Writing 3D WKT:Z prefix
Changed the wkt_point
struct to take 3 parameters rather than 2, for one for 2d and one for 3d, added the prefix_z
function in prefix.hpp,
and also added a line of code to print 3d points in 01_point_example.cpp
.
@awulkiew In https://github.com/boostorg/geometry/issues/664#issuecomment-583736980 you suggested
we'd need a separate function for that.
What did you have in mind?
This PR seems to follow my suggestion I made in https://github.com/boostorg/geometry/issues/664#issuecomment-583773745
@Siddharth-coder13 The commit and description of PR that addresses an existing issue should contain reference to the issue (i.e. #664
)
Yeah, sure from next time I will make sure this.
Do this PR needs more changes? @mloskot
@Siddharth-coder13 No, for now it does not, but we need to wait and clarify my question https://github.com/boostorg/geometry/pull/782#issuecomment-743275433 in order to confirm this is actually the kind of change we need and want.
@awulkiew, your reviews are needed on this PR.
@Siddharth-coder13 Please, see https://github.com/boostorg/geometry/pull/789#issuecomment-777841388