Segment - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

 Segment

 Calling Sequence Segment(pt1, pt2)

Parameters

 pt1, pt2 - list or rtable containing two values or GridPoint object

Options

 • directed : indicates directed segment; default is false

Description

 • The Segment constructor generates and returns an object that represents a segment in two-dimensional space.
 • If the directed=true option is provided, this means that the segment is directed and grading takes into account the order of the points.

Examples

 > $\mathrm{with}\left(\mathrm{Grading}\right)$
 $\left[{\mathrm{AbsoluteValueFunction}}{,}{\mathrm{DiffFeedback}}{,}{\mathrm{DiffPractice}}{,}{\mathrm{Draw}}{,}{\mathrm{ExponentialFunction}}{,}{\mathrm{FactorFeedback}}{,}{\mathrm{FactorPractice}}{,}{\mathrm{Feedback}}{,}{\mathrm{GetData}}{,}{\mathrm{GetDomain}}{,}{\mathrm{GetExpression}}{,}{\mathrm{GradePlot}}{,}{\mathrm{GridPoint}}{,}{\mathrm{Inequalities}}{,}{\mathrm{IntFeedback}}{,}{\mathrm{IntPractice}}{,}{\mathrm{IsQuadraticFormula}}{,}{\mathrm{LimitFeedback}}{,}{\mathrm{LimitPractice}}{,}{\mathrm{LinearFunction}}{,}{\mathrm{LogarithmicFunction}}{,}{\mathrm{QuadraticFunction}}{,}{\mathrm{Quiz}}{,}{\mathrm{QuizBuilder}}{,}{\mathrm{Segment}}{,}{\mathrm{SimplifyFeedback}}{,}{\mathrm{SimplifyPractice}}{,}{\mathrm{SolveFeedback}}{,}{\mathrm{SolvePractice}}\right]$ (1)
 > $\mathrm{Segment}\left(\left[3.5,-2.0\right],\left[8.2,4.6\right]\right)$
 ${\mathrm{<< Segment: \left[\left[3.5, -2.0\right], \left[8.2, 4.6\right]\right]>>}}$ (2)

Compatibility

 • The Grading:-Segment command was introduced in Maple 18.
 • For more information on Maple 18 changes, see Updates in Maple 18.