edu.stanford.rsl.konrad.geometry.splines.capi
Class CAPIPoint

java.lang.Object
  extended by edu.stanford.rsl.konrad.geometry.shapes.simple.PointND
      extended by edu.stanford.rsl.konrad.geometry.splines.capi.CAPIPoint
All Implemented Interfaces:
com.graphbuilder.curve.CurvePoint, Transformable, java.io.Serializable
Direct Known Subclasses:
CAPIPoint2D

public class CAPIPoint
extends PointND
implements com.graphbuilder.curve.CurvePoint

See Also:
Serialized Form

Constructor Summary
CAPIPoint(double... coordinates)
          creates a new CAPIPoint
CAPIPoint(PointND arbitraryPoint)
          Creates a copy of the PointND as CAPIPoint
 
Method Summary
 double[] getLocationAsDoubleArray()
           
 void setLocation(double[] p)
           
 
Methods inherited from class edu.stanford.rsl.konrad.geometry.shapes.simple.PointND
applyTransform, clone, equals, euclideanDistance, get, getAbstractVector, getCoordinates, getDimension, set, setCoordinates, toString, updateIfHigher, updateIfLower
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CAPIPoint

public CAPIPoint(double... coordinates)
creates a new CAPIPoint

Parameters:
coordinates -

CAPIPoint

public CAPIPoint(PointND arbitraryPoint)
Creates a copy of the PointND as CAPIPoint

Parameters:
arbitraryPoint -
Method Detail

getLocationAsDoubleArray

public double[] getLocationAsDoubleArray()
Specified by:
getLocationAsDoubleArray in interface com.graphbuilder.curve.CurvePoint

setLocation

public void setLocation(double[] p)
Specified by:
setLocation in interface com.graphbuilder.curve.CurvePoint