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 |
getCoord(int i)
Deprecated.
|
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 |
setCoord(int i,
short value)
Deprecated.
|
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[] components)
public SbVec4s(short c0, short c1, short c2, short c3)
public SbVec4s(SbVec4s copyFrom)
public short[] getValue()
public void setValue(SbVec4s copyFrom)
public short getW()
public SbVec4s setValue(short[] components, int startIndex)
public SbVec4s setValue(short[] components)
public void setValueAt(int index, short value)
public short getValueAt(int index)
public SbVec4s setValue(short c0, short c1, short c2, short c3)
public void setY(short value)
@Deprecated public short getCoord(int i)
public short getX()
public void setZ(short value)
public void setW(short value)
public void setX(short value)
@Deprecated public void setCoord(int i, short value)
public short getZ()
public short getY()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int dot(SbVec4s v)
public static SbVec4s[] toArray(long nativeArray, long length)
public void substract(SbVec4s u)
public void multiply(int d)
public SbVec4s times(int d)
public void add(SbVec4s u)
public void divide(int d)
public void divide(double d)
public void multiply(double d)
public SbVec4s over(double d)
public void negate()
public SbVec4s times(double d)
public SbVec4s over(int d)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com