Skip to content

Commit 2109396

Browse files
committed
updating comments
1 parent 279d875 commit 2109396

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/scoord3d.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ class Circle extends Scoord3D {
151151

152152
get graphicData() {
153153
/*
154-
* A circle defined by two (column,row) pairs.
155-
* The first point is the central pixel.
156-
* The second point is a pixel on the perimeter of the circle.
154+
* A circle is defined by an array of flat coordinates
155+
* distributed into two arrays or xyz coordinates where the
156+
* last coordinate is always 1
157157
*/
158158
return this[_coordinates]
159159
}
@@ -186,9 +186,9 @@ class Ellipse extends Scoord3D {
186186

187187
get graphicData() {
188188
/*
189-
* An ellipse defined by four pixel (column,row) pairs.
190-
* The first two points specify the endpoints of the major axis.
191-
* The second two points specify the endpoints of the minor axis.
189+
* An ellipse defined by four pixel (column,row) pairs distributed into two arrays.
190+
* The first array contains two points that represents the major axis.
191+
* The second array contains two points that represents the minor axis.
192192
*/
193193
return [
194194
...this[_majorAxisEndpointCoordinates],

0 commit comments

Comments
 (0)