SMS:Arcs

From XMS Wiki
Revision as of 16:04, 30 October 2012 by Jcreer (talk | contribs) (Created page with "==Reverse Arc Direction (Feature Objects Menu)== This command (Feature Objects menu, Map module) reverses the direction of all selected arcs. Arc orientation is only important fo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Reverse Arc Direction (Feature Objects Menu)

This command (Feature Objects menu, Map module) reverses the direction of all selected arcs. Arc orientation is only important for applications that use coastline or centerline arcs that have an arrow drawn on the arc. Each arc has a direction. One node is the "from" node, the other node is the "to" node. For most applications, the direction of the arc does not matter. However, when the arc is used to define a observation plots, and in various other situations the direction of the arc becomes significant. The Reverse Arc Direction command can be used to change the direction (upstream to downstream) for an arc.

Align Arc With Contour (Right-click Menu)

This command (arc right-click) can only be used when the project has scatter data. A dialog is brought up from which a scatter dataset, dataset value, and maximum distance are set. SMS will then move the vertices along the selected arc to locations where the scatter dataset value matches the dataset value specified in the dialog, as long as it is not moved by a distance greater than the maximum distance (also specified in the dialog).

Redistribute Vertices (Feature Objects Menu)

The primary function of the vertices of an arc is to define the geometry of the arc. If the arcs are to be used for automatic mesh generation, the spacing of the vertices is important. The spacing of the vertices defines the density of the elements in the resulting mesh. Each edge defined by a pair of vertices becomes the edge of an element. The mesh gradation is controlled by defining closely spaced vertices in regions where the mesh is to be dense and widely spaced vertices in regions where the mesh is to be coarse.

When spacing vertices along arcs, the Redistribute command in the Feature Objects menu can be used to automatically create a new set of vertices along a selected set of arcs at either a higher or lower density. The desired arc(s) should be selected prior to selecting the Redistribute command.

The current status of the selected arc(s) is given at the top of the dialog. This includes the number of segments and spacing of those segments. When multiple arcs are selected, the current status is a combination of all selected arcs. However, the parameters set in this dialog apply to each arc individually. Therefore if multiple arcs were selected, each arc would reflect the options selected in this dialog. The following options are available for redistributing vertices:

Linear Interpolation

If the Linear interpolation options is specified, then either a number of intervals or a target spacing can be given to determine how points are redistributed along the selected arcs. In either case, the new vertices are positioned along a linear interpolation of the original arc. The arc may change shape due to the fact that original vertices are removed as the new vertices are created. This may round corners from the arc.

Spline Interpolation

If the Spline interpolation option is specified, vertices are redistributed along a series of cubic splines defined by the original vertices of the selected arcs. The difference between the linear and spline interpolation methods is illustrated in the figure below.

File:Redistvert.bmp
Redistributing Vertices: (a) Original Arc (b) Linear (c) Spline

Source Arc

The Source arc option is only available when two arcs are selected. One arc is specified to be the source arc while the other is the target arc. SMS redistributes the vertices on the target arc to be as close as possible to the vertices on the source arc.