Cevian

Qualified name: manimextra.geometry.Cevian

class manimextra.geometry.Cevian(A, B, C, alpha=0.35, **kwargs)

Bases: Line

A class to represent a cevian in a triangle.

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

  • B (Point3DLike) – The second vertex of the triangle. Cevian passes through this point.

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

  • alpha (float, optional) – The proportion of the cevian, by default 0.35. Let D be the foot of the cevian, then the proportion is the AD:AC ratio.

Methods

get_foot

get_proportion

get_vertex

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, alpha=0.35, **kwargs)

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