Difference between revisions of "IntersectPath Command"
From GeoGebra Manual
m |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
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=<div><code><nowiki>IntersectPath[ a, triangle ]</nowiki></code> creates a segment between the first and second intersection point of line ''a'' and polygon ''triangle''.</div>}} | :{{example| 1=<div><code><nowiki>IntersectPath[ a, triangle ]</nowiki></code> creates a segment between the first and second intersection point of line ''a'' and polygon ''triangle''.</div>}} | ||
− | ;IntersectPath | + | ;IntersectPath( <Polygon>, <Polygon> ) |
:Creates the intersection polygon between two given polygons. | :Creates the intersection polygon between two given polygons. | ||
:{{example| 1=<div><code><nowiki>IntersectPath[ quadrilateral, triangle ]</nowiki></code> creates a new polygon as intersection of the two given polygons.</div>{{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.}}}} | :{{example| 1=<div><code><nowiki>IntersectPath[ quadrilateral, triangle ]</nowiki></code> creates a new polygon as intersection of the two given polygons.</div>{{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 | + | ;IntersectPath( <Plane>, <Polygon> ) |
:Creates the intersection path between plane and polygon. | :Creates the intersection path between plane and polygon. | ||
:{{example| 1=<div><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.</div>}} | :{{example| 1=<div><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.</div>}} | ||
− | ;IntersectPath | + | ;IntersectPath( <Plane>, <Quadric> ) |
:Creates the intersection path between plane and quadric. | :Creates the intersection path between plane and quadric. | ||
:{{example| 1=<div><code><nowiki>IntersectPath[ a, sphere ]</nowiki></code> creates a circle as intersection between plane ''a'' and quadric ''sphere''.</div>}} | :{{example| 1=<div><code><nowiki>IntersectPath[ a, sphere ]</nowiki></code> creates a circle as intersection between plane ''a'' and quadric ''sphere''.</div>}} | ||
{{Note| See also [[Intersect Command|Intersect]] and [[IntersectConic Command|IntersectConic]] commands.}} | {{Note| See also [[Intersect Command|Intersect]] and [[IntersectConic Command|IntersectConic]] commands.}} |
Revision as of 17:17, 7 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.