Skip to content

Commit 68e762e

Browse files
committed
Merge pull request #57 from Esri/javadoc_edits
javadoc edits
2 parents e9cd80b + 45be0d0 commit 68e762e

File tree

6 files changed

+180
-46
lines changed

6 files changed

+180
-46
lines changed

src/main/java/com/esri/core/geometry/Geometry.java

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -537,15 +537,25 @@ synchronized void _touch() {
537537

538538
/**
539539
* Describes the degree of acceleration of the geometry.
540+
* Acceleration usually builds a raster and a quadtree.
540541
*/
541542
static public enum GeometryAccelerationDegree {
542-
enumMild, // <!mild acceleration, takes least amount of memory.
543-
enumMedium, // <!medium acceleration, takes more memory and takes more
544-
// time to accelerate, but may work faster.
543+
/**
544+
* mild acceleration, takes least amount of memory. (64x64x2 bit raster)
545+
*/
546+
enumMild,
547+
/**
548+
* medium acceleration, takes more memory and takes more time to accelerate, but may work faster.
549+
* (256x256x2 bit raster and a quad tree for segments)
550+
*/
551+
enumMedium,
552+
/**
553+
*high acceleration, takes even more memory and may take
554+
*longest time to accelerate, but may work faster than the
555+
*other two.
556+
*(1024x1024x2 bit raster and a quad tree for segments)
557+
*/
545558
enumHot
546-
// <!high acceleration, takes even more memory and may take
547-
// longest time to accelerate, but may work faster than the
548-
// other two.
549559
}
550560

551561
Object writeReplace() throws ObjectStreamException {

src/main/java/com/esri/core/geometry/GeometryAccelerators.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,6 @@
2727

2828
class GeometryAccelerators {
2929

30-
// /**
31-
// *Describes the degree of acceleration of the geometry.
32-
// */
33-
// enum GeometryAccelerationDegree
34-
// {
35-
// enumMild, //<!mild acceleration, takes least amount of memory.
36-
// enumMedium, //<!medium acceleration, takes more memory and takes more
37-
// time to accelerate, but may work faster.
38-
// enumHot //<!high acceleration, takes even more memory and may take
39-
// longest time to accelerate, but may work faster than the other two.
40-
// }
41-
4230
private RasterizedGeometry2D m_rasterizedGeometry;
4331
private QuadTreeImpl m_quad_tree;
4432
private ArrayList<Envelope2D> m_path_envelopes;

0 commit comments

Comments
 (0)