TwistSpaceMorph Class

TwistSpaceMorph Class

Deforms objects by rotating them around an axis.
Inheritance Hierarchy
SystemObject
  Rhino.GeometrySpaceMorph
    Rhino.Geometry.MorphsTwistSpaceMorph

Namespace:  Rhino.Geometry.Morphs
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public class TwistSpaceMorph : SpaceMorph, 
	IDisposable
Public Class TwistSpaceMorph
	Inherits SpaceMorph
	Implements IDisposable

The TwistSpaceMorph type exposes the following members.

Constructors
  NameDescription
Public methodTwistSpaceMorph
Constructs a twist space morph.
Top
Properties
  NameDescription
Public propertyInfiniteTwist
If true, the deformation is constant throughout the object, even if the axis is shorter than the object. If false, the deformation takes place only the length of the axis.
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.)
Public propertyTwistAngleRadians
Twist angle in radians.
Public propertyTwistAxis
Axis to rotate about.
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 (Inherited from Object.)
Protected methodFinalize
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Overrides ObjectFinalize.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (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.

This method is abstract.

(Overrides SpaceMorphMorphPoint(Point3d).)
Public methodToString (Inherited from Object.)
Top
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also