API Reference > geometry-core > Curve > RegionOps > computeXYArea computeXYArea MethodStatic Return an xy area for a loop, parity region, or union region. If rawMomentData is the MomentData returned by computeXYAreaMoments, convert to principal axes and moments with call principalMomentData = MomentData.inertiaProductsToPrincipalAxes (rawMomentData.origin, rawMomentData.sums); computeXYArea(root: AnyRegion): number | undefined Parameter Type Description root AnyRegion any Loop, ParityRegion, or UnionRegion. Returns - number | undefined Defined in core/geometry/src/curve/RegionOps.ts Line 292 Last Updated: 13 June, 2024