MCPcopy
hub / github.com/3b1b/manim / shift

Method shift

manimlib/mobject/mobject.py:915–921  ·  view source on GitHub ↗
(self, vector: Vect3)

Source from the content-addressed store, hash-verified

913 # Transforming operations
914
915 def shift(self, vector: Vect3) -> Self:
916 self.apply_points_function(
917 lambda points: points + vector,
918 about_edge=None,
919 works_on_bounding_box=True,
920 )
921 return self
922
923 def scale(
924 self,

Callers 15

centerMethod · 0.95
align_on_borderMethod · 0.95
next_toMethod · 0.95
set_coordMethod · 0.95
move_toMethod · 0.95
replaceMethod · 0.95
put_start_and_end_onMethod · 0.95
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
nudge_selectionMethod · 0.80

Calls 1

apply_points_functionMethod · 0.95

Tested by

no test coverage detected