Beispiel #1
0
        public static CeresMarker toCeresMarker(this Marker marker, double x_proj, double y_proj)
        {
            var cm = new CeresMarker {
                id       = marker.ID,
                Location = new CeresPoint {
                    BundleFlags = BundleWorldCoordinatesFlags.None,
                    X           = marker.X,
                    Y           = marker.Y,
                    Z           = marker.Z
                },
                x = x_proj,
                y = y_proj
            };

            return(cm);
        }
Beispiel #2
0
 public static PointF toPointF(this CeresMarker marker)
 {
     return(new PointF((float)marker.x, (float)marker.y));
 }