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

#
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.
public abstract SpaceMorph CreateMorph()

IsValid

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

Store

#
public abstract void Store(
writer
)
Store

ToMorph

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

ToMorph

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

ToString

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

ToStringDetails

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