Package ca.eandb.jmist.math

Examples of ca.eandb.jmist.math.HPoint3


    }
    return node;
  }

  public static boolean isSameNode(PathNode a, PathNode b) {
    HPoint3 p = a.getPosition();
    HPoint3 q = b.getPosition();
    double epsilon = MathUtil.MACHINE_EPSILON;
    return (p.isPoint() == q.isPoint())
        && MathUtil.equal(p.x(), q.x(), epsilon)
        && MathUtil.equal(p.y(), q.y(), epsilon)
        && MathUtil.equal(p.z(), q.z(), epsilon);
  }
View Full Code Here

TOP

Related Classes of ca.eandb.jmist.math.HPoint3

Copyright © 2018 www.massapicom. 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.