public static final class Orthonormalized3D.Builder extends Object
Orthonormalized3D.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method | Description |
|---|---|---|
Orthonormalized3D |
build() |
Builds a new
Orthonormalized3D. |
Orthonormalized3D.Builder |
from(Orthonormalized3DType instance) |
Fill a builder with attribute values from the provided
Orthonormalized3DType instance. |
Orthonormalized3D.Builder |
setV0(Vector3D v0) |
Initializes the value for the
v0 attribute. |
Orthonormalized3D.Builder |
setV1(Vector3D v1) |
Initializes the value for the
v1 attribute. |
Orthonormalized3D.Builder |
setV2(Vector3D v2) |
Initializes the value for the
v2 attribute. |
public final Orthonormalized3D.Builder from(Orthonormalized3DType instance)
Orthonormalized3DType instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final Orthonormalized3D.Builder setV0(Vector3D v0)
v0 attribute.v0 - The value for v0this builder for use in a chained invocationpublic final Orthonormalized3D.Builder setV1(Vector3D v1)
v1 attribute.v1 - The value for v1this builder for use in a chained invocationpublic final Orthonormalized3D.Builder setV2(Vector3D v2)
v2 attribute.v2 - The value for v2this builder for use in a chained invocationpublic Orthonormalized3D build()
Orthonormalized3D.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com