Hi there
I am building a CGA rule that extrudes a building shape that is dependent on the area of the lot. I can easily attain the area of the lot using the "geometry.area" function.
However, now I wish to add an offset to my building. This can be represented by the green area in the picture below. I want to extrude the red area for the new building, and doing so is simple enough.

However, I want the building height to be dependent on it's footprint (the red area). How can I calculate the area of the red shape, as opposed to the entire plot area? I assume I can using the geometry.area function - but ESRI's CGA reference on geometry functions is unclear for me:
https://doc.arcgis.com/en/cityengine/2019.0/cga/cga-geometry-function.htm#ESRI_SECTION1_D013B37BD4234B3488F1E4186CE2508E
Can anybody offer any guidance? Thanks!