Aimsun Next Scripting
24.0
|
Public Member Functions | |
GKSectionCutCmd () | |
bool | init (GKGeoObject *aobject, const GKPoint &from, const GKPoint &to, bool keepConnection) |
![]() | |
GKBezierCurveCutCmd () | |
void | setCut (const GKPoint &pCurve, const GKPoint &pPolyline, uint s) |
bool | init (GKGeoObject *aobject, const GKPoint &from, const GKPoint &to, bool keepConnection) |
![]() | |
GKPolylineCutCmd () | |
void | setCut (const GKPoint &p) |
bool | init (GKGeoObject *aobject, const GKPoint &from, const GKPoint &to, bool keepConnection) |
GKPolyline * | getLeftPoly () const |
GKPolyline * | getRightPoly () const |
![]() | |
GKGeoObjectCutCmd () | |
virtual bool | init (GKGeoObject *, const GKPoint &, const GKPoint &, bool)=0 |
bool | isDone () const |
virtual void | setDone (bool avalue) |
void | doit () |
void | undoit () |
virtual void | commandToBeDone () |
virtual void | commandDone () |
virtual void | commandToBeUndone () |
virtual void | commandUndone () |
This class will cut a section in two taking care of:
GKSectionCutCmd::GKSectionCutCmd | ( | ) |
|
virtual |
Init the cmd, it return true if the object can be cutted and false otherwise (maybe the object is locked?). This functions receives the object to be cutted and the segment uses to cut the object.
If keepConnection the cutted object will try to keep both parts connected (using a connector) if possible.
Reimplemented from GKBezierCurveCutCmd.