R/venndir-polyclip.R
labelr_JamPolygon.Rd
Define label positions for JamPolygon using polylabelr::poi()
labelr_JamPolygon(jp, precision = 1, add_to_jp = FALSE, ...)
JamPolygon
numeric
passed to polylabelr::poi()
logical
indicating whether to add "label_x"
,
"label_y"
into the jp@polygons
data.frame
.
additional arguments are ignored.
matrix
with columns "x"
, "y"
, "dist"
This function is a simple wrapper for polylabelr::poi()
, which
recognizes holes inside polygons.
Consider basic support for non-overlapping label positions.
First pass might be to use non-overlapping regions of a polygon among a set of polygons.
Second pass would be to use the region with fewest overlaps among other polygons in the set, to define the label position. This rule could serve to solve (1) as well.
Other JamPolygon:
JamPolygon-class
,
Venndir-class
,
[,JamPolygon,ANY,ANY,ANY-method
,
add_orientation_JamPolygon()
,
area_JamPolygon()
,
bbox_JamPolygon()
,
buffer_JamPolygon()
,
check_JamPolygon()
,
check_Venndir()
,
eulerr_to_JamPolygon()
,
farthest_point_JamPolygon()
,
find_venn_overlaps_JamPolygon()
,
has_point_in_JamPolygon()
,
intersect_JamPolygon()
,
label_fill_JamPolygon()
,
label_outside_JamPolygon()
,
label_segment_JamPolygon()
,
minus_JamPolygon()
,
nearest_point_JamPolygon()
,
nudge_JamPolygon()
,
plot.JamPolygon()
,
point_in_JamPolygon()
,
polyclip_to_JamPolygon()
,
polygon_circles()
,
polygon_ellipses()
,
sample_JamPolygon()
,
split_JamPolygon()
,
union_JamPolygon()
,
update_JamPolygon()