Exemple #1
0
def newLineByFilteringPolar2(self, f):
	"""Filters this line in polar space.
		
	Applies a function 'f' that filters PolarMove objects to this line. This can be useful to manipulate a line in local polar space, applying cumulative curves to the positions and control points of the line.
	"""

	pf = PolarFilter(self)
	return pf.visitPolar(__pv2(f))
Exemple #2
0
	def visitPolar(self, f):
		"""
		Filters this line in polar space.
		
		Applies a function 'f' that filters PolarMove objects to this line. This can be useful to manipulate a line in local polar space, applying cumulative curves to the positions and control points of the line.
		"""
		pf = PolarFilter(self)
		result = pf.visitPolar(__pv2(f))
		self.__dict__["line"] = self.maybeFix(result)
		return self
Exemple #3
0
    def visitPolar(self, f):
        """
		Filters this line in polar space.
		
		Applies a function 'f' that filters PolarMove objects to this line. This can be useful to manipulate a line in local polar space, applying cumulative curves to the positions and control points of the line.
		"""
        pf = PolarFilter(self)
        result = pf.visitPolar(__pv2(f))
        self.__dict__["line"] = self.maybeFix(result)
        return self