CIRCLE PCR: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
MikeO (talk | contribs)
No edit summary
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Command|syntax=CIRCLE_PCR <circle number>, <point>, <circle>, <radius>, <option>
[[Geometry:Creating_Geometry|{{Up}}]]
|description=This command is used to create a circle where a given point lies on the circle and the given circle is just touching the new circle, the option is to determine which side the new circle is on.


|param1=<circle number>|param1_desc= The number of the circle (1 to 100) to be defined.This is a number used by the macro to create other geometry.
{{Command|syntax=[[Image:circle_pcr.png|right|CIRCLE_PCR]]CIRCLE_PCR <circle number>, <point>, <circle>, <radius>, <option>
|param2=<point>|param2_desc= This refers to a previously defined point (1 to 100), this should be given in the format P(Number).
|description=:Create a [[macro_circle|circle]] tangent to another circle, passing through a given point.
|param3=<circle>|param3_desc= This refers to a previously defined point (1 to 100), this should be given in the format C(number).
|param4=<radius>|param4_desc= The radius of a circle in either inches or mm (inches are default).
|param1=<circle number>|param1_desc= {{create circle number}}
|param5=<option>|param5_desc= A value of 1 or 2 for choosing different options when creating objects.
|param2=<point>|param2_desc= {{point}}
|param3=<circle>|param3_desc= {{circle}}
|param4=<radius>|param4_desc= {{circle_radius}}
|param5=<option>|param5_desc= {{1-2option}}
}}
}}


===Example===
===Example===
:- CIRCLE_PCR 3, 5, 1, 6, 2
:CIRCLE_PCR 2, 2, 1, 1, 1
 
:CIRCLE_PCR 3, 2, 1, 1, 2


[[Category:Geometry]]
[[Category:Geometry]]

Latest revision as of 19:00, 10 August 2010

Up

Command

CIRCLE_PCR
CIRCLE_PCR
CIRCLE_PCR <circle number>, <point>, <circle>, <radius>, <option>


Create a circle tangent to another circle, passing through a given point.

Parameters

<circle number>
The number of the circle to be created.
A number between 1 and 100.
<point>
The number of an existing point.
<circle>
The number of an existing circle.
<radius>
The circle radius
<option>
1 or 2, to select one of the 2 possible solutions.

Example

CIRCLE_PCR 2, 2, 1, 1, 1
CIRCLE_PCR 3, 2, 1, 1, 2