|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmpi.cbg.fly.Point
public class Point
a generic n-dimensional point location keeps local coordinates final, application of a model changes the world coordinates of the point License: GPL This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. NOTE: The SIFT-method is protected by U.S. Patent 6,711,293: "Method and apparatus for identifying scale invariant features in an image and use of same for locating an object in an image" by the University of British Columbia. That is, for commercial applications the permission of the author is required.
| Constructor Summary | |
|---|---|
Point(float[] l)
Constructor sets this.l to the given float[] reference |
|
| Method Summary | |
|---|---|
void |
apply(Model model)
apply a model to the point transfers the local coordinates to new world coordinates |
static float |
distance(Point p1,
Point p2)
estimate the Euclidean distance of two points in the world |
float[] |
getL()
|
float[] |
getW()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Point(float[] l)
l - reference to the local coordinates of the point| Method Detail |
|---|
public final float[] getW()
public final float[] getL()
public final void apply(Model model)
public static final float distance(Point p1,
Point p2)
p1 - p2 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||