T_Rhino_Geometry_Morphs_TwistSpaceMorph - mcneel/rhinocommon-api-docs GitHub Wiki

TwistSpaceMorph Class

Deforms objects by rotating them around an axis.

Inheritance Hierarchy

System.Object
  Rhino.Geometry.SpaceMorph
    Rhino.Geometry.Morphs.TwistSpaceMorph
Namespace: Rhino.Geometry.Morphs
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public class TwistSpaceMorph : SpaceMorph, 
	IDisposable

VB

Public Class TwistSpaceMorph
	Inherits SpaceMorph
	Implements IDisposable

The TwistSpaceMorph type exposes the following members.

Constructors

 

Name Description
Public method TwistSpaceMorph Constructs a twist space morph.
  Back to Top

Properties

 

Name Description
Public property InfiniteTwist 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 property PreserveStructure 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 property QuickPreview 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 property Tolerance 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 property TwistAngleRadians Twist angle in radians.
Public property TwistAxis Axis to rotate about.
  Back to Top

Methods

 

Name Description
Public method Dispose() Actively reclaims unmanaged resources that this instance uses.
Protected method Dispose(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 method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Passively reclaims unmanaged resources when the class user did not explicitly call Dispose(). (Overrides Object.Finalize().)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Morph Apply the space morph to geometry. (Inherited from SpaceMorph.)
Public method MorphPoint Morphs an Euclidean point. This method is abstract.

(Overrides SpaceMorph.MorphPoint(Point3d).)

Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Rhino.Geometry.Morphs Namespace

⚠️ **GitHub.com Fallback** ⚠️