s2.s1angle

S1Angle represents a one-dimensional angle (as opposed to a two-dimensional solid angle).

Members

Functions

cos
double cos(S1Angle a)
Undocumented in source. Be warned that the author may not have intended to support it.
sin
double sin(S1Angle a)

Trigonmetric functions (not necessary but slightly more convenient).

tan
double tan(S1Angle a)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

S1Angle
struct S1Angle

This class represents a one-dimensional angle (as opposed to a two-dimensional solid angle). It has methods for converting angles to or from radians, degrees, and the E5/E6/E7 representations (i.e. degrees multiplied by 1e5/1e6/1e7 and rounded to the nearest integer).

Meta

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Authors

ericv@google.com (Eric Veach), madric@gmail.com (Vijay Nayar)