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