dojox/gfx3d/_base.vector (version 1.10)

See the dojox/gfx3d/_base.vector reference documentation for more information.

Method Summary

  • _crossProduct(x,y,z,u,v,w) applies a cross product of two vectors, (x, y, z) and (u, v, w)
  • _dotProduct(x,y,z,u,v,w) applies a cross product of two vectors, (x, y, z) and (u, v, w)
  • center() center of the vectors
  • crossProduct(a,b,c,d,e,f) applies a matrix to a point
  • dotProduct(a,b,c,d,e,f) applies a matrix to a point
  • normalize(a,b,c) find the normal of the implicit surface
  • substract(a,b)
  • sum() sum of the vectors

Methods

_crossProduct(x,y,z,u,v,w)
Defined by dojox/gfx3d/vector

applies a cross product of two vectors, (x, y, z) and (u, v, w)

Parameter Type Description
x Number

x coordinate of first vector

y Number

y coordinate of first vector

z Number

z coordinate of first vector

u Number

x coordinate of second vector

v Number

y coordinate of second vector

w Number

z coordinate of second vector

Returns:object
_dotProduct(x,y,z,u,v,w)
Defined by dojox/gfx3d/vector

applies a cross product of two vectors, (x, y, z) and (u, v, w)

Parameter Type Description
x Number

x coordinate of first point

y Number

y coordinate of first point

z Number

z coordinate of first point

u Number

x coordinate of second point

v Number

y coordinate of second point

w Number

z coordinate of second point

Returns:number
center()
Defined by dojox/gfx3d/vector

center of the vectors

Returns:object
crossProduct(a,b,c,d,e,f)
Defined by dojox/gfx3d/vector

applies a matrix to a point

Parameter Type Description
a Number | Point

x coordinate of first point, or the whole first point

b Number | Point

y coordinate of first point, or the whole second point

c Number

z coordinate of first point

d Number

x coordinate of second point

e Number

y coordinate of second point

f Number

z coordinate of second point

Returns:undefined
dotProduct(a,b,c,d,e,f)
Defined by dojox/gfx3d/vector

applies a matrix to a point

Parameter Type Description
a Number | Point

x coordinate of first point, or the whole first Point

b Number | Point

y coordinate of first Point, or the whole second Point

c Number
Optional

z coordinate of first point

d Number
Optional

x coordinate of second point

e Number
Optional

y coordinate of second point

f Number
Optional

z coordinate of second point

Returns:undefined
normalize(a,b,c)
Defined by dojox/gfx3d/vector

find the normal of the implicit surface

Parameter Type Description
a Object

a point

b Object

a point

c Object

a point

Returns:undefined
substract(a,b)
Defined by dojox/gfx3d/vector
Parameter Type Description
a Pointer
b Pointer
Returns:object
sum()
Defined by dojox/gfx3d/vector

sum of the vectors

Returns:object
Error in the documentation? Can’t find what you are looking for? Let us know!