X-Git-Url: https://gitweb.fperrin.net/?a=blobdiff_plain;f=tim%2Fprune%2Fthreedee%2FThreeDModel.java;h=65f1152e913861555bd10a8f5786415bbe9ce15e;hb=112bb0c9b46894adca9a33ed8c99ea712b253185;hp=141ec38a88d8656e18110e68181bb238b99f170c;hpb=5625a1abadb5f2ca5f017fe7dbda1d5141cb637b;p=GpsPrune.git diff --git a/tim/prune/threedee/ThreeDModel.java b/tim/prune/threedee/ThreeDModel.java index 141ec38..65f1152 100644 --- a/tim/prune/threedee/ThreeDModel.java +++ b/tim/prune/threedee/ThreeDModel.java @@ -18,16 +18,18 @@ public class ThreeDModel private int _altitudeCap = -1; private double _scaleFactor = 1.0; private double _altFactor = 1.0; - // TODO: How to store rods (lifts) in data? + // MAYBE: How to store rods (lifts) in data? private byte[] _pointTypes = null; private byte[] _pointHeights = null; private static final double DEFAULT_MODEL_SIZE = 10.0; + /** Minimum altitude cap */ public static final int MINIMUM_ALTITUDE_CAP = 100; // Constants for point types - public static final byte POINT_TYPE_WAYPOINT = 1; - public static final byte POINT_TYPE_NORMAL_POINT = 2; + public static final byte POINT_TYPE_WAYPOINT = 1; + public static final byte POINT_TYPE_NORMAL_POINT = 2; + public static final byte POINT_TYPE_SEGMENT_START = 3; /** @@ -136,8 +138,8 @@ public class ThreeDModel for (int i=0; i