public class SbVec4s extends SbBasic
See also:
SbRotation
, SbRotationd
, SbVec2d
, SbVec2f
, SbVec2i32
, SbVec2s
, SbVec3d
, SbVec3f
, SbVec3i32
, SbVec3s
, SbVec4b
, SbVec4d
, SbVec4f
, SbVec4i32
, SbVec4ub
, SbVec4ui32
, SbVec4us
Modifier and Type | Field and Description |
---|---|
short[] |
array |
Constructor and Description |
---|
SbVec4s() |
SbVec4s(SbVec4s copyFrom) |
SbVec4s(short[] components) |
SbVec4s(short c0,
short c1,
short c2,
short c3) |
Modifier and Type | Method and Description |
---|---|
void |
add(SbVec4s u)
Component-wise vector addition operator.
|
void |
divide(double d)
Component-wise scalar division operator.
|
void |
divide(int d)
Component-wise scalar division operator.
|
int |
dot(SbVec4s v)
Returns dot (inner) product of vector and another vector.
|
boolean |
equals(java.lang.Object obj) |
short[] |
getValue() |
short |
getValueAt(int index) |
short |
getW() |
short |
getX() |
short |
getY() |
short |
getZ() |
SbVec4s |
minus(SbVec4s v2)
Component-wise binary vector subtraction operator.
|
void |
multiply(double d)
Component-wise scalar multiplication operator.
|
void |
multiply(int d)
Component-wise scalar multiplication operator.
|
void |
negate()
Negates each component of vector in place.
|
SbVec4s |
over(double d)
Component-wise binary scalar division operator.
|
SbVec4s |
over(int d)
Component-wise binary scalar division operator.
|
SbVec4s |
plus(SbVec4s v2)
Component-wise binary vector addition operator.
|
void |
setValue(SbVec4s copyFrom) |
SbVec4s |
setValue(short[] components) |
SbVec4s |
setValue(short[] components,
int startIndex) |
SbVec4s |
setValue(short c0,
short c1,
short c2,
short c3) |
void |
setValueAt(int index,
short value) |
void |
setW(short value) |
void |
setX(short value) |
void |
setY(short value) |
void |
setZ(short value) |
void |
substract(SbVec4s u)
Component-wise vector subtraction operator.
|
SbVec4s |
times(double d)
Component-wise binary scalar multiplication operator.
|
SbVec4s |
times(int d)
Component-wise binary scalar multiplication operator.
|
static SbVec4s[] |
toArray(long nativeArray,
long length) |
public SbVec4s()
public SbVec4s(short c0, short c1, short c2, short c3)
public SbVec4s(SbVec4s copyFrom)
public SbVec4s(short[] components)
public void setX(short value)
public SbVec4s setValue(short c0, short c1, short c2, short c3)
public void setZ(short value)
public void setY(short value)
public SbVec4s setValue(short[] components, int startIndex)
public void setValue(SbVec4s copyFrom)
public short[] getValue()
public void setValueAt(int index, short value)
public SbVec4s setValue(short[] components)
public short getValueAt(int index)
public short getW()
public short getZ()
public void setW(short value)
public short getX()
public short getY()
public SbVec4s over(double d)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static SbVec4s[] toArray(long nativeArray, long length)
public void negate()
public void multiply(int d)
public int dot(SbVec4s v)
public SbVec4s times(int d)
public SbVec4s over(int d)
public SbVec4s times(double d)
public void substract(SbVec4s u)
public void divide(int d)
public void multiply(double d)
public void add(SbVec4s u)
public void divide(double d)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com