Difference between revisions of "IntersectPath Command"

From GeoGebra Manual
Jump to: navigation, search
m (typo)
Line 3: Line 3:
 
;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=<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[ <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=<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[ <Plane>, <Polygon> ]
 
;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[ <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 quadrik ''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 11:14, 17 September 2014



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