IBM TJ Watson Research

IBMCurve2DMorph

IBMCurve2DType.mp4

Description

A set of Curve2D shapes created using type field. The type field lists how the points should be consumed and are:

Each of the shapes has its Material2D filled field alternated between false and true so that the shapes alternate between lines and filled geometries. Shapes are filled by closing each segment and using the even-odd winding rule to define the interior. Holes may be created as a result of the fill rule.

The upper six Curve2D shapes are all done with MoveTo and LineTo. The next six are done with MoveTo and CurveTo. The final three using a mix of all types.

Screenshot

Snapshot taken when filled="false".



Second snapshot taken when filled="true".



Back to main index