Class links.Point3d
Point3d
Defined in: graph3d.js.
Constructor Attributes | Constructor Name and Description |
---|---|
links.Point3d(x, y, z)
|
Method Attributes | Method Name and Description |
---|---|
<static> |
links.Point3d.add(a, b)
Add the two provided points, returns a+b
|
<static> |
links.Point3d.crossProduct(a, b)
Calculate the cross producto of the two provided points, returns axb
Documentation: http://en.wikipedia.org/wiki/Cross_product
|
length()
Rtrieve the length of the vector (or the distance from this point to the origin
|
|
<static> |
links.Point3d.subtract(a, b)
Subtract the two provided points, returns a-b
|
Method Detail
<static>
{Point3d}
links.Point3d.add(a, b)
Add the two provided points, returns a+b
- Parameters:
- {Point3d} a
- {Point3d} b
- Returns:
- {Point3d} a+b
<static>
{Point3d}
links.Point3d.crossProduct(a, b)
Calculate the cross producto of the two provided points, returns axb
Documentation: http://en.wikipedia.org/wiki/Cross_product
- Parameters:
- {Point3d} a
- {Point3d} b
- Returns:
- {Point3d} cross product axb
{number}
length()
Rtrieve the length of the vector (or the distance from this point to the origin
- Returns:
- {number} length
<static>
{Point3d}
links.Point3d.subtract(a, b)
Subtract the two provided points, returns a-b
- Parameters:
- {Point3d} a
- {Point3d} b
- Returns:
- {Point3d} a-b