1 ! Copyright (C) 2008 Jeff Bigot.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: arrays help.markup help.syntax kernel sequences ;
8 { "array" "array" } { "name" "name" }
11 { $description "array : xmin xmax ymin ymax zmin zmax"
12 "\n returns a 3D solid with given limits"
17 { "array" "array" } { "name" "name" }
20 { $description "array : xmin xmax ymin ymax zmin zmax wmin wmax"
21 "\n returns a 4D solid with given limits"
27 { "x" null } { "array" array }
34 { "x" null } { "array" array }
39 HELP: equation-system-for-normal
41 { "points" "a list of n points" }
44 { $description "From a list of points, return the matrix"
45 "to solve in order to find the vector normal to the plan defined by the points" }
50 { "points" "a list of n points" }
53 { $description "From a list of points, returns the vector normal to the plan defined by the points"
54 "\nWith n points, creates n-1 vectors and then find a vector orthogonal to every others"
55 "\n returns { f } if a normal vector can not be found" }
58 HELP: points-to-hyperplane
60 { "points" "a list of n points" }
61 { "hyperplane" "an hyperplane equation" }
63 { $description "From a list of points, returns the equation of the hyperplan"
64 "\n Finds a normal vector and then translate it so that it includes one of the points"
69 ARTICLE: "adsoda.tools" "adsoda.tools"
70 { $vocab-link "adsoda.tools" }
71 "\nTools to help in building an " { $vocab-link "adsoda" } "-space"