% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/proportional.R
\name{solve_3set}
\alias{solve_3set}
\title{Area-proportional 3-set circle layout (Wilkinson 2012-style triangulation)}
\usage{
solve_3set(regions)
}
\arguments{
\item{regions}{Named list keyed by `as.character(bitmask)` (1..7) -> exclusive count.
Missing keys are treated as 0.}
}
\value{
A named list with elements `circles` (length 3), `error` (always NaN
  in v0.1), `is_approximate` (always TRUE).
}
\description{
Computes pairwise inter-center distances via bisection on the lens
intersection area, then places circle C via barycentric triangulation
against AB. Always sets `is_approximate = TRUE` because perfect 3-circle
area-proportional fits don't always exist mathematically.
}
\details{
Mirrors Python `solve_3set` byte-for-byte (including the `error = NaN`
deliberate sentinel - 3-set fit error is not measured in v0.1).
}
\examples{
solve_3set(list("1" = 100L, "2" = 80L, "3" = 30L,
                 "4" = 60L,  "5" = 20L, "6" = 15L, "7" = 5L))
}
