Used HTTPS urls found in documentation wherever possible

This commit is contained in:
pdavidc 2016-12-23 15:34:26 -08:00
parent e5331bb7cb
commit 68a27f1cbd
10 changed files with 67 additions and 25 deletions

View File

@ -18,7 +18,7 @@ Install grunt-cli (http://gruntjs.com/getting-started)
The below installations are per-project — must be performed with each new full-project checkout -
with cwd as the project folder.
Install requirejs plugin (http://jaketrent.com/post/run-requirejs-with-gruntjs/)
Install requirejs plugin (https://jaketrent.com/post/run-requirejs-with-gruntjs/)
npm install grunt-contrib-requirejs
Install jsdoc 3.3.0 plugin (https://github.com/krampstudio/grunt-jsdoc)

View File

@ -88,4 +88,4 @@ Please have a look at the existing tests for reference.
});
For more information about the Jasmine Framework used for defining the tests,
please visit: http://jasmine.github.io/2.0/introduction.html
please visit: https://jasmine.github.io/2.0/introduction.html

View File

@ -15,7 +15,7 @@ THIS AGREEMENT.
Government Agency: National Aeronautics and Space Administration (NASA)
Government Agency Original Software Designation: ARC-15166-1
Government Agency Original Software Title: WorldWind Version 1.3
User Registration Requested. Please Visit http://opensource.arc.nasa.gov/
User Registration Requested. Please Visit https://opensource.arc.nasa.gov/
Government Agency Point of Contact for Original Software: Patrick.Hogan@nasa.gov
________________________________________________
@ -146,7 +146,7 @@ or a prior Recipient's participation in this Agreement.
F. In an effort to track usage and maintain accurate records of the
Subject Software, each Recipient, upon receipt of the Subject
Software, is requested to register with Government Agency by visiting
the following website: http://opensource.arc.nasa.gov. Recipient's
the following website: https://opensource.arc.nasa.gov. Recipient's
name and personal information shall be used for statistical purposes
only. Once a Recipient makes a Modification available, it is requested
that the Recipient inform Government Agency at the web site provided

View File

@ -1,20 +1,31 @@
# Web World Wind #
<img src="https://worldwind.arc.nasa.gov/css/images/nasa-logo.svg" height="100"/>
Web World Wind is a 3D virtual globe API for JavaScript. You can use it to provide a geographic context, complete
with terrain, for visualizing geographic or geo-located information. Web World Wind provides high-resolution terrain
and imagery, retrieved from remote servers automatically as needed. You can also provide your own terrain and
imagery. Web World Wind additionally provides a rich collection of shapes that you can use to represent information on
the globe or in space.
# Web World Wind
See [webworldwind.org](http://webworldwind.org) for a complete description of Web World Wind's functionality.
You'll also find there links to many Web World Wind resources, including a user guide. The Web World Wind distribution
provides many simple examples showing how to use all of Web World Wind's functionality.
3D virtual globe API for JavaScript, developed by NASA. Provides a geographic context, complete with terrain, for
visualizing geographic or geo-located information in 3D and 2D. Web World Wind provides high-resolution terrain and
imagery, retrieved from remote servers automatically as needed. Developers can provide custom terrain and imagery.
Contains a rich set of features for displaying and interacting with geographic data and representing a wide range of
geometric objects. More information at [worldwind.arc.nasa.gov](https://worldwind.arc.nasa.gov).
The web site you're currently viewing contains the detailed Web World Wind API documentation. These pages describe
each class, function and property in the Web World Wind library.
## Get Started
Here is a very simple example of using Web World Wind. It is the contents of SimplestExample.html in the
example collection. It displays an interactive virtual globe in an HTML canvas.
Develop a world-class World Wind application for the web. Setup instructions, developers guides, API documentation and
more are available at [worldwind.arc.nasa.gov](https://worldwind.arc.nasa.gov). This GitHub repository contains the
library source, examples and tutorials.
- [worldwind.arc.nasa.gov](https://worldwind.arc.nasa.gov) has all things World Wind in one place
- [Developer's Guide](https://webworldwind.org) has a complete description of Web World Wind's functionality. You'll
also find there links to many Web World Wind resources, including a user guide. The Web World Wind distribution
provides many simple examples showing how to use all of Web World Wind's functionality.
- [World Wind Forum](http://forum.worldwindcentral.com) provides help from the World Wind community
- [GitHub Issues](https://github.com/NASAWorldWind/WebWorldWind/issues) provides requirements and issue tracking
- [WebStorm](https://www.jetbrains.com/webstorm) is used by the NASA World Wind development team
## Example Usage
Here is a simple web app using Web World Wind. It is the contents of SimplestExample.html in the example collection. It
displays an interactive virtual globe in an HTML canvas.
<!DOCTYPE html>
<!-- This is a very simple example of using Web World Wind. -->
@ -53,3 +64,34 @@ example collection. It displays an interactive virtual globe in an HTML canvas.
</script>
</body>
</html>
## License
NASA WORLD WIND
Copyright (C) 2001 United States Government
as represented by the Administrator of the
National Aeronautics and Space Administration.
All Rights Reserved.
NASA OPEN SOURCE AGREEMENT VERSION 1.3
This open source agreement ("agreement") defines the rights of use, reproduction,
distribution, modification and redistribution of certain computer software originally
released by the United States Government as represented by the Government Agency
listed below ("Government Agency"). The United States Government, as represented by
Government Agency, is an intended third-party beneficiary of all subsequent
distributions or redistributions of the subject software. Anyone who uses, reproduces,
distributes, modifies or redistributes the subject software, as defined herein, or any
part thereof, is, by that action, accepting in full the responsibilities and obligations
contained in this agreement.
Government Agency: National Aeronautics and Space Administration (NASA)
Government Agency Original Software Designation: ARC-15166-1
Government Agency Original Software Title: NASA World Wind
User Registration Requested. Please send email with your contact information to Patrick.Hogan@nasa.gov
Government Agency Point of Contact for Original Software: Patrick.Hogan@nasa.gov
You may obtain a full copy of the license at:
https://worldwind.arc.nasa.gov/LICENSE.html

View File

@ -277,11 +277,11 @@ define([
/**
* Registers an event listener for the specified event type on this World Window's canvas. This function
* delegates the processing of events to the World Window's canvas. For details on this function and its
* arguments, see the W3C [EventTarget]{@link http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventTarget}
* arguments, see the W3C [EventTarget]{@link https://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventTarget}
* documentation.
*
* Registering event listeners using this function enables applications to prevent the World Window's default
* navigation behavior. To prevent default navigation behavior, call the [Event]{@link http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-Event}'s
* navigation behavior. To prevent default navigation behavior, call the [Event]{@link https://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-Event}'s
* preventDefault method from within an event listener for any events the navigator should not respond to.
*
* When an event occurs, this calls the registered event listeners in order of reverse registration. Since the

View File

@ -138,7 +138,7 @@ define(['../../error/ArgumentError',
/**
* Retrieves the coordinate system and its parameters from an OGC coordinate system encoded as well-known text. For
* details, see to the OGC Coordinate Transform Service (CT) specification at <a
* href="http://www.opengeospatial.org/standards/ct">http://www.opengeospatial.org/standards/ct</a>. This recognizes
* href="https://www.opengeospatial.org/standards/ct">https://www.opengeospatial.org/standards/ct</a>. This recognizes
* Geographic and UTM coordinate systems.
*
* If an exception occurs while parsing the coordinate system text, the parameter list is left unchanged.

View File

@ -276,7 +276,7 @@ define([
* is not {@link Shapefile#NULL}. Records of type NULL are always valid, and
* may appear in any Shapefile.
* <p/>
* For details, see the ESRI Shapefile specification at <a href="http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf"/>,
* For details, see the ESRI Shapefile specification at <a href="https://www.esri.com/library/whitepapers/pdfs/shapefile.pdf"/>,
* pages 4 and 5.
*
* @throws Error If the shape types do not match.

View File

@ -244,7 +244,7 @@ define([
return 0;
}
// "Haversine formula," taken from http://en.wikipedia.org/wiki/Great-circle_distance#Formul.C3.A6
// "Haversine formula," taken from https://en.wikipedia.org/wiki/Great-circle_distance#Formul.C3.A6
a = Math.sin((lat2Radians - lat1Radians) / 2.0);
b = Math.sin((lon2Radians - lon1Radians) / 2.0);
c = a * a + Math.cos(lat1Radians) * Math.cos(lat2Radians) * b * b;

View File

@ -256,7 +256,7 @@ define([
// Round to the nearest integer and place a comma every three digits. See the following Stack Overflow
// thread for more information:
// http://stackoverflow.com/questions/2901102/how-to-print-a-number-with-commas-as-thousands-separators-in-javascript
// https://stackoverflow.com/questions/2901102/how-to-print-a-number-with-commas-as-thousands-separators-in-javascript
return number.toFixed(0).replace(/\B(?=(\d{3})+(?!\d))/g, ",") + " " + units;
};

View File

@ -143,7 +143,7 @@ define([
}
// Taken from Moller and Trumbore
// http://www.cs.virginia.edu/~gfx/Courses/2003/ImageSynthesis/papers/Acceleration/Fast%20MinimumStorage%20RayTriangle%20Intersection.pdf
// https://www.cs.virginia.edu/~gfx/Courses/2003/ImageSynthesis/papers/Acceleration/Fast%20MinimumStorage%20RayTriangle%20Intersection.pdf
var vx = line.direction[0],
vy = line.direction[1],
@ -297,7 +297,7 @@ define([
}
// Taken from Moller and Trumbore
// http://www.cs.virginia.edu/~gfx/Courses/2003/ImageSynthesis/papers/Acceleration/Fast%20MinimumStorage%20RayTriangle%20Intersection.pdf
// https://www.cs.virginia.edu/~gfx/Courses/2003/ImageSynthesis/papers/Acceleration/Fast%20MinimumStorage%20RayTriangle%20Intersection.pdf
// Adapted from the original ray-triangle intersection algorithm to optimize for ray-triangle strip
// intersection. We optimize by reusing constant terms, replacing use of Vec3 with inline primitives,