Click or drag to resize

SporphSpaceMorph Class

Deforms an object from a source surface to a target surface.
Inheritance Hierarchy
SystemObject
  Rhino.GeometrySpaceMorph
    Rhino.Geometry.MorphsSporphSpaceMorph

Namespace:  Rhino.Geometry.Morphs
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public class SporphSpaceMorph : SpaceMorph, 
	IDisposable

The SporphSpaceMorph type exposes the following members.

Constructors
  NameDescription
Public methodSporphSpaceMorph(Surface, Surface)
Constructs a Sporph space morph.
Public methodSporphSpaceMorph(Surface, Surface, Point2d, Point2d)
Constructs a Sporph space morph.
Top
Properties
  NameDescription
Public propertyConstrainNormal
Specifies how the normal direction of the base surface is mapped onto the target surface. To use the target surface normal, set to Unset.
Public propertyIsValid
Returns true if the space morph definition is valid, false otherwise.
Public propertyPreserveStructure
true if the morph should be done in a way that preserves the structure of the geometry. In particular, for NURBS objects, true means that only the control points are moved. The PreserveStructure value does not affect the way meshes and points are morphed. The default is false.
(Inherited from SpaceMorph.)
Public propertyQuickPreview
true if the morph should be done as quickly as possible because the result is being used for some type of dynamic preview. If QuickPreview is true, the tolerance may be ignored. The QuickPreview value does not affect the way meshes and points are morphed. The default is false.
(Inherited from SpaceMorph.)
Public propertyTolerance
The desired accuracy of the morph. This value is primarily used for deforming surfaces and breps. The default is 0.0 and any value <= 0.0 is ignored by morphing functions. The Tolerance value does not affect the way meshes and points are morphed.
(Inherited from SpaceMorph.)
Top
Methods
  NameDescription
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMorph(GeometryBase)
Apply the space morph to geometry.
(Inherited from SpaceMorph.)
Public methodMorph(Plane)
Apply the space morph to a plane.
(Inherited from SpaceMorph.)
Public methodMorphPoint
Morphs an Euclidean point.
(Overrides SpaceMorphMorphPoint(Point3d).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also