Skip to main content

Segment

Constructs a segment.

Syntax

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

Description

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

calc.segment1.calc.png
calc.segment1.plotter0.calc.png

Given a point AA and a vector vv, constructs the segment AB¯\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 ii, this function returns the segment ai.

calc.segment3.calc.png
calc.segment3.plotter0.calc.png

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

calc.segment4.calc.png

Given a point P, constructs the segment OP¯.

calc.segment5.calc.png

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

calc.segment6.calc.png

Returns a segment that belongs to the given line.

calc.segment7.calc.png
calc.segment7.plotter0.calc.png