ArcsSet
| Modifier and Type | Field and Description |
|---|---|
| private final double | lower
The lower angular bound of the arc. |
| private final double | middle
Middle point of the arc. |
| private final double | tolerance
Tolerance below which angles are considered identical. |
| private final double | upper
The upper angular bound of the arc. |
| Access | Constructor and Description |
|---|---|
| public | Arc(final double
lower angular bound of the arc lower, final double upper angular bound of the arc upper, final double tolerance below which angles are considered identical tolerance)Simple constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public Region. | Returns: a code representing the point status: eitherLocation#INSIDE, Location#OUTSIDE or Location#BOUNDARYpoint to check point)Check a point with respect to the arc. |
| public double | |
| public double | Returns: lower angular bound of the arc, always between 0 and \( 2 \pi \)Get the lower angular bound of the arc. |
| public double | |
| public double | |
| public double | Returns: tolerance below which angles are considered identicalGet the tolerance below which angles are considered identical. |
| lower | back to summary |
|---|---|
| private final double lower The lower angular bound of the arc. | |
| middle | back to summary |
|---|---|
| private final double middle Middle point of the arc. | |
| tolerance | back to summary |
|---|---|
| private final double tolerance Tolerance below which angles are considered identical. | |
| upper | back to summary |
|---|---|
| private final double upper The upper angular bound of the arc. | |
| Arc | back to summary |
|---|---|
| public Arc(final double lower, final double upper, final double tolerance) throws NumberIsTooLargeException Simple constructor.
If either
| |
| checkPoint | back to summary |
|---|---|
| public Region. Check a point with respect to the arc.
| |
| getBarycenter | back to summary |
|---|---|
| public double getBarycenter() Get the barycenter of the arc.
| |
| getInf | back to summary |
|---|---|
| public double getInf() Get the lower angular bound of the arc.
| |
| getSize | back to summary |
|---|---|
| public double getSize() Get the angular size of the arc.
| |
| getSup | back to summary |
|---|---|
| public double getSup() Get the upper angular bound of the arc. | |
| getTolerance | back to summary |
|---|---|
| public double getTolerance() Get the tolerance below which angles are considered identical.
| |