private Geom.Side calcPosition( EndPoint endPoint ){
		if( endPoint.getEndPointPosition() != EndPointPosition.AUTOMATIC ){
			return Geom.toSide( endPoint.getEndPointPosition() );
		}
		return Geom.nearestSide( endPoint.getOtherEndPoint().getArrayBoundaries(), getBoundaries() );
	}