skeinforge_tools.skeinforge_utilities.intercircle ($Date: 2008/21/04 $) | index /home/enrique/Desktop/backup/babbleold/script/reprap/pyRepRap/skeinforge_tools/skeinforge_utilities/intercircle.py

`Intercircle is a collection of utilities for intersecting circles, used to get smooth loops around a collection of points and inset & outset loops.`

Modules
`` |  |
__init__ | skeinforge_tools.skeinforge_utilities.euclidean | math |

Classes
`` |  | BoundingLoop CircleIntersection CircleNode
class BoundingLoop
`` | `A class to hold a bounding loop composed of a minimum complex, a maximum complex and an outset loop.`
| Methods defined here: __cmp__(self, other) `Get comparison in order to sort bounding loops in descending order of area.` __repr__(self) `Get the string representation of this bounding loop.` getFromLoop(self, loop) `Get the bounding loop from a path.` getOutsetBoundingLoop(self, outsetDistance) `Outset the bounding rectangle and loop by a distance.` isEntirelyInsideAnother(self, anotherBoundingLoop) `Determine if this bounding loop is entirely inside another bounding loop.` isOverlappingAnother(self, anotherBoundingLoop) `Determine if this bounding loop is intersecting another bounding loop.` isRectangleMissingAnother(self, anotherBoundingLoop) `Determine if the rectangle of this bounding loop is missing the rectangle of another bounding loop.`
class CircleIntersection
`` | `An intersection of two complex circles.`
| Methods defined here: __init__(self, circleNodeAhead, index, circleNodeBehind) __repr__(self) `Get the string representation of this CircleIntersection.` addToList(self, circleIntersectionPath) getAbsolutePosition(self) getCircleIntersectionAhead(self) getPositionRelativeToBehind(self) isWithinCircles(self, pixelTable, width)
class CircleNode
`` | `A complex node of complex circle intersections.`
| Methods defined here: __init__(self, circle, index, radius) __repr__(self) `Get the string representation of this CircleNode.` getWithinNodes(self, pixelTable, width)

Functions
`` |  | addCircleIntersectionLoop(circleIntersectionPathComplexes, circleIntersections) `Add a circle intersection loop.` addOperatingOrbits(boundaryLoops, pointComplex, skein, temperatureChangeTime, z) `Add the orbits before the operating layers.` addOrbits(loop, skein, temperatureChangeTime, z) `Add orbits with the extruder off.` addPointsFromSegment(pointComplexes, radius, pointBeginComplex, pointEndComplex, thresholdRatio=0.90000000000000002) `Add point complexes between the endpoints of a segment.` getCentersFromCircleNodes(circleNodesComplex) `Get the complex centers of the circle intersection loops from circle nodes.` getCentersFromIntersectionLoop(circleIntersectionLoopComplex) `Get the centers from the intersection loop.` getCentersFromIntersectionLoops(circleIntersectionLoopComplexes) `Get the centers from the intersection loops.` getCentersFromLoopDirection(isWiddershins, loop, radius) `Get the centers of the circle intersection loops which go around in the given direction.` getCircleIntersectionLoops(circleIntersections) `Get all the loops going through the circle intersections.` getCircleIntersectionsFromCircleNodes(circleNodesComplex) `Get all the circle intersections which exist between all the circle nodes.` getCircleNodesFromLoop(loop, radius) `Get the circle nodes from every point on a loop and between points.` getCircleNodesFromPoints(pointComplexes, radius) `Get the circle nodes from a path.` getInsetFromClockwiseLoop(loop, radius) `Get loop inset from clockwise loop, out from widdershins loop.` getInsetFromClockwiseTriple(aheadAbsoluteComplex, behindAbsoluteComplex, centerComplex, radius) `Get loop inset from clockwise triple, out from widdershins loop.` getInsetLoops(inset, loops) `Get the inset loops.` getIntersectionAtInset(aheadComplex, behindComplex, inset) `Get circle intersection loop at inset from segment.` getLoopsFromLoopsDirection(isWiddershins, loops) `Get the loops going round in a given direction.` getSimplifiedInsetFromClockwiseLoop(loop, radius) `Get loop inset from clockwise loop, out from widdershins loop.` getWithoutIntersections(loop) `Get loop without intersections.` isLoopIntersectingLoop(anotherLoop, loop) `Determine if the a loop is intersecting another loop.` removeIntersection(loop) `Get loop without the first intersection.`

Data
`` |  | __author__ = 'Enrique Perez (perez_enrique@yahoo.com)' __date__ = '$Date: 2008/21/04 $' __license__ = 'GPL 3.0' absolute_import = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384)

Author
`` |  | Enrique Perez (perez_enrique@yahoo.com)