public static class SampleGridRenderer.WTWD.IsolineMetric extends Object implements IsolineBuilder.ZMetric<SampleGridRenderer.WTWD>
Constructor and Description |
---|
IsolineMetric() |
Modifier and Type | Method and Description |
---|---|
int |
cut(SampleGridRenderer.WTWD zA,
SampleGridRenderer.WTWD zB,
SampleGridRenderer.WTWD z0)
Check if the edge [AB] between two samples A and B "intersect" the zz0 plane.
|
double |
interpolate(SampleGridRenderer.WTWD zA,
SampleGridRenderer.WTWD zB,
SampleGridRenderer.WTWD z0)
Interpolate a crossing point on an edge [AB].
|
public int cut(SampleGridRenderer.WTWD zA, SampleGridRenderer.WTWD zB, SampleGridRenderer.WTWD z0)
IsolineBuilder.ZMetric
cut
in interface IsolineBuilder.ZMetric<SampleGridRenderer.WTWD>
zA
- z value for the A samplezB
- z value for the B samplez0
- z value for the intersecting planepublic double interpolate(SampleGridRenderer.WTWD zA, SampleGridRenderer.WTWD zB, SampleGridRenderer.WTWD z0)
IsolineBuilder.ZMetric
interpolate
in interface IsolineBuilder.ZMetric<SampleGridRenderer.WTWD>
zA
- z value for the A samplezB
- z value for the B samplez0
- z value for the intersecting planeCopyright © 2018. All rights reserved.