Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Unknown macro: {alias}

Name

cut — Cut grid data

Syntax

cut workspacename [siu] [grid]

Description

Make a cut line where a line crosses a grid. Input is a line in active defining the cut trace.

Arguments

workspacename

Unknown macro: {indent}

Generate a cross section following a line through the grid in workspace workspacename.

siu

Unknown macro: {indent}

Skip trace in undefined areas.

grid

Unknown macro: {indent}

The generated cut trace will be at the crossing point with the grid.

Examples

Ex.1: Title-of-example

        win demo          ;# Get demo window (450000 460000 6450000 6460000 1000 4000)
        spe bgc whi       ;# Specify background color to white
        mak ran 11        ;# Make 11 random points
        grp 222 222       ;# Make grid of dimension 222 x 222
        mhi mygrid        ;# Move the grid to workspace 'mygrid'
        map               ;# Map the grid
        mak ran 5         ;# Make 5 random points
        cut mygrid        ;# Cut the grid with the generated line
        pol 4             ;# Draw cut line with line width 4

The above example produces this image.


Cutting grid with a line

See also

clip , ctp , mak lin , zap

  • No labels