Uses of Class
com.openinventor.inventor.SbVec2d
-
Packages that use SbVec2d Package Description com.openinventor.inventor Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.com.openinventor.inventor.fields com.openinventor.ldm.readers com.openinventor.volumeviz.readers -
-
Uses of SbVec2d in com.openinventor.inventor
Methods in com.openinventor.inventor that return SbVec2d Modifier and Type Method Description SbVec2d
SbBox2d. getCenter()
Returns the center of the box.SbVec2d
SbBox2d. getClosestPoint(SbVec2d point)
Returns the closest point on the box to the given point.SbVec2d
SbBox2d. getMax()
Returns the maximum point of the box.SbVec2d
SbBox2d. getMin()
Returns the minimum point of the box.SbVec2d[]
SbBox2d. getMinMax()
Gets the corners of the box.SbVec2d
SbVec2d. minus(SbVec2d v2)
Component-wise binary vector subtraction operator.SbVec2d
SbVec2d. over(double d)
Component-wise binary scalar division operator.SbVec2d
SbVec2d. plus(SbVec2d v2)
Component-wise binary vector addition operator.SbVec2d
SbVec2d. setValue(double[] components)
SbVec2d
SbVec2d. setValue(double[] components, int startIndex)
SbVec2d
SbVec2d. setValue(double c0, double c1)
SbVec2d
SbVec2d. setValue(SbVec2f vec2f)
Sets value of vector from a single precision vector.SbVec2d
SbVec2d. times(double d)
Component-wise binary scalar multiplication operator.static SbVec2d[]
SbVec2d. toArray(long nativeArray, long length)
Methods in com.openinventor.inventor with parameters of type SbVec2d Modifier and Type Method Description void
SbVec2d. add(SbVec2d u)
Component-wise vector addition operator.double
SbVec2d. dot(SbVec2d v)
Returns dot (inner) product of vector and another vector.boolean
SbVec2d. equals(SbVec2d v, double tolerance)
Equality comparison within given tolerance - the square of the length of the maximum distance between the two vectors.void
SbBox2d. extendBy(SbVec2d pt)
Extends this box (if necessary) to contain the specified point .SbVec2d
SbBox2d. getClosestPoint(SbVec2d point)
Returns the closest point on the box to the given point.boolean
SbBox2d. intersect(SbVec2d pt)
Returns true if the specified point intersects this box.SbVec2d
SbVec2d. minus(SbVec2d v2)
Component-wise binary vector subtraction operator.SbVec2d
SbVec2d. plus(SbVec2d v2)
Component-wise binary vector addition operator.void
SbBox2d. setBounds(SbVec2d _min, SbVec2d _max)
Sets the corners of the box.void
SbVec2d. setValue(SbVec2d copyFrom)
SbVec2f
SbVec2f. setValue(SbVec2d vec2d)
Sets value of vector from a double precision vector.void
SbVec2d. substract(SbVec2d u)
Component-wise vector subtraction operator.Constructors in com.openinventor.inventor with parameters of type SbVec2d Constructor Description SbBox2d(SbVec2d _min, SbVec2d _max)
Constructor for a 2D double box.SbVec2d(SbVec2d copyFrom)
-
Uses of SbVec2d in com.openinventor.inventor.fields
Methods in com.openinventor.inventor.fields that return SbVec2d Modifier and Type Method Description SbVec2d
SoSFVec2d. getValue()
Returns this field's value.SbVec2d
SoMFVec2d. getValueAt(int i)
SbVec2d[]
SoMFVec2d. getValues(int start)
Returns a pointer into the array of values in the field, starting at index start.Methods in com.openinventor.inventor.fields with parameters of type SbVec2d Modifier and Type Method Description int
SoMFVec2d. find(SbVec2d targetValue)
Calls find(targetValue, false).int
SoMFVec2d. find(SbVec2d targetValue, boolean addIfNotFound)
Finds the given targetValue in the array and returns the index of that value.void
SoMFVec2d. set1Value(int index, SbVec2d newValue)
Sets the index'th value in the array to newValue.void
SoMFVec2f. set1Value(int index, SbVec2d vec2d)
Sets one value from double precision vector.void
SoMFVec2i32. set1Value(int index, SbVec2d vec2d)
Sets one value from double precision vector.void
SoMFVec2d. setValue(SbVec2d newValue)
Sets the first value in the array to newValue, and deletes.void
SoMFVec2f. setValue(SbVec2d vec2d)
Sets to one value from double precision vector.void
SoMFVec2i32. setValue(SbVec2d vec2d)
Sets to one value from double precision vector.void
SoSFVec2d. setValue(SbVec2d newValue)
Sets this field to newValue.void
SoSFVec2f. setValue(SbVec2d vec2d)
Convenience method that allows you to specify a field value using a double precision variable.void
SoSFVec2i32. setValue(SbVec2d vec2d)
Convenience method that allows you to specify a field value using a double precision variable.void
SoMFVec2d. setValues(int start, SbVec2d[] newValues)
Sets num values starting at index start to the values.void
SoMFVec2f. setValues(int start, int num, SbVec2d[] vec2d)
Deprecated.As of Open Inventor 9.3.1, useSoMFVec2f.setValues(int, com.openinventor.inventor.SbVec2d[])
instead.void
SoMFVec2f. setValues(int start, SbVec2d[] vec2d)
Sets values from array of double precision vectors.void
SoMFVec2i32. setValues(int start, int num, SbVec2d[] vec2d)
Deprecated.As of Open Inventor 9.3.1, useSoMFVec2i32.setValues(int, com.openinventor.inventor.SbVec2d[])
instead.void
SoMFVec2i32. setValues(int start, SbVec2d[] vec2d)
Sets values from array of double precision vectors.Constructors in com.openinventor.inventor.fields with parameters of type SbVec2d Constructor Description SoSFVec2d(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SbVec2d defaultValue)
Default constructor. -
Uses of SbVec2d in com.openinventor.ldm.readers
Methods in com.openinventor.ldm.readers that return SbVec2d Modifier and Type Method Description SbVec2d
SoVolumeReader. getTileMinMax(int index)
Returns the minimum and maximum data values for the given tile. -
Uses of SbVec2d in com.openinventor.volumeviz.readers
Methods in com.openinventor.volumeviz.readers that return SbVec2d Modifier and Type Method Description SbVec2d[]
SoVRSegyFileReader. getP1P2P3Coordinates()
Gets the P1, P2, P3 and P4 coordinates.SbVec2d
SoVRSegyFileReader. getTraceCoord(int i, int j)
-