
Given fields containing n-dimensional regular lines, this module adds a data component, dep on positions, that contains the accumulated line length. An example network is included; this sets up a vector field with deflection from the X axis based on the cosine of X, and scaled by a value from a control panel. A streamline if run through the vector field and then displayed, colored by length, and annotated with the total length.
Build the executive: make dxexec
Run the example: dx -mdf arclen.mdf -exec ./dxexec arclen
Directory name: contrib/modules/arclen
Other files in this directory:
Return to Assorted Useful Modules