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 SbVec2dSbBox2d. getCenter()Returns the center of the box.SbVec2dSbBox2d. getClosestPoint(SbVec2d point)Returns the closest point on the box to the given point.SbVec2dSbBox2d. getMax()Returns the maximum point of the box.SbVec2dSbBox2d. getMin()Returns the minimum point of the box.SbVec2d[]SbBox2d. getMinMax()Gets the corners of the box.SbVec2dSbVec2d. minus(SbVec2d v2)Component-wise binary vector subtraction operator.SbVec2dSbVec2d. over(double d)Component-wise binary scalar division operator.SbVec2dSbVec2d. plus(SbVec2d v2)Component-wise binary vector addition operator.SbVec2dSbVec2d. setValue(double[] components)SbVec2dSbVec2d. setValue(double[] components, int startIndex)SbVec2dSbVec2d. setValue(double c0, double c1)SbVec2dSbVec2d. setValue(SbVec2f vec2f)Sets value of vector from a single precision vector.SbVec2dSbVec2d. 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 voidSbVec2d. add(SbVec2d u)Component-wise vector addition operator.doubleSbVec2d. dot(SbVec2d v)Returns dot (inner) product of vector and another vector.booleanSbVec2d. equals(SbVec2d v, double tolerance)Equality comparison within given tolerance - the square of the length of the maximum distance between the two vectors.voidSbBox2d. extendBy(SbVec2d pt)Extends this box (if necessary) to contain the specified point .SbVec2dSbBox2d. getClosestPoint(SbVec2d point)Returns the closest point on the box to the given point.booleanSbBox2d. intersect(SbVec2d pt)Returns true if the specified point intersects this box.SbVec2dSbVec2d. minus(SbVec2d v2)Component-wise binary vector subtraction operator.SbVec2dSbVec2d. plus(SbVec2d v2)Component-wise binary vector addition operator.voidSbBox2d. setBounds(SbVec2d _min, SbVec2d _max)Sets the corners of the box.voidSbVec2d. setValue(SbVec2d copyFrom)SbVec2fSbVec2f. setValue(SbVec2d vec2d)Sets value of vector from a double precision vector.voidSbVec2d. 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 SbVec2dSoSFVec2d. getValue()Returns this field's value.SbVec2dSoMFVec2d. 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 intSoMFVec2d. find(SbVec2d targetValue)Calls find(targetValue, false).intSoMFVec2d. find(SbVec2d targetValue, boolean addIfNotFound)Finds the given targetValue in the array and returns the index of that value.voidSoMFVec2d. set1Value(int index, SbVec2d newValue)Sets the index'th value in the array to newValue.voidSoMFVec2f. set1Value(int index, SbVec2d vec2d)Sets one value from double precision vector.voidSoMFVec2i32. set1Value(int index, SbVec2d vec2d)Sets one value from double precision vector.voidSoMFVec2d. setValue(SbVec2d newValue)Sets the first value in the array to newValue, and deletes.voidSoMFVec2f. setValue(SbVec2d vec2d)Sets to one value from double precision vector.voidSoMFVec2i32. setValue(SbVec2d vec2d)Sets to one value from double precision vector.voidSoSFVec2d. setValue(SbVec2d newValue)Sets this field to newValue.voidSoSFVec2f. setValue(SbVec2d vec2d)Convenience method that allows you to specify a field value using a double precision variable.voidSoSFVec2i32. setValue(SbVec2d vec2d)Convenience method that allows you to specify a field value using a double precision variable.voidSoMFVec2d. setValues(int start, SbVec2d[] newValues)Sets num values starting at index start to the values.voidSoMFVec2f. setValues(int start, int num, SbVec2d[] vec2d)Deprecated.As of Open Inventor 9.3.1, useSoMFVec2f.setValues(int, com.openinventor.inventor.SbVec2d[])instead.voidSoMFVec2f. setValues(int start, SbVec2d[] vec2d)Sets values from array of double precision vectors.voidSoMFVec2i32. setValues(int start, int num, SbVec2d[] vec2d)Deprecated.As of Open Inventor 9.3.1, useSoMFVec2i32.setValues(int, com.openinventor.inventor.SbVec2d[])instead.voidSoMFVec2i32. 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 SbVec2dSoVolumeReader. 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.SbVec2dSoVRSegyFileReader. getTraceCoord(int i, int j)
-