Sindbad~EG File Manager

Current Path : /home/beeson/public_html/dynamicgeometry/org/dynamicgeometry/scripts/
Upload File :
Current File : //home/beeson/public_html/dynamicgeometry/org/dynamicgeometry/scripts/CopyAngleToSegmentScript.java

/**
 * Author: M. Beeson Geoscript for copying angle DCE to segment AB with the
 * vertex C corresponding to A and CE laid off on AB. Returns the new point F
 * corresponding to D, so angle FAB is congruent to angle DCE and the turn FAB
 * is in the same direction as DCE, i.e. the angles are congruent without
 * "flipping". This code is in the public domain.
 */

package org.dynamicgeometry.scripts;

public class CopyAngleToSegmentScript extends Scripts
{
	public CopyAngleToSegmentScript()
	{
		super("CopyAngleToSegment", "Point", new String[] {"A", "B", "D", "C",
				"E"}, new String[] {"Point", "Point"}, new String[] {
				"G = CopySegmentOntoLine(C,E,A,B);",
				"K = Circle(A,G);",
				"L = CircleFromCenterAndRadius(A,D,E);",
				"F = IntersectCircles1(K,L);",
				"return F;"});
	}
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists