Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdModelerGeometry::sliceByPlane Method
Syntax
C++
virtual OdResult sliceByPlane(const OdGePlane& slicePlane, OdDbSurfacePtr& pNegHalfSurface, OdDbSurfacePtr& pNewSurface, bool bNotModifyItself) = 0;

Slices this ModelerGeometry object with the specified plane and sets the object to be the portion on the positive normal side plane. 

 

Parameters
Description
slicePlane
[in] Reference to a plane object to be used for slicing the ModelerGeometry object.
pNegHalfSurface
[out] Pointer to a new surface representing the negative side of the object that is sliced by the specified plane.
pNewSurface
[out] Pointer to a new surface representing the positive half of the object that is sliced by the specified plane.
bNotModifyItself
[in] Boolean flag.

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 and pNegHalfSurface are left unchanged, returns eNoIntersections.

Copyright © 2002-2022. Open Design Alliance All rights reserved.