| Modifier and Type | Method | Description |
|---|---|---|
Vector3D |
build() |
Builds a new
Vector3D. |
Vector3D.Builder |
from(Vector3DType instance) |
Fill a builder with attribute values from the provided
com.io7m.jtensors.core.unparameterized.vectors.Vector3DType instance. |
Vector3D.Builder |
from(VectorReadable2DType instance) |
Fill a builder with attribute values from the provided
com.io7m.jtensors.core.unparameterized.vectors.VectorReadable2DType instance. |
Vector3D.Builder |
from(VectorReadable3DType instance) |
Fill a builder with attribute values from the provided
com.io7m.jtensors.core.unparameterized.vectors.VectorReadable3DType instance. |
Vector3D.Builder |
setX(double x) |
Initializes the value for the
x attribute. |
Vector3D.Builder |
setY(double y) |
Initializes the value for the
y attribute. |
Vector3D.Builder |
setZ(double z) |
Initializes the value for the
z attribute. |
public final Vector3D.Builder from(VectorReadable3DType instance)
com.io7m.jtensors.core.unparameterized.vectors.VectorReadable3DType instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final Vector3D.Builder from(Vector3DType instance)
com.io7m.jtensors.core.unparameterized.vectors.Vector3DType instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final Vector3D.Builder from(VectorReadable2DType instance)
com.io7m.jtensors.core.unparameterized.vectors.VectorReadable2DType instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final Vector3D.Builder setX(double x)
x attribute.x - The value for xthis builder for use in a chained invocationpublic final Vector3D.Builder setY(double y)
y attribute.y - The value for ythis builder for use in a chained invocationpublic final Vector3D.Builder setZ(double z)
z attribute.z - The value for zthis builder for use in a chained invocationpublic Vector3D build()
Vector3D.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com