|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcae.mesh.amibe.patch.Calculus3D
public class Calculus3D
Distance computations in 2D parameter space by using 3D metrics.
Constructor Summary | |
---|---|
Calculus3D(Mesh2D m)
Constructor. |
Method Summary | |
---|---|
double |
distance(Vertex2D start,
Vertex2D end)
Returns the Riemannian distance between nodes. |
double |
distance2(Vertex2D start,
Vertex2D end,
Metric2D m2)
Returns Riemannian square distance between nodes. |
double[] |
getBounds2D(Vertex2D vm)
Returns bounds of unit ellipse centered at a point. |
double |
length(VirtualHalfEdge2D ot)
Returns the length of an edge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Calculus3D(Mesh2D m)
m
- the Mesh2D
being modified.Method Detail |
---|
public double distance(Vertex2D start, Vertex2D end)
distance
in interface Calculus
start
- the start nodeend
- the end node
public double distance2(Vertex2D start, Vertex2D end, Metric2D m2)
distance2
in interface Calculus
start
- start nodeend
- end nodem2
- Riemannian metrics
public double[] getBounds2D(Vertex2D vm)
KdTree.getNearestVertex(org.jcae.mesh.amibe.ds.Mesh, org.jcae.mesh.amibe.ds.Vertex)
; if an octant
does not intersect this bounding box, it does also not intersect
unit ellipse.
getBounds2D
in interface Calculus
vm
- the vertex on which metrics is evaluated
public double length(VirtualHalfEdge2D ot)
length
in interface Calculus
ot
- the edge being evaluated
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |