SplopSpaceMorph
SpaceMorphRotates, scales, and wraps objects on a surface.
Constructors
public SplopSpaceMorph(Plane plane, Surface surface, Point2d surfaceParam, double scale, double angle)
Constructs a flow space morph.
Parameters:
| plane (Plane) | Source plane of deformation. |
| surface (Surface) | Surface to wrap objects onto. |
| surfaceParam (Point2d) | U,V parameter on surface used for orienting. |
| scale (double) | Scale factor. To ignore, use Rhino.RhinoMath.UnsetValue. |
| angle (double) | Rotation angle in radians. To ignore, use Rhino.RhinoMath.UnsetValue. |
Constructs a flow space morph.
Finalizer
~SplopSpaceMorph
#~SplopSpaceMorph()
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
Properties
Returns true if the space morph definition is valid, false otherwise.
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.
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.
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.
Methods
public void Dispose()
Actively reclaims unmanaged resources that this instance uses.
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.
Parameters:
| disposing (bool) | true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer. |
Parameters:
| geometry (GeometryBase) | Geometry to morph. |
Returns: true on success, false on failure.
Parameters:
| plane (ref Plane) | Plane to morph. |
Returns: true on success, false on failure.
Morphs an Euclidean point.
Parameters:
| point (Point3d) | A point that will be morphed by this object. |
Returns: Resulting morphed point.
Overrides: SpaceMorph.MorphPoint