org.jcae.opencascade.jni
Class GeomLProp_SLProps
java.lang.Object
org.jcae.opencascade.jni.GeomLProp_SLProps
public class GeomLProp_SLProps
- extends java.lang.Object
Constructor Summary |
|
GeomLProp_SLProps(int degree,
double resolution)
The current point and the derivatives are computed at the same time,
which allows an optimization of the computation time. |
protected |
GeomLProp_SLProps(long cPtr,
boolean cMemoryOwn)
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
swigCMemOwn
protected boolean swigCMemOwn
GeomLProp_SLProps
protected GeomLProp_SLProps(long cPtr,
boolean cMemoryOwn)
GeomLProp_SLProps
public GeomLProp_SLProps(int degree,
double resolution)
- The current point and the derivatives are computed at the same time,
which allows an optimization of the computation time.
- Parameters:
degree
- The maximum number of derivations to be done (0, 1, or 2).
For example, to compute only the tangent, N should be equal to 1.resolution
- The linear tolerance (it is used to test if a vector is null).
getCPtr
protected static long getCPtr(GeomLProp_SLProps obj)
finalize
protected void finalize()
- Overrides:
finalize
in class java.lang.Object
delete
public void delete()
setParameter
public void setParameter(double u,
double v)
- Deprecated. Typo mistake in the previous version
normal
public double[] normal()
normalArray
public double[] normalArray(double[] uvNodes)
- Return the normal on the uv nodes.
Invalid ones are set to zero.
curvatureDirections
public double[] curvatureDirections()
setParameters
public void setParameters(double u,
double v)
value
public double[] value()
d1U
public double[] d1U()
d1V
public double[] d1V()
d2U
public double[] d2U()
d2V
public double[] d2V()
dUV
public double[] dUV()
isTangentUDefined
public boolean isTangentUDefined()
tangentU
public void tangentU(double[] D)
isTangentVDefined
public boolean isTangentVDefined()
tangentV
public void tangentV(double[] D)
isNormalDefined
public boolean isNormalDefined()
isCurvatureDefined
public boolean isCurvatureDefined()
isUmbilic
public boolean isUmbilic()
meanCurvature
public double meanCurvature()
gaussianCurvature
public double gaussianCurvature()
setSurface
public void setSurface(Geom_Surface S)
normal
public void normal(double[] normal)
minCurvature
public double minCurvature()
maxCurvature
public double maxCurvature()
curvatureDirection
public void curvatureDirection(double[] jmax,
double[] jmin)