package geoml
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Triangles manipulation
tri_map f t applies function f in turn to all the points of t and stores the results in a new triangle that is returned.
builds a triangle from three different points. raises Invalid_arg if at least two points are equal
returns a vertice of the triangle. The vertice returned is different than the one returned by extr2 and extr3.
returns a vertice of the triangle. The vertice returned is different than the one returned by extr1 and extr3.
returns a vertice of the triangle. The vertice returned is different than the one returned by extr1 and extr2.
val area : t -> float
val perimeter : t -> float
val proj_x : t -> float * float
val proj_y : t -> float * float
val is_isoscele : t -> bool
val is_equilateral : t -> bool
val is_right : t -> bool
val angles : t -> float * float * float
val random_point : Random.State.t -> t -> Point.t
returns a randomly and uniformly chosen point of the triangle
val print : Format.formatter -> t -> unit
printer
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>