Package ca.eandb.jmist.math

Examples of ca.eandb.jmist.math.Vector3.x()


      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


    return new EvaluateResult(
        A + Z2n - 1.0,
        (2.0 / n)
        * (A_1
            * (X2e_1 * d.x() * Math.signum(p.x()) + Y2e_1 * d.y()
                * Math.signum(p.y())) + Z2n_1 * d.z()
            * Math.signum(p.z()))
    );

  }
View Full Code Here

    Basis3 basis = Basis3.fromW(this.plane.normal(), Basis3.Orientation.RIGHT_HANDED);
    Vector3 u = basis.u();
    Vector3 v = basis.v();

    double r = this.boundingSphere.radius();
    double ri = r * Math.hypot(u.x(), v.x());
    double rj = r * Math.hypot(u.y(), v.y());
    double rk = r * Math.hypot(u.z(), v.z());

    Point3 c = this.boundingSphere.center();

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.