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 25 Next »

Unknown macro: {alias}

Name

bmo — Border model into grid

Syntax

bmo [inc] | [nx ny] | [long] [y] [ibo] [cel] [vary]

Description

Generate a border model grid from a closed polygon. The border model will contain defined grid nodes inside the border polygon, and undefined values outside. The value of defined grid nodes will be 0.

The purpose of the border model grid is mainly as a mask grid for extracting a similar part of another grid or as a reference grid in various algorithms.

Arguments

inc xinc yinc

nx ny

long num

ibo

y

cel

vary varynumber

Examples

Ex.1: Boundary gridding

        bmo inc 250 250 ;# border model closed line to a grid with x and y grid cell increments of 250

Ex.2: Bordel model with detailed study of the grid

        # bordel model with detailed study of the grid
        vie def ini  ; # view initialization
        vie 1 1 1 ; # get first overall viewport
        pol 2 ; # display the input line in line width 2
        bmo 100 100 ; # border model with 100 elements in rows and columns
        col bla ; # black color
        poll  ; # show grid cell structure
        vie coor 0.05 0.05 0.35 0.35 ; # get small viewport
        col bla ; # black color
        poll ; # show grid cell structure

The above example produces this image.


Border model grid with details at the border

See also

acm start/stop, bmc - Border model edge clipping, clp - Clip with closed line, mak clo, mak sha

  • No labels