70002890 Split triangles of a ground surface given a polyline path

Article 70002890
Type Wish
Product Engine
Date Added 6/4/2026 12:00:00 AM
Fixed 12.0.03 (6/4/2026 12:00:00 AM)
Submitted by Graham Parker

Summary

Split triangles of a ground surface from a given polyline path. The triangles of the groundsurface are split so they do not intersect the polyline.

Solution

In version 12.0.3 a new method SplitFaces of vdGroundSurface object
gPoints SplitFaces(gPoints slicepoints, Utilities.ProgressMeter progress = null, double equality = 0)

summary
Split all the triangles, created using Delaunay algorythm by calling the property of this ground surface object,
with the lines defined by the segments between the given points

remarks
The new calculated triangles will have the same vertices as this surface object, and new vertices will be added to the Points for the intersection points between the faces and the segments.
No triangle in the result will cross the breaking lines.
The LockTriangles property will be set to true after this method since the new triangles are not created by the Delaunay algorythm and they cannot be updated by changing the Points vertices.

slicepoints An array of points that defines a continue polyline in the same Coordinate System as the vertexes of this object
progress A progress counter that will run the progress percentage of the process.It can be null
equality The minimum distance that will assume that two points are equal. Set it to 0 i order the SolidModel.ClippingOperations.DefaultEquality to be used

returns
An array of points that follow the passed points path with Z values to be projected on the object triagles.

Send comments on this topic.