API Reference > OdGe Classes > OdGeClipBoundary2d Class > OdGeClipBoundary2d Methods > OdGeClipBoundary2d::clipPolyline Method
OdGeClipBoundary2d::clipPolyline Method
Syntax
C++
OdGe::ClipError clipPolyline(const OdGePoint2dArray& rawVertices, OdGePoint2dArray& clippedVertices, OdGe::ClipCondition& clipCondition, OdGeIntArray* pClippedSegmentSourceLabel = NULL) const;
Parameters 
Description 
const OdGePoint2dArray& rawVertices 
[in] Array of 2D points that define the input polyline. Self-intersecting and winding polylines are allowed.  
OdGePoint2dArray& clippedVertices 
[out] Receives an array of 2D points that define the clipped resulting polyline.  
OdGe::ClipCondition& clipCondition 
[out] Receives the information about the spatial relationship between the clip boundary and the input clipped polyline.  
OdGeIntArray* pClippedSegmentSourceLabel = NULL 
[in] Optional segment label information identifying the source of each segment in the clipped polyline. 

eOk if clipped successfully, or an appropriate error code otherwise.

Clips a polyline, creating a second polyline. Currently not implemented. 

 

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