TwistDeform

Deform
[IoId("00000000-30c4-4fa7-ae99-8f8dd1bd20c2")] public sealed class TwistDeform : Deform

Constructors

TwistDeform

#
public TwistDeform(IReader reader)
reader (IReader)

TwistDeform

#
public TwistDeform(Line line, double angle0, double angle1, TwistProfile profile)
line (Line)
angle0 (double)
angle1 (double)
profile (TwistProfile)

Properties

Angle0

#
public double Angle0 { get; }

Angle1

#
public double Angle1 { get; }

Axis

#
public Line Axis { get; }

Profile

#
public TwistProfile Profile { get; }

Methods

CreateMorph

#
public override SpaceMorph CreateMorph()

IsValid

#
public override bool IsValid(out string reasonWhyNot)
reasonWhyNot (out string)
Deform.IsValid

Progression

#
public static double Progression(double t, TwistProfile profile)
Map a parameter along the axis to the fraction of the twist applied there.
t (double)Axis parameter, zero at the start of the axis and one at the end.
profile (TwistProfile)Twist progression.
Fraction between zero and one, or any value for an infinite twist.

Store

#
public override void Store(IWriter writer)
writer (IWriter)
Deform.Store

ToMorph

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

ToMorph

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

ToString

#
public override string ToString()
Deform.ToString

ToStringDetails

#
public override string ToStringDetails()