Method WithZAndM
WithZAndM<T>(T, Double, Double)
Returns a copy of a geometry with the supplied z-coordinate and m-value.
Declaration
public static T WithZAndM<T>(this T geometry, double z, double m)
where T : Geometry
Parameters
Type | Name | Description |
---|---|---|
T | geometry | A geometry. |
System.Double | z | The z-coordinate. |
System.Double | m | The m-value. |
Returns
Type | Description |
---|---|
T | A copy of the given geometry with the supplied z-coordinate and m-value. |
Type Parameters
Name | Description |
---|---|
T |
Remarks
If the given geometry already has z-coordinate or m-values, they are replaced in the
resulting geometry by the supplied values. The resulting geometry will have both
HasZ and HasM true
.
Supports true curves.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.0 - 200.5 |
.NET | 200.0 - 200.5 |
.NET Windows | 200.0 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 200.0 - 200.5 |
UWP | 200.0 - 200.5 |