Skip to content

TwistSpaceMorph

Public 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)

Syntax

public class TwistSpaceMorph : SpaceMorph,
IDisposable

The TwistSpaceMorph type exposes the following members.

Constructors

Name

Description


Public Method

Constructs a twist space morph.


Properties

Name

Description


Public Property

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

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

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

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

Twist angle in radians.


Public Property

Axis to rotate about.


Methods

Name

Description


Public Method

Actively reclaims unmanaged resources that this instance uses.


Protected Method

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

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

Apply the space morph to geometry.

(Inherited from SpaceMorph.)


Public Method

Apply the space morph to a plane.

(Inherited from SpaceMorph.)


Public Method

Morphs an Euclidean point.

This method is abstract.

(Overrides

.)


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)