PyMacroKernelPlugin.CMacroConnection

class CMacroConnection

The connection representation of a GKCenConnection in the macro model

Inheritance diagram of PyMacroKernelPlugin.CMacroConnection

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

__init__(_connector, _connection)
Parameters:
  • _connectorGKCenConnection

  • _connectionGKModelConnection

getCostFunction()
Return type:

GKFunctionCost

Get the cost function

getLength()
Return type:

float

Get the length of the connection in meters

length2D()
Return type:

float

Get the length of the connection in meters

length3D()
Return type:

float

Get the length of the connection in meters