import ArcCircle01 from './ArcCircle01.png';
import ArcCircle02a from './ArcCircle02a.png';
import ArcCircle03 from './ArcCircle03.png';
import ArcCircle02 from './ArcCircle02.png';
import InfoSector from './InfoSector.png';
import InfoSlice from './InfoSlice.png';
import ArcCircle04 from './ArcCircle04.png';
import ArcCircle06 from './ArcCircle06.png';
import ArcCircle05 from './ArcCircle05.png';
import ArcCircle08 from './ArcCircle08.png';
import ArcCircle07 from './ArcCircle07.png';

Author: Robert S.

This command calculates the area of arcs, circles, ellipses and elliptical
arcs, and optionally adds the information to the current layer of a drawing.
If you select any other type of entity a warning is shown in the command
line.

For arcs, there are two options for calculating areas, namely Segment or
Sector. The area of a segment (or slice) is the area bound by the arc and two
lines drawn from the arc's startpoint and endpoint to the arc's centre. The
area of a sector is the area bound by the arc and a chord drawn from the
arc's startpoint to the endpoint.

<Image src={ArcCircle01} alt="ArcCircle01" width={285} height={149} />  
Figure 1: a segment (slice) and sector.

**Options**

This command has the standard "*Add measurement to drawing*" and
"*Text Height*" options.

<Image src={ArcCircle02a} alt="ArcCircle02a" width={200} height={19} />  
Figure 2: Standard Info options

Whether this is off or not, when you click on an arc, circle, ellipse or
 elliptical arc, the information is displayed in the command line widget.

<Image src={ArcCircle03} alt="ArcCircle03" width={238} height={29} />  
Figure 3: Info displayed in command line

(Note: Every time you start an info command the "*Add measurement to drawing*"
checkbox is always unchecked. You must remember to switch it on if you want the info
added to the drawing).

It also adds the following options.

<Image src={ArcCircle02} alt="ArcCircle02" width={213} height={25} />  
Figure 4: Added options

**Mode:**

The mode only applies to arcs.

<Image src={InfoSector} alt="InfoSector" width={40} height={40} />  
*Sector:* This mode returns the area of the sector. This is useful when
used in conjunction with the "*Polygonal Area*" command.

<Image src={InfoSlice} alt="InfoSlice" width={40} height={40} /> *Segment:* This mode returns the area of the segment.

**Add:**

*Entity:* This selects whether you want to add a copy of the measured
entity to the current layer of the drawing.

*Chord:* This selects if you want the chord (sector), or radius lines
(segment), added to the drawing.

*Length:* By default the area is always printed on the drawing. This
option selects whether you want extra information added to the drawing.

For circles and full ellipses the extra information is the circumference.
This uses the centre point as the lower left corner for the added text.

<Image src={ArcCircle04} alt="ArcCircle04" width={364} height={136} />

For circular arcs the extra information is the length of the arc and the
length of the chord (in sector mode), or the radius (in segment mode).

For ellipses the extra information is the length of the arc and the length
of the chord (in sector mode), or the distance from the centre point to the
startpoint of the arc, followed by the distance from the centre point to the
endpoint of the arc (in segment mode).

The lower left corner for the added text is the endpoint of the arc.

<Image src={ArcCircle06} alt="ArcCircle06" width={332} height={75} />

<Image src={ArcCircle05} alt="ArcCircle05" width={378} height={111} />

<Image src={ArcCircle08} alt="ArcCircle08" width={328} height={90} />

<Image src={ArcCircle07} alt="ArcCircle07" width={418} height={105} />
