mil.dod.th.core/src/mil/dod/th/core/types/factory/SpatialTypesFactory.java
public static Coordinates newCoordinates(final double longWgsDegrees, final double latWgsDegrees, 
            final double haeMeters,
            final Ellipse ellipse)
    {
        return new Coordinates()
             .withLongitude(new LongitudeWgsDegrees().withValue(longWgsDegrees))
             .withLatitude(new LatitudeWgsDegrees().withValue(latWgsDegrees))
             .withAltitude(new HaeMeters().withValue(haeMeters))
             .withEllipseRegion(ellipse);
    }
/**
     * Create coordinates with basic values for error ellipse.
     * 
     * @param longWgsDegrees
     *      longitude value
     * @param latWgsDegrees
     *      latitude value
     * @param haeMeters
     *      altitude value
     * @param ellipse
     *      error ellipse
     * @return
     *      coordinates with given values
     */
Create coordinates with basic values for error ellipse.


Create coordinates with basic values for error ellipse .
public static Coordinates newCoordinates(final double longWgsDegrees, final double latWgsDegrees, 
            final double haeMeters,
            final Ellipse ellipse)
    {
        return new Coordinates()
             .withLongitude(new LongitudeWgsDegrees().withValue(longWgsDegrees))
             .withLatitude(new LatitudeWgsDegrees().withValue(latWgsDegrees))
             .withAltitude(new HaeMeters().withValue(haeMeters))
             .withEllipseRegion(ellipse);
    }
public static Coordinates newCoordinates ( final double longWgsDegrees , final double latWgsDegrees , final double haeMeters , final Ellipse ellipse ) { return new Coordinates ( ) . withLongitude ( new LongitudeWgsDegrees ( ) . withValue ( longWgsDegrees ) ) . withLatitude ( new LatitudeWgsDegrees ( ) . withValue ( latWgsDegrees ) ) . withAltitude ( new HaeMeters ( ) . withValue ( haeMeters ) ) . withEllipseRegion ( ellipse ) ; }
Create coordinates with basic values for error ellipse.
Create coordinates with basic values for error ellipse .