7879808182838485868788
* Returns the stroke's bounding box * @return AABB - boundingBox */ public AABB getBoundingBox() { PointCloud pointCloud = new PointCloud(); pointCloud.addAll(points); return pointCloud.getBoundingBox(); } /** * Returns the length of the stroke
216217218219220221222223224225226
AABB bounds = stroke.getBoundingBox(); list.add(bounds.getMin()); list.add(bounds.getMax()); } pointCloud.addAll(list); return pointCloud.getBoundingBox(); } /** * Gets the centroid of the Gml (includes all strokes)