public class NagataInterpolator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
debug |
static int |
EDGE_1 |
static int |
EDGE_2 |
static int |
EDGE_3 |
static int |
INSIDE |
static int |
VERTEX_1 |
static int |
VERTEX_2 |
static int |
VERTEX_3 |
Constructor and Description |
---|
NagataInterpolator() |
Modifier and Type | Method and Description |
---|---|
void |
checkMesh(PolygonalMesh mesh) |
double |
distanceToCurve(Point3d nearest,
Vector2d svec,
Vector2d dir,
Point3d pos,
double posTol) |
double |
distanceToEdge(Point3d nearest,
Point3d pos,
int edgeNum) |
int |
findMinimumOnEdge(Vector2d svec,
Point3d pos,
int edgeNum) |
void |
interpolateCurve(Point3d pos,
double xi,
Point3d pos0,
Vector2d svec,
Vector2d dir) |
void |
interpolateNormal(Vector3d nrm,
double eta,
double zeta) |
void |
interpolateVertex(Point3d pnt,
double eta,
double zeta) |
double |
nearestPointOnCurve(Point3d x0,
Vector3d gv,
Vector3d cv,
Point3d pos,
double ximin,
double ximax) |
int |
nearestPointOnFace(Point3d nearest,
Vector3d nrm,
Face face,
PolygonalMesh mesh,
Vector2d svec,
Point3d pos,
double posTol) |
void |
nearestPointOnMesh(Point3d nearest,
Vector3d nrm,
PolygonalMesh mesh,
Point3d pos,
double posTol,
BVFeatureQuery query) |
void |
setBoundsForCurve(double[] bounds,
Vector2d svec,
Vector2d dir) |
void |
setFace(Face face,
Vector3d n0,
Vector3d n1,
Vector3d n2) |
public boolean debug
public static final int INSIDE
public static final int VERTEX_1
public static final int VERTEX_2
public static final int VERTEX_3
public static final int EDGE_1
public static final int EDGE_2
public static final int EDGE_3
public void checkMesh(PolygonalMesh mesh)
public void interpolateVertex(Point3d pnt, double eta, double zeta)
public void interpolateNormal(Vector3d nrm, double eta, double zeta)
public void interpolateCurve(Point3d pos, double xi, Point3d pos0, Vector2d svec, Vector2d dir)
public double distanceToCurve(Point3d nearest, Vector2d svec, Vector2d dir, Point3d pos, double posTol)
public double nearestPointOnCurve(Point3d x0, Vector3d gv, Vector3d cv, Point3d pos, double ximin, double ximax)
public int nearestPointOnFace(Point3d nearest, Vector3d nrm, Face face, PolygonalMesh mesh, Vector2d svec, Point3d pos, double posTol)
public void nearestPointOnMesh(Point3d nearest, Vector3d nrm, PolygonalMesh mesh, Point3d pos, double posTol, BVFeatureQuery query)