Link Search Menu Expand Document

Ellipse

ellipse.ts#L14

Class Ellipse

Implements GeoShape

constructor (c: Point, a: number, b: number): Ellipse

Name Type Default Description
c Point    
a number    
b number    

readonly Property .a : number

readonly Property .b : number

readonly Property .c : Point

readonly Property .f1 : Point

readonly Property .f2 : Point

readonly Property .type

Default value: 'ellipse'

Method .at (t: number): Point

Name Type Default Description
t number    

Method .contains (_p: Point): boolean

Name Type Default Description
_p Point    

Method .equals (): boolean

Method .intersect (line: Line): Array<Point>

Intersection between an ellipse and a line.

Name Type Default Description
line Line    

Method .normalAt (p: Point): Line

Name Type Default Description
p Point    

Method .project (p: Point): Point

Name Type Default Description
p Point    

Method .reflect (_l: Line): Ellipse

Name Type Default Description
_l Line    

Method .rotate (_a: number, _c: Point): Ellipse

Name Type Default Description
_a number    
_c Point  

Method .scale (_sx: number, _sy: number): Ellipse

Name Type Default Description
_sx number    
_sy number  

Method .shift (_x: number, _y: number): Ellipse

Name Type Default Description
_x number    
_y number  

Method .transform (_m: TransformMatrix): Ellipse

Name Type Default Description
_m TransformMatrix    

Method .translate (_p: Point): Ellipse

Name Type Default Description
_p Point    

static Method .fromFoci (f1: Point, f2: Point, stringLength: number): Ellipse

Creates a new Ellipse. StringLength is the length of string from one foci to a point on the circumference, to the other foci.

Name Type Default Description
f1 Point    
f2 Point    
stringLength number    

Copyright © 2021 Mathigon.org