| Package | Description |
|---|---|
| org.web3d.x3d.jsail.Core |
The Core component supplies the base functionality for the X3D run-time system, including
the abstract base node type, field types, the event model, and routing.
|
| org.web3d.x3d.jsail.fields |
The fields subpackage is provided for creating
typed X3D field values
and also includes various utility capabilities.
|
| org.web3d.x3d.jsail.NURBS |
The NURBS component describes Non-uniform Rational B-Spline (NURBS) geometry and interpolation
nodes.
|
| Modifier and Type | Method and Description |
|---|---|
SFVec2dObject |
fieldObject.getValueSFVec2d()
If type matches, then get typed value of a SFVec2d field declaration.
|
SFVec2dObject |
fieldValueObject.getValueSFVec2d()
If type matches, then get typed value of a SFVec2d fieldValue declaration.
|
| Modifier and Type | Method and Description |
|---|---|
fieldObject |
fieldObject.appendValue(SFVec2dObject newValue)
Append SFVec2dObject to field for value attribute.
|
fieldValueObject |
fieldValueObject.appendValue(SFVec2dObject newValue)
Append SFVec2dObject to fieldValue for value attribute.
|
fieldObject |
fieldObject.setValue(SFVec2dObject newValue)
Set typed value of a SFVec2d field declaration.
|
fieldValueObject |
fieldValueObject.setValue(SFVec2dObject newValue)
Set typed value of a SFVec2d fieldValue declaration.
|
| Modifier and Type | Method and Description |
|---|---|
SFVec2dObject |
SFVec2dObject.multiply(double scaleFactor)
Multiply scaleFactor times all values in this field type.
|
SFVec2dObject |
SFVec2dObject.normalize()
Utility method to normalize this vector value to unit length, ignore if zero length.
|
SFVec2dObject |
SFVec2dObject.setValue(double x,
double y)
Assign a new value to this field.
|
SFVec2dObject |
SFVec2dObject.setValue(float[] newValue)
Constructor for SFVec2dObject using a corresponding Java primitive float[] array as new initial value.
|
SFVec2dObject |
SFVec2dObject.setValue(SFVec2dObject newValue)
Apply an SFVec2dObject value to this field.
|
SFVec2dObject |
SFVec2dObject.setValueByString(java.lang.String newValue)
Utility accessor for SFVec2dObject using String value (which must pass parsing validation checks).
|
| Modifier and Type | Method and Description |
|---|---|
MFVec2dObject |
MFVec2dObject.append(SFVec2dObject newValue)
Appends a new singleton typed value at the end of the existing value array, increasing the field length accordingly.
|
MFVec2dObject |
MFVec2dObject.setValue(SFVec2dObject newValue)
Assign a single-field SFVec2dObject as new array value.
|
SFVec2dObject |
SFVec2dObject.setValue(SFVec2dObject newValue)
Apply an SFVec2dObject value to this field.
|
| Constructor and Description |
|---|
SFVec2dObject(SFVec2dObject newValue)
Constructor to copy an SFVec2dObject value as initial value for this new field object.
|
| Modifier and Type | Method and Description |
|---|---|
ContourPolyline2DObject |
ContourPolyline2DObject.addControlPoint(SFVec2dObject newValue)
Add singleton SFVec2dObject value to MFVec2d controlPoint field.
|
NurbsCurve2DObject |
NurbsCurve2DObject.addControlPoint(SFVec2dObject newValue)
Add singleton SFVec2dObject value to MFVec2d controlPoint field.
|
Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.