polyline processing

polyline processing

polyline processing accepts a 3D polyline and can either increase or decrease the number of line segments of the polyline. Once the number of points or step size is specified, the line can be splined, smoothed, or simply resampled along its original path. This module is useful for applications such as a fly over application along a polyline path drawn by the user. If the user-drawn line is jagged with erratically spaced line segments, polyline processing smooths the path and creates evenly spaced line segments along the path.

Ports

DirectionNameTypeDescription
InputInput FieldFieldThe line field to use for splining or smoothing.
OutputOutput DataFieldA line field containing the smoothed or splined line.
OutputOutput ObjectRenderableA renderable object displaying the sample data.

Properties

PropertyTypeDescription
Specification MethodChoice: Number Of Points, Path Step SizeControls how the output line segment size is set. Number Of Points specifies the total number of points (segment endpoints) in the path. Path Step Size specifies the length of each step in the units of the input mesh.
Number Of PointsIntegerThe total number of points in the path when the Specification Method is Number Of Points.
Path Step SizeDoubleThe length of each path step, in the units of the input mesh, when the Specification Method is Path Step Size.
Max Path Step CountIntegerThe maximum number of lines to create using the Path Step Size specification method.
Resample At EndBooleanWhen on, the line is segmented both before and after being smoothed or splined.
ToleranceDoubleHow close two disjoint points must be before the two polylines are merged.
Sampling MethodChoice: Spline, Smooth, Preserve NodesControls how the polyline is created. Spline connects each point with a path determined by the gradient of the points. Smooth keeps to the original path, with sharp corners smoothed using the Smoothing Percentage. Preserve Nodes keeps the same path as the input but breaks it into smaller segments.
Smoothing OrderIntegerThe number of points used for smoothing. More points create a smoother line that departs more from the original. Used with the Smooth sampling method.
Smoothing PercentageDoubleThe degree of smoothing. Higher values create a smoother line that departs more from the original. Used with the Smooth sampling method.
Smoothing IterationsIntegerAnalogous to multiple polyline processing modules connected in series. This provides a means to further smooth erratic lines while staying close to the original points. Used with the Smooth sampling method.
Translate Export By OriginBooleanWhen on, the exported file is written in your coordinate space. When off, the output is written around the origin.
ELF FilenameFileWrites the created polyline to an ELF file.