wrap.latticeDeform

wrap.latticeDeform(geomTarget, geomSource, geomReference, radius)

Deforms geomTarget based on how you reshape control geometry (geomSource and geomReference).

Parameters:

geomTarget : wrap.Geom

Input geometry. Target to deformation.

geomSource : wrap.Geom

Initial control geometry.

geomReference : wrap.Geom

Deformed control geometry.

radius : float

Specifies radius of control points.

Returns:

result : wrap.Geom

result is copy of geomTarget but vertex positions deformed according to input deformation.