% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/write.R
\name{.roi_cone_type_to_cbf_name}
\alias{.roi_cone_type_to_cbf_name}
\title{Map an ROI cone type code to its CBF cone name string.}
\usage{
.roi_cone_type_to_cbf_name(type_code, params, pow_tables)
}
\arguments{
\item{type_code}{Integer cone type code from \code{cones_obj$cone}.}

\item{params}{Named list of parameters for this cone group
(\code{cones_obj$params[[id_str]]}), or \code{NULL}.}

\item{pow_tables}{List with \code{primal} and \code{dual} alpha-vector
lists (from \code{.collect_powcone_tables()}).}
}
\value{
Character CBF cone token.
}
\description{
ROI >= 1.0 uses a unified \code{"cone"} class; the cone family is encoded
as an integer in \code{$cone}.  Known codes:
1 = K_zero, 2 = K_lin (nonneg), 3 = K_soc, 4 = K_psd,
5 = K_expp, 6 = K_expd, 7 = K_powp, 8 = K_powd.
}
\details{
For power cones (\code{type_code} 7 or 8), \code{params$a} holds the
scalar alpha; the 0-based POWCONES table index is embedded in the name.
}
\keyword{internal}
