Skip To Content

SimplifyGraphSettings

Fit curves to streets settings.

@example:
# Settings class specifying parameters for fitting curves to straight street segments
segments = ce.getObjectsFrom(ce.scene, ce.isGraphSegment)
settings = SimplifyGraphSettings()
settings.setThresholdAngle(10)
ce.simplifyGraph(segments, settings)

 

Methods defined here:

getThresholdAngle

getThresholdAngle(self):

Gets ThresholdAngle field. Angle in degrees. Streets with a higher angle than this form boundaries between fitted curves.

@return: Value of ThresholdAngle field.  [float]

setThresholdAngle

setThresholdAngle(self, floatValue):

Sets ThresholdAngle field. Angle in degrees. Streets with a higher angle than this form boundaries between fitted curves.

@param floatValue: the new value. [float]