Click or drag to resize

SubDSurfaceInterpolator Class

Interpolate some or all of the vertices limit surface positions in a SubD to specified locations. NB: It is recommended not to use these methods to interpolate more than 1000 vertices.
Inheritance Hierarchy
SystemObject
  Rhino.GeometrySubDSurfaceInterpolator

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public class SubDSurfaceInterpolator : IDisposable

The SubDSurfaceInterpolator type exposes the following members.

Constructors
  NameDescription
Public methodSubDSurfaceInterpolator
Initialize an empty SubDSurfaceInterpolator.
Top
Properties
  NameDescription
Public propertyContextId
The context assigned id. This id is provided for applications using ON_SubDSurfaceInterpolator. It is not inspected or used in any part of the interpolation setup or calculations.
Public propertyStatic memberMaximumRecommendedInterpolatedVertexCount
Interpolation requires building a solver. We estimate that this solver will work in reasonnable time if the number of interplolated vertices is smaller than MaximumInterpolatedVertexCount. However, given sufficient time, memory, and CPU resources, the code will work with any value. In version 8.0, this value is 1000.
Top
Methods
  NameDescription
Public methodClear
Destroys the information needed to solve the interpolation.
Public methodStatic memberCreateFromMarkedVertices
Create an interpolator where all the marked vertices (unmarked if interpolatedVerticesMark is false) in the SubD are free vertices in the linear system used for interpolation, and the unmarked (marked if interpolatedVerticesMark is false) are fixed to their initial positions. Free vertices are can move as a result of the interpolation, and can receive an interpolation target location.
Public methodStatic memberCreateFromSelectedVertices
Create an interpolator where all the selected vertices in the SubD are free vertices in the linear system used for interpolation, and the unselected are fixed to their initial positions. Free vertices are can move as a result of the interpolation, and can receive an interpolation target location.
Public methodStatic memberCreateFromSubD
Create an interpolator where all the vertices in the SubD are free vertices in the linear system used for interpolation (i.e. can move as a result of the interpolation, and can receive an interpolation target location).
Public methodStatic memberCreateFromVertexIdList
Create an interpolator where all the listed vertices in the SubD are free vertices in the linear system used for interpolation, and the unselected are fixed to their initial positions. Free vertices are can move as a result of the interpolation, and can receive an interpolation target location.
Public methodDispose
Actively reclaims unmanaged resources that this instance uses.
Protected methodDispose(Boolean)
For derived class implementers.

This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.

You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.

Also, you must call the base virtual method within your overriding method.

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Overrides ObjectFinalize.)
Public methodFixedVertexCount
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInterpolatedVertexCount
Public methodInterpolatedVertexIndex
Public methodIsInterpolatedVertex(SubDVertex)
Public methodIsInterpolatedVertex(UInt32)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSolve
Solve the interpolation system, given target interpolation locations for the free vertices in the system. Updates the subd referenced by this system so the corresponding surface points are at the locations given by surfacePoints.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTransform
Apply an arbitrary transformation to the target interpolation points.
Public methodVertexIdList
Top
See Also