Bisector

Qualified name: manimextra.geometry.Bisector

class manimextra.geometry.Bisector(A, B, C, **kwargs)

Bases: Cevian

A class to represent a bisector in a triangle.

Parameters:
  • A (Point3DLike) – The first vertex of the triangle.

  • B (Point3DLike) – The second vertex of the triangle.

  • C (Point3DLike) – The third vertex of the triangle.

Examples

Example: BisectorExample

../_images/BisectorExample-1.png
from manim import *
from manimextra import *

class BisectorExample(Scene):
    def construct(self):
        A = Dot(2 * DOWN + 4 * LEFT).set_z_index(1)
        B = Dot(2 * UP + 2.5 * LEFT).set_z_index(1)
        C = Dot(2 * DOWN + 4 * RIGHT)

        a = Line(B, C, color=BLUE)
        b = Line(A, C, color=BLUE)
        c = Line(A, B, color=BLUE)

        bisector = Bisector(A, B, C, color=YELLOW)
        angles = bisector.get_bisected_angles()
        self.add(A, B, C, a, b, c, bisector, angles)

Methods

get_bisected_angles

Attributes

animate

Used to animate the application of any method of self.

animation_overrides

color

depth

The depth of the mobject.

fill_color

If there are multiple colors (for gradient) this returns the first one

height

The height of the mobject.

n_points_per_curve

sheen_factor

stroke_color

width

The width of the mobject.

_original__init__(A, B, C, **kwargs)

Initialize self. See help(type(self)) for accurate signature.