Package gov.nih.mipav.model.structures
Class ComputationalGeometry.CatmullRom
- java.lang.Object
-
- gov.nih.mipav.model.structures.ComputationalGeometry._Curve
-
- gov.nih.mipav.model.structures.ComputationalGeometry.CatmullRom
-
- Enclosing class:
- ComputationalGeometry
public class ComputationalGeometry.CatmullRom extends ComputationalGeometry._Curve
-
-
Field Summary
Fields Modifier and Type Field Description ComputationalGeometry.MyVector3handleAComputationalGeometry.MyVector3handleBComputationalGeometry.MyVector3posAComputationalGeometry.MyVector3posB
-
Constructor Summary
Constructors Constructor Description CatmullRom(ComputationalGeometry.MyVector3 posA, ComputationalGeometry.MyVector3 posB, ComputationalGeometry.MyVector3 handleA, ComputationalGeometry.MyVector3 handleB)
-
Method Summary
-
-
-
Field Detail
-
posA
public ComputationalGeometry.MyVector3 posA
-
posB
public ComputationalGeometry.MyVector3 posB
-
handleA
public ComputationalGeometry.MyVector3 handleA
-
handleB
public ComputationalGeometry.MyVector3 handleB
-
-
Constructor Detail
-
CatmullRom
public CatmullRom(ComputationalGeometry.MyVector3 posA, ComputationalGeometry.MyVector3 posB, ComputationalGeometry.MyVector3 handleA, ComputationalGeometry.MyVector3 handleB)
-
-
Method Detail
-
GetPosition
public ComputationalGeometry.MyVector3 GetPosition(double t)
- Specified by:
GetPositionin classComputationalGeometry._Curve
-
GetPosition
public ComputationalGeometry.MyVector3 GetPosition(ComputationalGeometry.MyVector3 posA, ComputationalGeometry.MyVector3 posB, ComputationalGeometry.MyVector3 handleA, ComputationalGeometry.MyVector3 handleB, double t)
-
GetDerivative
public double GetDerivative(double t)
- Specified by:
GetDerivativein classComputationalGeometry._Curve
-
GetDerivativeVec
public ComputationalGeometry.MyVector3 GetDerivativeVec(ComputationalGeometry.MyVector3 posA, ComputationalGeometry.MyVector3 posB, ComputationalGeometry.MyVector3 handleA, ComputationalGeometry.MyVector3 handleB, double t)
-
GetSecondDerivativeVec
public ComputationalGeometry.MyVector3 GetSecondDerivativeVec(ComputationalGeometry.MyVector3 posA, ComputationalGeometry.MyVector3 posB, ComputationalGeometry.MyVector3 handleA, ComputationalGeometry.MyVector3 handleB, double t)
-
GetSecondDerivativeVec
public ComputationalGeometry.MyVector3 GetSecondDerivativeVec(double t)
- Specified by:
GetSecondDerivativeVecin classComputationalGeometry._Curve
-
GetTangent
public ComputationalGeometry.MyVector3 GetTangent(ComputationalGeometry.MyVector3 posA, ComputationalGeometry.MyVector3 posB, ComputationalGeometry.MyVector3 handleA, ComputationalGeometry.MyVector3 handleB, double t)
-
GetTangent
public ComputationalGeometry.MyVector3 GetTangent(double t)
- Specified by:
GetTangentin classComputationalGeometry._Curve
-
-