setM static method
Return a copy of a geometry with the supplied m-value.
If the given geometry already has m-values, they are replaced within the resulting geometry by the supplied value. The resulting geometry has a Geometry.hasM value of true.
Supports true curves.
Parameters:
geometry
— A geometry.m
— The m-value.
Return Value: A copy of the given geometry with its m-values set to the supplied value.