Sindbad~EG File Manager
/**
* Author: M. Beeson Geoscript for bisecting segment AB. Returns the midpoint M
* This code is in the public domain.
*/
package org.dynamicgeometry.scripts;
public class BisectSegmentScript extends Scripts
{
public BisectSegmentScript()
{
super("BisectSegment", "Point", new String[] {"A", "B"}, new String[] {
"Point", "Point"}, new String[] {
"s = Segment(A,B);",
"D = EquilateralTriangle(A,B);",
"R = BisectAngle(A,D,B);",
"M = IntersectLines(D,R,A,B);",
"return M and s;"},
new String[]{ "Point", "Segment"}
);
}
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists