Geom.infplane()
Description
Creates a plane.
Syntax
JSGeom.infplane(pos: Point3 = Geom.point(0,0,0), dir: Vector3 = Geom.vector3(0,0,1)) -> Shape
 
Parameters
| Parameter | Type | Description | 
| pos | Point3 | Position of the plane (point belonging to the plane). | 
| dir | Vector3 | Direction vector, perpendicular to the plane. | 
Return value
| Type | Description | 
| Shape | Object of type Shape, a plane. | 
Example
| JS | 
|---|
|  | let s = Geom.infplane(Geom.point(0, 0, 0), Geom.vector3(0, 0, 1));
console.info(s);
 |