File: //usr/share/inkscape/extensions/rtree.pyo
�
��Yc @ s� d Z d d l Z d d l Z d d l Z d d l Z d d l m Z e d � Z d e j f d � � YZ
e d k r� e
� Z e j
� n d S( s
Copyright (C) 2005 Aaron Spike, aaron@ekips.org
Copyright (C) 2015 su_v, suv-sf@users.sf.net
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
i����N( t computePointInNodec C s� | | k r d S| j | � t j d d � } | j | � t | | t j d d � | | � | j | � t j d d � } | j | � t | | t j d d � | | � | j | � | r� | j � n | j | � | r� | j � n d S( Ni i( g �?g�������?( t fdt randomt uniformt ltt rtreet rtt put bkt pd( t turtlet sizet mint ptt turn( ( s'