HermiteSurface

Create an ON_NurbsSurface satisfying Hermite interpolation conditions at a grid of points.

Constructors

HermiteSurface

#Since v7.0
public HermiteSurface()
Initializes a new HermiteSurface instance.

HermiteSurface

#Since v7.0
public HermiteSurface(int uCount, int vCount)
Initializes a new HermiteSurface instance.
uCount (int)The number of parameters in the "u" direction.
vCount (int)The number of parameters in the "v" direction.

Finalizer

~HermiteSurface

#
~HermiteSurface()
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

Properties

IsValid

#Since v7.0
public bool IsValid { get; }
Returns true if the all of values in all of the internal data structures contain valid values, false otherwise.

UCount

#Since v7.0
public int UCount { get; }
Gets the number of parameters in the "u" direction.

VCount

#Since v7.0
public int VCount { get; }
Gets the number of parameters in the "v" direction.

Methods

Dispose

#Since v7.0
public void Dispose()
Actively reclaims unmanaged resources that this instance uses.

PointAt

#Since v7.0
public Point3d PointAt(int uIndex, int vIndex)
Gets the interpolation point at the u,v parameter location.
uIndex (int)The "u" index.
vIndex (int)The "v" index.
The point location.

SetPointAt

#Since v7.0
public void SetPointAt(int uIndex, int vIndex, Point3d point)
Sets the interpolation point at the u,v parameter location.
uIndex (int)The "u" index.
vIndex (int)The "v" index.
point (Point3d)The point location.

SetTwistAt

#Since v7.0
public void SetTwistAt(int uIndex, int vIndex, Vector3d twist)
Set the twist direction (mixed second partial derivative) to interpolate at the u,v parameter location.
uIndex (int)The "u" index.
vIndex (int)The "v" index.
twist (Vector3d)The twist direction.

SetUParameterAt

#Since v7.0
public void SetUParameterAt(int index, double parameter)
Sets the "u" parameter at an index. These parameters are strictly increasing.
index (int)The index.
parameter (double)The parameter value.

SetUTangentAt

#Since v7.0
public void SetUTangentAt(int uIndex, int vIndex, Vector3d tangent)
Set the "u" tangent direction (actually first derivative) to interpolate at the u,v parameter location.
uIndex (int)The "u" index.
vIndex (int)The "v" index.
tangent (Vector3d)The tangent direction.

SetVParameterAt

#Since v7.0
public void SetVParameterAt(int index, double parameter)
Sets the "v" parameter at an index. These parameters are strictly increasing.
index (int)The index.
parameter (double)The parameter value.

SetVTangentAt

#Since v7.0
public void SetVTangentAt(int uIndex, int vIndex, Vector3d tangent)
Set the "v" tangent direction (actually first derivative) to interpolate at the u,v parameter location.
uIndex (int)The "u" index.
vIndex (int)The "v" index.
tangent (Vector3d)The tangent direction.

ToNurbsSurface

#Since v7.0
public NurbsSurface ToNurbsSurface()
Constructs a NURBS surface satisfying the Hermite interpolation conditions.
A NURBS surface is successful, null otherwise.

TwistAt

#Since v7.0
public Vector3d TwistAt(int uIndex, int vIndex)
Get the twist direction (mixed second partial derivative) to interpolate at the u,v parameter location.
uIndex (int)The "u" index.
vIndex (int)The "v" index.
The twist direction.

UParameterAt

#Since v7.0
public double UParameterAt(int index)
Gets the "u" parameter at an index. These parameters are strictly increasing.
index (int)The index.
The parameter.

UTangentAt

#Since v7.0
public Vector3d UTangentAt(int uIndex, int vIndex)
Get the "u" tangent direction (actually first derivative) to interpolate at the u,v parameter location.
uIndex (int)The "u" index.
vIndex (int)The "v" index.
The tangent direction.

VParameterAt

#Since v7.0
public double VParameterAt(int index)
Gets the "v" parameter at an index. These parameters are strictly increasing.
index (int)The index.
The parameter.

VTangentAt

#Since v7.0
public Vector3d VTangentAt(int uIndex, int vIndex)
Get the "v" tangent direction (actually first derivative) to interpolate at the u,v parameter location.
uIndex (int)The "u" index.
vIndex (int)The "v" index.
The tangent direction.