home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Global Amiga Experience
/
globalamigaexperience.iso
/
graphic
/
cad
/
xcad3000
/
xcdoc
/
measarea
< prev
next >
Wrap
Text File
|
1995-07-10
|
2KB
|
60 lines
11.3 MEASURE AREA
The MEASURE AREA command is used to measure the internal area of an existing
entity or the area bounded by a number of locations entered via IDENTS.
Area measurements can be accumulated or subtracted from an overall area by
separating each area to be measured by a colon in IDENTS.
COMMAND FORMAT
#MEASURE AREA ENTITY:Ent x1 [:Ent x1 ...]
or
#MEASURE AREA :Loc x1 x2 ... xn [:Loc x1 x2 ... xn]
The first area definition entered will cause a message of the following
format to be displayed:
This area = xxxx square units.
Each subsequent area entered will cause the following type of message to
be displayed:
Accumulated total = xxxx
Subtracted from first = xxxx
This area = xxxx square units.
The accumulated total is a running total of all individual area definitions
entered. The value that appears after the message 'Subtracted from first'
is the total area of the second and all subsequent area definitions sub-
tracted from the first area entered.
MODIFIERS
ENTITY If the ENTITY modifier is used, the area of an existing
entity is measured. The entity can be a circle, full ellipse
polygon or cross-hatch polygon. If the entity is a polygon
or cross-hatch polygon, the area message may comtain a
second value:
This area = xxxx (yyyy) square units.
The area 'xxxx' is the total enclosed area of the outer
or main polygon. The value in brackets is the total area
minus the combined area of any sub-polygons.
The total area of the main polygon is the value used for
any further accumulated or subtracted areas.
If the ENTITY modifier is omitted, locations are entered to
define an area boundary. The area need not be closed as this
is done automatically. ( See fig. 11.2 ).