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[randpoint] - generate a random point in a given range, on a line, a plane, or a sphere
Calling Sequence
randpoint(w, x, y, z)
randpoint(w, obj, ...)
Parameters
w
-
the name of a random point
x
range
y
z
obj
line, plane, or sphere
Description
The routine geom3d[randpoint](w, x, y, z) returns a point with the x-coordinate, y-coordinate, and z-coordinate in the interval specified by x, y, and z respectively.
When the second argument is a line, a plane, or a sphere, geom3d[randpoint] returns a point on that geometric object.
If the object obj is a line, and the third optional argument which is a range is given, w is a point of the line segment such that the parameter in the parametric equation of the line lies in that range.
If the object obj is a sphere, and the optional third, fourth arguments which are ranges are given, w is in general the point with the x-coordinate and y-coordinate restricted inside these ranges.
Examples
See Also
geom3d[objects]
Download Help Document