public class PointNode extends Point implements Leaf<PointNode>
Constructor and Description |
---|
PointNode(double[] l) |
PointNode(double[] l,
double[] w) |
PointNode(Point p) |
Modifier and Type | Method and Description |
---|---|
PointNode[] |
createArray(int n) |
float |
distanceTo(PointNode other) |
float |
get(int k) |
int |
getNumDimensions() |
boolean |
isLeaf() |
apply, apply, apply, applyInverse, applyInverse, clone, distance, distance, getL, getW, localDistance, squareDistance, squareDistance, squareLocalDistance
public PointNode(Point p)
public PointNode(double[] l)
public PointNode(double[] l, double[] w)
public PointNode[] createArray(int n)
createArray
in interface Leaf<PointNode>
public float distanceTo(PointNode other)
distanceTo
in interface Leaf<PointNode>
public int getNumDimensions()
getNumDimensions
in interface Leaf<PointNode>
Copyright © 2015–2021 Fiji. All rights reserved.