manim/tests/control_data/graphical_units_data/geometry
friedkeenan fb085d4693
Added :class:~.Polygram, rework the polygon inheritance tree, and add :class:~.Star (#1490)
* Add Polygram, reorder Polygon inheritance around it, add Star

* Add tests

* Spiff up tests and docs

* Avoid spaces allowing a newline in the middle of example coordinate

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix doctest

* Change Polygram.round_corners example

* Change StarExample to show how stars overlap with their regular polygram equivalent

* Apply suggestions from code review

Co-authored-by: Anton Ballmaier <aballmaier@posteo.de>

* Apply docs suggestions

* Change round_corners example to use a star

* Allow any iterable to be passed to Polygram

* Fix tests by converting all vertices to numpy arrays

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Anton Ballmaier <aballmaier@posteo.de>
2021-05-19 20:28:20 -05:00
..
AngleTest.npz Added new classes Angle, RightAngle for two intersecting lines (#1085) 2021-03-16 10:58:22 +01:00
AnnotationDotTest.npz convert test data to compressed format 2020-10-30 11:26:49 +01:00
AnnularSectorTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
AnnulusTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
ArcBetweenPointsTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
ArcTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
ArrangeTest.npz Better creation Example in docs & buff parameter in arrange (#825) 2020-12-05 17:48:05 +01:00
CircleTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
CoordinatesTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
CurvedArrowTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
CustomDoubleArrowTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
DotTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
DoubleArrowTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
ElbowTest.npz Run proofreading over the whole library (#890) 2021-01-01 17:59:12 +01:00
EllipseTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
LineTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
PolygonTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
PolygramTest.npz Added :class:~.Polygram, rework the polygon inheritance tree, and add :class:~.Star (#1490) 2021-05-19 20:28:20 -05:00
RectangleTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
RegularPolygramTest.npz Added :class:~.Polygram, rework the polygon inheritance tree, and add :class:~.Star (#1490) 2021-05-19 20:28:20 -05:00
RightAngleTest.npz Added new classes Angle, RightAngle for two intersecting lines (#1085) 2021-03-16 10:58:22 +01:00
RoundedRectangleTest.npz Set corners of :class:~.Rectangle in counterclockwise direction (#1249) 2021-04-06 12:27:55 +02:00
SectorTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
StarTest.npz Added :class:~.Polygram, rework the polygon inheritance tree, and add :class:~.Star (#1490) 2021-05-19 20:28:20 -05:00
VectorTest.npz Switch to compressed numpy arrays for test control data (#623) 2020-10-26 21:36:13 +01:00
ZIndexTest.npz Properly respect submobjects when sorting by z_index (#872) 2020-12-22 13:36:06 +01:00