Difference between revisions of "IntersectPath Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "" to "")
(command syntax: changed [ ] into ( ))
 
(2 intermediate revisions by 2 users 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( <Line>, <Polygon> )
;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=<code><nowiki>IntersectPath(a, triangle)</nowiki></code> creates a segment between the first and second intersection point of line ''a'' and polygon ''triangle''.}}
;IntersectPath[ <Polygon>, <Polygon> ]
+
;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=<code><nowiki>IntersectPath(quadrilateral, triangle)</nowiki></code> creates a new polygon as intersection of the two given polygons.
;IntersectPath[ <Plane>, <Polygon> ]
+
{{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=<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=<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[ <Plane>, <Quadric> ]
+
;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=<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.
© 2024 International GeoGebra Institute