public class SegmentSlicer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static int |
BALANCED |
(package private) static int |
FIXED |
(package private) int |
maxnp |
(package private) TreePoint[] |
outPoints |
(package private) Resolution |
resolution |
(package private) int |
sdstyle |
(package private) TreePoint[] |
srcPoints |
Constructor and Description |
---|
SegmentSlicer(TreePoint[] sp) |
Modifier and Type | Method and Description |
---|---|
private void |
discretize() |
TreePoint |
findNearest(TreePoint rt,
TreePoint tgt) |
TreePoint[] |
getBalancedSlices(double disqrtr,
int mnp) |
private double[] |
getBalancedSubdivision(TreePoint cpa,
TreePoint cpb) |
private double[] |
getFixedSubdivision(TreePoint cpa,
TreePoint cpb) |
TreePoint[] |
getFixedWidthSlices(double dx,
java.util.HashMap<java.lang.String,java.lang.Double> resHM) |
private TreePoint[] |
getSlices() |
TreePoint[] srcPoints
static final int FIXED
static final int BALANCED
int sdstyle
int maxnp
TreePoint[] outPoints
Resolution resolution
public SegmentSlicer(TreePoint[] sp)
public TreePoint[] getFixedWidthSlices(double dx, java.util.HashMap<java.lang.String,java.lang.Double> resHM)
public TreePoint[] getBalancedSlices(double disqrtr, int mnp)
private TreePoint[] getSlices()
private void discretize()
Copyright © 2013. All Rights Reserved.