Parameters
- x
- The X-value.
- y
- The Y-value.
- hasZ
- If true, the Z-value is set and HasZ is true.
- z
- The Z-value which is used only if hasZ is true.
- hasM
- If true, the M-value is set and HasM is true.
- m
- The M-value which is used only if hasM is true.
- hasId
- If true, the ID value is set and HasID is true.
- id
- The ID-value which is used only if hasId is true.
- spatialReference
- (Optional) The SpatialReference. The default value is null.