SoDataSetEditSurfaceShape Method |
Replaces all voxels intersecting the polygons or lines defined by the surfaceShape and given thickness with the specified value.
Namespace: OIV.LDM.Nodes
public virtual int EditSurfaceShape( SoNode surfaceShape, float thickness, double value )
surfaceShape is defined in the same 3D space as the dataSet. thickness is defined in voxels. The surfaceShape can be deleted after calling this function.
Call OIV.LDM.Nodes.SoDataSet.StartEditing(System.Int32@) before calling this method. Returns 0 if successful.
Caution |
---|
The modification may be postponed until the tiles are really needed. Therefore the surfaceShape node (and children if any) must not be modified until after saveEditing() is called. |