Segment

Constructs a segment.

Syntax

segment(Point, Point)
segment(Point, Vector)
segment(Triangle, Integer)
 Polygonal, Integer)
segment(Point)
segment(Vector)
segment(Line)

Description

Given two points ALaTeXA and B, constructs the segment AB¯.

calc.segment1.calc.png

Given a point ALaTeXA and a vector vLaTeXv, constructs the segment AB¯LaTeX\bar{AB}, where B=A+v.

calc.segment2.calc.png

Following the usual notation for a triangle: vertices A1, A2 and A3 and sides a1, a2 and a3; given an integer iLaTeXi, this function returns the segment ai.

calc.segment3.calc.png

Given a polygon or polygonal pLaTeXp and an integer iLaTeXi, returns the iLaTeXi-th side of pLaTeXp.

calc.segment4.calc.png

Given a point P, constructs the segment OP¯.

calc.segment5.calc.png

Given a vector vLaTeXv, constructs the segment OP¯LaTeX\bar{OP}, where P=O+v

calc.segment6.calc.png

Returns a segment that belongs to the given line.

calc.segment7.calc.png