public static GeographyPoint Create(CoordinateSystem coordinateSystem, double latitude, double longitude, double?z, double?m) { SpatialBuilder builder = SpatialBuilder.Create(); GeographyPipeline geographyPipeline = builder.GeographyPipeline; geographyPipeline.SetCoordinateSystem(coordinateSystem); geographyPipeline.BeginGeography(SpatialType.Point); geographyPipeline.BeginFigure(new GeographyPosition(latitude, longitude, z, m)); geographyPipeline.EndFigure(); geographyPipeline.EndGeography(); return((GeographyPoint)builder.ConstructedGeography); }
public virtual void SendTo(GeographyPipeline chain) { Util.CheckArgumentNull(chain, "chain"); chain.SetCoordinateSystem(this.coordinateSystem); }