/** * @return the next pseudorandom three-dimensional cartesian {@link PointValue}. * @see RandomValues */ public PointValue nextCartesian3DPoint() { double x = randomCartesianCoordinate(); double y = randomCartesianCoordinate(); double z = randomCartesianCoordinate(); return Values.pointValue( CoordinateReferenceSystem.Cartesian_3D, x, y, z ); }
/** * @return the next pseudorandom two-dimensional cartesian {@link PointValue}. * @see RandomValues */ public PointValue nextCartesianPoint() { double x = randomCartesianCoordinate(); double y = randomCartesianCoordinate(); return Values.pointValue( CoordinateReferenceSystem.Cartesian, x, y ); }
/** * @return the next pseudorandom three-dimensional geographic {@link PointValue}. * @see RandomValues */ public PointValue nextGeographic3DPoint() { double longitude = randomLongitude(); double latitude = randomLatitude(); double z = randomCartesianCoordinate(); return Values.pointValue( CoordinateReferenceSystem.WGS84_3D, longitude, latitude, z ); }
/** * @return the next pseudorandom three-dimensional cartesian {@link PointValue}. * @see RandomValues */ public PointValue nextCartesian3DPoint() { double x = randomCartesianCoordinate(); double y = randomCartesianCoordinate(); double z = randomCartesianCoordinate(); return Values.pointValue( CoordinateReferenceSystem.Cartesian_3D, x, y, z ); }
/** * @return the next pseudorandom two-dimensional cartesian {@link PointValue}. * @see RandomValues */ public PointValue nextCartesianPoint() { double x = randomCartesianCoordinate(); double y = randomCartesianCoordinate(); return Values.pointValue( CoordinateReferenceSystem.Cartesian, x, y ); }
/** * @return the next pseudorandom three-dimensional geographic {@link PointValue}. * @see RandomValues */ public PointValue nextGeographic3DPoint() { double longitude = randomLongitude(); double latitude = randomLatitude(); double z = randomCartesianCoordinate(); return Values.pointValue( CoordinateReferenceSystem.WGS84_3D, longitude, latitude, z ); }