There was a request from some customers to support trimming a topography with a profile. The existing Trim method wasn't exactly what was needed, because it:
left behind a solid rather than just the top surface
didn't support voids within the projected shape
mutated the existing topography instead of creating a new mesh
DESCRIPTION:
adds Topography.Trimmed, which returns a new Topopgraphy trimmed by a Profile
adds Topography.TopMesh which returns just the upwards facing portion of the topo without the sides
Updates Topography.Trim to support Profile instead of Polygon
Fixes an issue where cloning a mesh would result in incorrect vertex-triangle relationships, due to an oversight in one Triangle constructor
TESTING:
Added a test which tests all new methods:
FUTURE WORK:
calling GetNakedBoundaries results in some really funky shapes with these meshes... there's still something weird about the mesh topology after a CSG operation.
BACKGROUND:
Topography.Trimmed
, which returns a new Topopgraphy trimmed by a ProfileTopography.TopMesh
which returns just the upwards facing portion of the topo without the sidesTopography.Trim
to support Profile instead of PolygonTESTING:
FUTURE WORK:
GetNakedBoundaries
results in some really funky shapes with these meshes... there's still something weird about the mesh topology after a CSG operation.REQUIRED:
CHANGELOG.md
.This change is