|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSGImplify.SGImplify
public class SGImplify
SGImplify is a polyline simplification tool using the Douglas-Peucker algorithm.
| Constructor Summary | |
|---|---|
SGImplify()
|
|
| Method Summary | |
|---|---|
static Tuple.Tuple2f[] |
simplifyLine2D(float tol,
Tuple.Tuple2f[] V)
This method will reduce a 2D complex polyline. |
static Tuple.Tuple3f[] |
simplifyLine3D(float tol,
Tuple.Tuple3f[] V)
This method will reduce a 3D complex polyline. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SGImplify()
| Method Detail |
|---|
public static Tuple.Tuple2f[] simplifyLine2D(float tol,
Tuple.Tuple2f[] V)
tol - the tolerance of the reduction algorithm. Higher numbers will simplify the line more.V - the array of Tuple2fs to be simplified
public static Tuple.Tuple3f[] simplifyLine3D(float tol,
Tuple.Tuple3f[] V)
tol - the tolerance of the reduction algorithm. Higher numbers will simplify the line more.V - the array of Tuple3f to be simplified
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||