MaelstromSpaceMorph

SpaceMorph
Deforms objects in a spiral as if they were caught in a whirlpool.

Constructors

MaelstromSpaceMorph

#Since v5.9
Constructs a maelstrom space morph.
public MaelstromSpaceMorph(
plane,
Plane on which the base circle will lie. Origin of the plane will be the center point of the circle.
radius0,
First radius.
radius1,
Second radius.
angle
Coil angle in radians.
)
Remarks:

If radius0 = radius1 > 0, then the morph is a rotation where the angle of rotation is proportional to the radius. If radius0 < radius1, then everything inside of the circle of radius radius0 if fixed, the rotation angle increases smoothly from 0 at radius0 to m_a at radius1, and everything outside of the circle of radius radius1 is rotated by angle. If radius0 > radius1, then everything outside of the circle of radius radius0 if fixed, the rotation angle increases smoothly from 0 at radius0 to m_a at radius1, and everything inside of the circle of radius radius1 is rotated by angle.

Finalizer

~MaelstromSpaceMorph

#
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
~MaelstromSpaceMorph()

Properties

IsValid

#Since v5.9
Returns true if the space morph definition is valid, false otherwise.
public bool IsValid { get; }

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.
public bool PreserveStructure { get; set; }
inherited fromSpaceMorph

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.
public bool QuickPreview { get; set; }
inherited fromSpaceMorph

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.
public double Tolerance { get; set; }
inherited fromSpaceMorph

Methods

Dispose

#Since v5.9
Actively reclaims unmanaged resources that this instance uses.
public void Dispose()

Dispose

#
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.

protected virtual void Dispose(
disposing
true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer.
)

Morph

Apply the space morph to geometry.
public bool Morph(
geometry
Geometry to morph.
)
inherited fromSpaceMorph
true on success, false on failure.

Morph

Apply the space morph to a plane.
public bool Morph(
ref Plane
plane
Plane to morph.
)
inherited fromSpaceMorph
true on success, false on failure.

MorphPoint

#Since v5.9
Morphs an Euclidean point.
public override Point3d MorphPoint(
point
A point that will be morphed by this object.
)
Resulting morphed point.