if (circlePlane == null) throw new IllegalArgumentException("Couldn't construct circle plane, probably too small? Cutoff angle = "+cutoffAngle+"; upperPoint = "+upperPoint+"; lowerPoint = "+lowerPoint); final GeoPoint recomputedIntersectionPoint = circlePlane.getSampleIntersectionPoint(planetModel, normalPlane); if (recomputedIntersectionPoint == null) throw new IllegalArgumentException("Couldn't construct intersection point, probably circle too small? Plane = "+circlePlane);
this.edgePoints = new GeoPoint[]{onlyEndpoint.circlePlane.getSampleIntersectionPoint(planetModel, normalPlane)}; return;
final GeoPoint intPoint = minXPlane.getSampleIntersectionPoint(planetModel, xVerticalPlane); if (intPoint != null) { minXEdges = new GeoPoint[]{intPoint}; final GeoPoint intPoint = maxXPlane.getSampleIntersectionPoint(planetModel, xVerticalPlane); if (intPoint != null) { maxXEdges = new GeoPoint[]{intPoint}; final GeoPoint intPoint = minYPlane.getSampleIntersectionPoint(planetModel, yVerticalPlane); if (intPoint != null) { minYEdges = new GeoPoint[]{intPoint}; final GeoPoint intPoint = maxYPlane.getSampleIntersectionPoint(planetModel, yVerticalPlane); if (intPoint != null) { maxYEdges = new GeoPoint[]{intPoint}; final GeoPoint intPoint = minZPlane.getSampleIntersectionPoint(planetModel, xVerticalPlane); if (intPoint != null) { minZEdges = new GeoPoint[]{intPoint}; final GeoPoint intPoint = maxZPlane.getSampleIntersectionPoint(planetModel, xVerticalPlane); if (intPoint != null) { maxZEdges = new GeoPoint[]{intPoint};