Examples of azimuthal()


Examples of ca.eandb.jmist.math.SphericalCoordinates.azimuthal()

  protected Point2 getTextureCoordinates(GeometryIntersection x) {
    Vector3          n = x.getNormal();
    SphericalCoordinates  sc = SphericalCoordinates.fromCartesian(new Vector3(n.x(), -n.z(), n.y()));

    return new Point2(
        (Math.PI + sc.azimuthal()) / (2.0 * Math.PI),
        sc.polar() / Math.PI
    );
  }

  /* (non-Javadoc)
 
View Full Code Here

Examples of ca.eandb.jmist.math.SphericalCoordinates.azimuthal()

              incidentAngle.polar(),
              incidentAngle.azimuthal(),
              wavelength,
              sensor,
              exitantAngle.polar(),
              exitantAngle.azimuthal(),
              solidAngle,
              projectedSolidAngle,
              this.samplesPerMeasurement,
              hits,
              reflectance,
View Full Code Here

Examples of ca.eandb.jmist.math.SphericalCoordinates.azimuthal()

      SphericalCoordinates exitantAngle = collector.getSensorCenter(sensor);
      Vector3 v = exitantAngle.toCartesian();

      polar[sensor] = exitantAngle.polar();
      azimuthal[sensor] = exitantAngle.azimuthal();
      solidAngle[sensor] = collector.getSensorSolidAngle(sensor);
      projectedSolidAngle[sensor] = collector.getSensorProjectedSolidAngle(sensor);
      center[sensor * 3 + 0] = v.x();
      center[sensor * 3 + 1] = v.y();
      center[sensor * 3 + 2] = v.z();
View Full Code Here

Examples of ca.eandb.jmist.math.SphericalCoordinates.azimuthal()

   * @see ca.eandb.jmist.framework.AbstractGeometry#getTextureCoordinates(ca.eandb.jmist.framework.AbstractGeometry.GeometryIntersection)
   */
  @Override
  protected Point2 getTextureCoordinates(GeometryIntersection x) {
    SphericalCoordinates sc = SphericalCoordinates.fromCartesian(x.getPosition().vectorFromOrigin());
    return new Point2((Math.PI + sc.azimuthal()) / (2.0 * Math.PI), sc.polar() / Math.PI);
  }

  /* (non-Javadoc)
   * @see ca.eandb.jmist.framework.SceneElement#isClosed()
   */
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.