Click or drag to resize

GeometryEngineSetZAndM Method

Return a copy of a geometry with the supplied Z and M values.

Namespace:  Esri.ArcGISRuntime.Geometry
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0
Syntax
public static Geometry SetZAndM(
	Geometry geometry,
	double z,
	double m
)

Parameters

geometry
Type: Esri.ArcGISRuntime.GeometryGeometry
A geometry.
z
Type: SystemDouble
The Z ordinate.
m
Type: SystemDouble
The M value.

Return Value

Type: Geometry
A copy of the given geometry with its Z ordinates set to the supplied value.
Remarks
If the given geometry already has Z ordinates or M values, they will be replaced in the resulting geometry by the supplied Z and M values. The resulting geometry will have both hasZ and hasM true.
See Also