Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
geom3d[segment] - define a segment
geom3d[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 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., segment3d if seg is a line segment, and dsegment3d 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(geom3d,segment) allows the use of the abbreviated form of this command.
Examples
define two points A(0,0,0) and B(1,1,1)
define the segment AB
See Also
geom3d[midpoint]
Download Help Document