maspack.spatialmotion.projections
Interface BoundaryCurve2D

All Known Implementing Classes:
EllipticBoundary, RectangularBoundary

public interface BoundaryCurve2D


Nested Class Summary
static class BoundaryCurve2D.CurveType
           
 
Method Summary
 double getLength()
           
 int getNumParams()
           
 VectorNd getParameters()
           
 Point2d getPoint(double t)
           
 void getPoint(double t, double[] out)
           
 void getTangent(double t, double[] out)
           
 double getTVar(double X, double Y)
           
 BoundaryCurve2D.CurveType getType()
           
 boolean isWithin(double X, double Y)
           
 void projectToBoundary(double[] in, double[] out)
           
 boolean projectWithin(double[] in, double[] out)
           
 void setParameters(VectorNd params)
           
 

Method Detail

isWithin

boolean isWithin(double X,
                 double Y)

projectWithin

boolean projectWithin(double[] in,
                      double[] out)

projectToBoundary

void projectToBoundary(double[] in,
                       double[] out)

getLength

double getLength()

getPoint

Point2d getPoint(double t)

getTVar

double getTVar(double X,
               double Y)

getPoint

void getPoint(double t,
              double[] out)

getTangent

void getTangent(double t,
                double[] out)

setParameters

void setParameters(VectorNd params)

getParameters

VectorNd getParameters()

getNumParams

int getNumParams()

getType

BoundaryCurve2D.CurveType getType()