Package gps.garmin.img.structure.data

Examples of gps.garmin.img.structure.data.Point


        seek(treFatBlock.getSubfileOffset() + treHeader.getPointOverviewSectionOffset());
        int numberOfPoints =
            treHeader.getPointOverviewSectionLength() /
            treHeader.getPointOverviewRecordsSize();
        for (int i = 0; i < numberOfPoints; i++) {
            Point point = new Point();
            point.setNumber(i + 1);

            // Point type
            nextByte()// fixme, siempre es por default? no se usa el byte?
            point.setType(PointType.DEFAULT);

            // Maximum level
            point.setMaximumLevelWherePresent(nextByte());

            // Point subtype
            nextByte()// fixme, siempre es por default? no se usa el byte?
            point.setSubtype(PointSubtype.DEFAULT);

            subfile.getPoints().add(point);
        }
       
        img.getSubfiles().add(subfile);
View Full Code Here

TOP

Related Classes of gps.garmin.img.structure.data.Point

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.