Package jaid.ais.message

Examples of jaid.ais.message.AISMsg


     * @param feed      The AIS feed for which to calculate the coverage area.
     * @since 1.0
     */
    private void calculateCoveragePerimiter() {
        NavCalculator nav = new NavCalculator();
        AISMsg msg;
        // Calculate the distances from each target to the base station
        double distance;
        Position targetPosition;
        double key;
        for (Target t : getTargets()) {
            if (t.getType() == Target.TARGET_BASESTN) {
                continue;
            }
            targetPosition = t.getPosition();
            if (targetPosition == null) {
                if (targetPosition == null) {
                    msg = (t.getLatestDynamicMsg() == null
                            ? t.getLatestMessage()
                            : t.getLatestDynamicMsg());
                    if (msg.getPosition() != null) {
                        targetPosition = msg.getPosition();
                    } else {
                        continue;
                    }
                }
            }
View Full Code Here

TOP

Related Classes of jaid.ais.message.AISMsg

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.