public abstract class Deform : IStorable
A wrapper class hierarchy around the Rhino SpaceMorph types. This wrapper stuff is supposed to make it possible to reliably (de)serialise spacemorphs.

Methods

CreateMorph

#
public abstract SpaceMorph CreateMorph()
Create a new morph from scratch. You usually want to call ToMorph(double) so you get the cached result. However if you wish to set properties on the morph such as SpaceMorph.PreserveStructure, then you should get a brand new instance each time.

IsValid

#
public abstract bool IsValid(out string reasonWhyNot)
Test the validity of this deformation.
reasonWhyNot (out string)

Store

#
public abstract void Store(IWriter writer)
writer (IWriter)
Store

ToMorph

#
public SpaceMorph ToMorph()
obsoleteUse the overload which takes a tolerance argument.
Emit a Rhino spacemorph which describes this deformation.

ToMorph

#
public SpaceMorph ToMorph(double tolerance)
Emit a Rhino spacemorph which describes this deformation.
tolerance (double)

ToString

#
public abstract override string ToString()
Must override this to name the deformation. I.e. "Splop", "Bend", etc.
Object.ToString

ToStringDetails

#
public abstract string ToStringDetails()
Override this to provide a detailed description which would be sufficient for sorting and comparison.