SporphSpaceMorph

SpaceMorph
Deforms an object from a source surface to a target surface.

Constructors

SporphSpaceMorph

#Since v5.9
Constructs a Sporph space morph.
public SporphSpaceMorph(
surface0,
Base surface.
surface1,
Target surface.
surface0Param,
U,V parameter on surface0 used for orienting.
surface1Param
U,V parameter on surface1 used for orienting.
)

SporphSpaceMorph

#Since v5.9
Constructs a Sporph space morph.
public SporphSpaceMorph(
surface0,
Base surface.
surface1
Target surface.
)

Finalizer

~SporphSpaceMorph

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

Properties

ConstrainNormal

#Since v7.12
Specifies how the normal direction of the base surface is mapped onto the target surface. To use the target surface normal, set to Vector3d.Unset.
public Vector3d ConstrainNormal { get; set; }

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.