PyANGKernel.GKPolylineCutCmd

class GKPolylineCutCmd

Inheritance diagram of PyANGKernel.GKPolylineCutCmd

Inherited by: GKBezierCurveCutCmd, GKSectionCutCmd

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

With this command you can split a polyline in two, given a line segment defined by two points.

__init__()
getLeftPoly()
Return type:

GKPolyline

It will return the resulting polyline from the beginning of the original polyline to the cut point

getRightPoly()
Return type:

GKPolyline

It will return the resulting polyline from the cut point to the end of the original polyline

setCut(p)
Parameters:

pGKPoint

Sets the cutting point for the polyline