Method WithM
WithM<T>(T, Double)
Returns a copy of a geometry with the supplied M value.
Declaration
public static T WithM<T>(this T geometry, double m)
where T : Geometry
Parameters
Type | Name | Description |
---|---|---|
T | geometry | A geometry. |
Double | m | The m-value. |
Returns
Type | Description |
---|---|
T | A copy of the given geometry with its m-values set to the supplied value. |
Type Parameters
Name | Description |
---|---|
T |
Remarks
If the given geometry already has m-values, they will be replaced within the resulting geometry
by the supplied m-value. The resulting geometry has HasM true
.
Supports true curves.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.0 - 200.1 |
.NET 6.0 | 200.0 - 200.1 |
.NET 6.0 Windows | 200.0 - 200.1 |
.NET 6.0 Android | 200.0 - 200.1 |
.NET 6.0 iOS | 200.0 - 200.1 |
.NET Framework | 200.0 - 200.1 |
UWP | 200.0 - 200.1 |