This section explains the methodology behind the automatic assignment of facet types and various auxiliary geometric constructions necessary to define the measurable parameters.