new Plane()
Plane
This:
- Source:
- /var/www/html/software/raphael3d/raphael3d.src.js, line 3180
Properties:
Name | Type | Description |
---|---|---|
normal |
Raphael3d.Vector3 | normal of the plane |
d |
number | d in equantion normal.x*x+normal.y*y+normal.z*z+d=0 |
Methods
-
<static> create() → {Raphael3d.Geom.Plane}
-
Creates new Plane object
- Source:
- /var/www/html/software/raphael3d/raphael3d.src.js, line 3188
Returns:
new plane object- Type
- Raphael3d.Geom.Plane
-
<static> FromFace(face) → {Raphael3d.Geom.Plane}
-
Returns new Face object according to given face
Parameters:
Name Type Description face
Raphael3d.Face given face - Source:
- /var/www/html/software/raphael3d/raphael3d.src.js, line 3255
Returns:
new Plane object- Type
- Raphael3d.Geom.Plane
-
<static> FromThreePoints(p1, p2, p3) → {Raphael3d.Geom.Plane}
-
Returns new Plane object according to given points
Parameters:
Name Type Description p1
Raphael3d.Vector3 | Raphael3d.Vertex 1st point p2
Raphael3d.Vector3 | Raphael3d.Vertex 2nd point p3
Raphael3d.Vector3 | Raphael3d.Vertex 3rd point - Source:
- /var/www/html/software/raphael3d/raphael3d.src.js, line 3247
Returns:
new plane object- Type
- Raphael3d.Geom.Plane
-
computeIntersectionWithLine(line) → {Raphael3d.Vector3|null}
-
Computes intersection woth given line
Parameters:
Name Type Description line
Raphael3d.Geom.Line given line - Source:
- /var/www/html/software/raphael3d/raphael3d.src.js, line 3221
Returns:
intersection- Type
- Raphael3d.Vector3 | null
-
containsPoint(pt) → {boolean}
-
Chenks if receiver contains given point
Parameters:
Name Type Description pt
Raphael3d.Vector3 | Raphael3d.Vertex - Source:
- /var/www/html/software/raphael3d/raphael3d.src.js, line 3196
Returns:
- Type
- boolean
-
fromFace(face) → {Raphael3d.Geom.Plane}
-
Sets receiver attributes according to given face
Parameters:
Name Type Description face
Raphael3d.Face given face - Source:
- /var/www/html/software/raphael3d/raphael3d.src.js, line 3235
Returns:
receiver- Type
- Raphael3d.Geom.Plane
-
fromThreePoints(p1, p2, p3) → {Raphael3d.Geom.Plane}
-
Sets receiver attributes according to given points
Parameters:
Name Type Description p1
Raphael3d.Vector3 | Raphael3d.Vertex 1st point p2
Raphael3d.Vector3 | Raphael3d.Vertex 2nd point p3
Raphael3d.Vector3 | Raphael3d.Vertex 3rd point - Source:
- /var/www/html/software/raphael3d/raphael3d.src.js, line 3207
Returns:
receiver- Type
- Raphael3d.Geom.Plane
-
isEqualTo(plane) → {boolean}
-
Checks equality of receiver with given plane
Parameters:
Name Type Description plane
Raphael3d.Geom.Plane given plane - Source:
- /var/www/html/software/raphael3d/raphael3d.src.js, line 3264
Returns:
- Type
- boolean