| Modifier and Type | Method and Description |
|---|---|
Ray3D |
build()
Builds a new
Ray3D. |
Ray3D.Builder |
from(Ray3DType instance)
Fill a builder with attribute values from the provided
Ray3DType instance. |
Ray3D.Builder |
setDirection(com.io7m.jtensors.core.unparameterized.vectors.Vector3D direction)
Initializes the value for the
direction attribute. |
Ray3D.Builder |
setOrigin(com.io7m.jtensors.core.unparameterized.vectors.Vector3D origin)
Initializes the value for the
origin attribute. |
public final Ray3D.Builder from(Ray3DType instance)
Ray3DType 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 Ray3D.Builder setOrigin(com.io7m.jtensors.core.unparameterized.vectors.Vector3D origin)
origin attribute.origin - The value for originthis builder for use in a chained invocationpublic final Ray3D.Builder setDirection(com.io7m.jtensors.core.unparameterized.vectors.Vector3D direction)
direction attribute.direction - The value for directionthis builder for use in a chained invocationpublic Ray3D build()
Ray3D.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com