Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
geometry[segment] - define a segment
geometry[dsegment] - define a directed segment
Calling Sequence
segment(seg, [P1, P2])
segment(seg, P1, P2)
dsegment(seg, [P1, P2])
dsegment(seg, P1, P2)
Parameters
seg
-
the name of the segment (or directed segment)
P1, P2
two points
Description
A convex combination of two distinct points and is any point such that for some a in the range , we have and .
Given two distinct points P1 and P2, the line segment P1P2 is the set of convex combinations of P1 and P2. We call P1 and P2 the endpoints of segment P1P2.
Sometimes the ordering of P1 and P2 matters, and we speak of directed segment P1P2.
A line segment seg is defined by the two end points P1 and P2. Its two endpoints are P1 and P2.
A directed segment seg is defined by the two end points P1 and P2. The tail is P1 and the head P2.
To access the information relating to a segment (or directed segment) seg, use the following function calls:
form(seg)
returns the form of the geometric object
(i.e., segment2d if seg is a line segment, and dsegment2d if
seg is a directed segment.
DefinedAs(seg)
returns a list of two end points of seg if
seg is a segment, and a list of the tail and head of seg
if seg is a directed segment.
The command with(geometry,segment) allows the use of the abbreviated form of this command.
The command with(geometry,dsegment) allows the use of the abbreviated form of this command.
Examples
define two points A(0,0) and B(1,1)
define the segment AB
See Also
geometry[coordinates], geometry[DefinedAs], geometry[form], geometry[point]
Download Help Document