Class Geometry
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.Poisson.Geometry.Geometry
-
public class Geometry extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
RAND_MAX
-
Constructor Summary
Constructors Constructor Description Geometry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
CrossProduct(Point3D p1, Point3D p2, Point3D p)
double
Distance(Point3D p1, Point3D p2)
void
EdgeCollapse(float edgeRatio, java.util.Vector<TriangleIndex> triangles, java.util.Vector<Point3D> positions, java.util.Vector<Point3D> normals)
double
Length(Point3D p)
float
Random()
Point3D
RandomBallPoint()
Point3D
RandomSpherePoint()
double
SquareDistance(Point3D p1, Point3D p2)
double
SquareLength(Point3D p)
void
TriangleCollapse(float edgeRatio, java.util.Vector<TriangleIndex> triangles, java.util.Vector<Point3D> positions, java.util.Vector<Point3D> normals)
-
-
-
Method Detail
-
Random
public float Random()
-
RandomBallPoint
public Point3D RandomBallPoint()
-
RandomSpherePoint
public Point3D RandomSpherePoint()
-
SquareLength
public double SquareLength(Point3D p)
-
Length
public double Length(Point3D p)
-
EdgeCollapse
public void EdgeCollapse(float edgeRatio, java.util.Vector<TriangleIndex> triangles, java.util.Vector<Point3D> positions, java.util.Vector<Point3D> normals)
-
TriangleCollapse
public void TriangleCollapse(float edgeRatio, java.util.Vector<TriangleIndex> triangles, java.util.Vector<Point3D> positions, java.util.Vector<Point3D> normals)
-
-