Slices the surface with the specified plane and sets the surface to be the portion on the positive normal side plane.
Parameters
Parameters
Description
slicePlane
[in] Reference to the plane object to be used for slicing the surface.
pNegHalfSurface
[out] Pointer to a new surface representing the negative side of the surface that is sliced by the specified plane.
pNewSurface
[out] Pointer to a new surface representing the positive half of the surface that is sliced by the specified plane.
Returns
eOk if the slicing operation is successfully performed or an appropriate error code otherwise. If solid is empty, returns eInvalidInput. If the specified plane does not intersect this surface, then this surface is left unchanged, pNegHalfSurface is set to NULL, eNoIntersections is returned.
Remarks
If this surface is OdDbSurface or OdDbPlaneSurface, positive part will be stored in this surface. Otherwise, positive part will be stored in pNewSurface and this surface will not be changed.