Parameterization of Complex 3D Heterogeneities: A New CAD Approach