public class ProjectedCurve3D
extends java.lang.Object
Constructor and Description |
---|
ProjectedCurve3D(SphericalProjector projector,
BoundaryCurve2D curve) |
Modifier and Type | Method and Description |
---|---|
double |
computeLength() |
double |
findClosestPoint(double[] in,
double[] out) |
void |
findClosestPoint(double[] in,
double[] out,
double[] tangent,
double[] normal) |
BoundaryCurve2D |
getCurve() |
double |
getLength() |
void |
getPoint(double t,
double[] out) |
double |
getProjection(double[] in,
double[] out,
double[] axis) |
SphericalProjector |
getProjector() |
void |
getTangent(double t,
double[] out) |
void |
getTangentDirection(double[] p1,
double[] p2,
double[] out) |
boolean |
isWithin(double[] in) |
void |
setCurve(BoundaryCurve2D curve) |
void |
setProjector(SphericalProjector projector) |
static double |
sphericalDistance(double[] pnt1,
double[] pnt2) |
public ProjectedCurve3D(SphericalProjector projector, BoundaryCurve2D curve)
public void getPoint(double t, double[] out)
public void getTangent(double t, double[] out)
public void getTangentDirection(double[] p1, double[] p2, double[] out)
public double getProjection(double[] in, double[] out, double[] axis)
public double findClosestPoint(double[] in, double[] out)
public void findClosestPoint(double[] in, double[] out, double[] tangent, double[] normal)
public boolean isWithin(double[] in)
public static double sphericalDistance(double[] pnt1, double[] pnt2)
public void setCurve(BoundaryCurve2D curve)
public BoundaryCurve2D getCurve()
public void setProjector(SphericalProjector projector)
public SphericalProjector getProjector()
public double computeLength()
public double getLength()