Difference between revisions of "IntersectPath Command"
From GeoGebra Manual
m |
(command syntax: changed [ ] into ( )) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command| geometry}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command| geometry}} | ||
− | ;IntersectPath | + | ;IntersectPath( <Line>, <Polygon> ) |
:Creates the intersection path between line and polygon. | :Creates the intersection path between line and polygon. | ||
− | :{{example| 1= | + | :{{example| 1=<code><nowiki>IntersectPath(a, triangle)</nowiki></code> creates a segment between the first and second intersection point of line ''a'' and polygon ''triangle''.}} |
− | ;IntersectPath | + | ;IntersectPath( <Polygon>, <Polygon> ) |
:Creates the intersection polygon between two given polygons. | :Creates the intersection polygon between two given polygons. | ||
− | :{{example| 1= | + | :{{example| 1=<code><nowiki>IntersectPath(quadrilateral, triangle)</nowiki></code> creates a new polygon as intersection of the two given polygons. |
− | ;IntersectPath | + | {{Note| The new polygon can either be a quadrilateral, a pentagon or a hexagon. This depends on the position of the vertices of the given polygons.}}}} |
+ | ;IntersectPath( <Plane>, <Polygon> ) | ||
:Creates the intersection path between plane and polygon. | :Creates the intersection path between plane and polygon. | ||
− | :{{example| 1= | + | :{{example| 1=<code><nowiki>IntersectPath(a, triangle)</nowiki></code> creates a segment between the first and second intersection point of plane ''a'' and polygon ''triangle'' in the plane of the polygon.}} |
− | ;IntersectPath | + | ;IntersectPath( <Plane>, <Quadric> ) |
:Creates the intersection path between plane and quadric. | :Creates the intersection path between plane and quadric. | ||
− | :{{example| 1= | + | :{{example| 1=<code><nowiki>IntersectPath(a, sphere)</nowiki></code> creates a circle as intersection between plane ''a'' and quadric ''sphere''.}} |
{{Note| See also [[Intersect Command|Intersect]] and [[IntersectConic Command|IntersectConic]] commands.}} | {{Note| See also [[Intersect Command|Intersect]] and [[IntersectConic Command|IntersectConic]] commands.}} |
Latest revision as of 10:22, 11 October 2017
- IntersectPath( <Line>, <Polygon> )
- Creates the intersection path between line and polygon.
- Example:
IntersectPath(a, triangle)
creates a segment between the first and second intersection point of line a and polygon triangle.
- IntersectPath( <Polygon>, <Polygon> )
- Creates the intersection polygon between two given polygons.
- Example:
IntersectPath(quadrilateral, triangle)
creates a new polygon as intersection of the two given polygons.
Note: The new polygon can either be a quadrilateral, a pentagon or a hexagon. This depends on the position of the vertices of the given polygons.
- IntersectPath( <Plane>, <Polygon> )
- Creates the intersection path between plane and polygon.
- Example:
IntersectPath(a, triangle)
creates a segment between the first and second intersection point of plane a and polygon triangle in the plane of the polygon.
- IntersectPath( <Plane>, <Quadric> )
- Creates the intersection path between plane and quadric.
- Example:
IntersectPath(a, sphere)
creates a circle as intersection between plane a and quadric sphere.
Note: See also Intersect and IntersectConic commands.