CIRCLE CP: 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 2 users not shown)
Line 1: Line 1:
{{Command|syntax=CIRCLE_CP <[[circle number]]>, <[[point]]>, <[[point]]>
[[Geometry:Creating_Geometry|{{Up}}]]
|description=This command is used to create a circle where 2 points lie on the circle, to define a radius of the circle, see [[CIRCLE_2P]].


|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_cp.png|right|CIRCLE_CP]]CIRCLE_CP <circle number>, <point 1>, <point 2>
|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]] from 2 points. The first being the center and the second lying on the circle.
|param3=<point>|param3_desc= This refers to a previously defined point (1 to 100), this should be given in the format P(Number).
 
|param1=<circle number>|param1_desc= {{create circle number}}
|param2=<point 1>|param2_desc= {{point}} (center point)
|param3=<point 2>|param3_desc= {{point}} (point on circle)
}}
}}


===Example===
===Example===
:- CIRCLE_CP 3, 6
:CIRCLE_CP 1, 1, 2


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

Latest revision as of 19:02, 10 August 2010

Up

Command

CIRCLE_CP
CIRCLE_CP
CIRCLE_CP <circle number>, <point 1>, <point 2>


Create a circle from 2 points. The first being the center and the second lying on the circle.

Parameters

<circle number>
The number of the circle to be created.
A number between 1 and 100.
<point 1>
The number of an existing point. (center point)
<point 2>
The number of an existing point. (point on circle)

Example

CIRCLE_CP 1, 1, 2