|
|
|
|
@ -142,7 +142,7 @@ public class CompoundMark extends XMLCompoundMark{
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Used to find how far apart the marks that make up this gate are
|
|
|
|
|
* If this compound mark is only one point return base length of 250m
|
|
|
|
|
* If this compound mark is only one point return base length of 400m
|
|
|
|
|
* @return the acceptable distance to round a mark
|
|
|
|
|
*/
|
|
|
|
|
public double getRoundingDistance(){
|
|
|
|
|
@ -187,7 +187,7 @@ public class CompoundMark extends XMLCompoundMark{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//finds the mark furthest west and east
|
|
|
|
|
if(this.getMark1Position().getLatitude() > this.getMark2Position().getLatitude()){
|
|
|
|
|
if(this.getMark1Position().getLongitude() > this.getMark2Position().getLongitude()){
|
|
|
|
|
westMostMark = this.mark1;
|
|
|
|
|
eastMostMark = this.mark2;
|
|
|
|
|
}else{
|
|
|
|
|
@ -196,7 +196,7 @@ public class CompoundMark extends XMLCompoundMark{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//finds the mark furthest north and south
|
|
|
|
|
if(this.getMark1Position().getLongitude() > this.getMark2Position().getLongitude()){
|
|
|
|
|
if(this.getMark1Position().getLatitude() > this.getMark2Position().getLatitude()){
|
|
|
|
|
northMostMark = this.mark1;
|
|
|
|
|
southMostMark = this.mark2;
|
|
|
|
|
}else{
|
|
|
|
|
|