Back to project page zmap.
The source code is released under:
GNU Lesser General Public License
If you think the Android project zmap listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.zmap.geom; /* w ww . j a v a 2 s.c om*/ public interface IVector { public double getX(); public double getY(); public double getZ(); public double[] get(); public void setX(double x); public void setY(double y); public void setZ(double z); public void set(double[] v); /** * @note Get cross product p of v and w, such p = v ?? w */ public IVector crossProduct(IVector w); /** * @note Get dot product d of v and w, such p = v ?? w */ public double dotProduct(IVector w); /** * @note Get norm n of v, such n = |v| */ public double norm(); }