Class ImmutableStandardReferenceFrame.Builder

  • Enclosing class:
    ImmutableStandardReferenceFrame

    @NotThreadSafe
    public static final class ImmutableStandardReferenceFrame.Builder
    extends Object
    Builds instances of type ImmutableStandardReferenceFrame. 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.

    • Method Detail

      • from

        public final ImmutableStandardReferenceFrame.Builder from​(StandardReferenceFrame instance)
        Fill a builder with attribute values from the provided StandardReferenceFrame instance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • origin

        public final ImmutableStandardReferenceFrame.Builder origin​(org.apache.commons.math3.geometry.euclidean.threed.Vector3D origin)
        Initializes the value for the origin attribute.
        Parameters:
        origin - The value for origin
        Returns:
        this builder for use in a chained invocation
      • x

        public final ImmutableStandardReferenceFrame.Builder x​(org.apache.commons.math3.geometry.euclidean.threed.Vector3D x)
        Initializes the value for the x attribute.
        Parameters:
        x - The value for x
        Returns:
        this builder for use in a chained invocation
      • y

        public final ImmutableStandardReferenceFrame.Builder y​(org.apache.commons.math3.geometry.euclidean.threed.Vector3D y)
        Initializes the value for the y attribute.
        Parameters:
        y - The value for y
        Returns:
        this builder for use in a chained invocation
      • z

        public final ImmutableStandardReferenceFrame.Builder z​(org.apache.commons.math3.geometry.euclidean.threed.Vector3D z)
        Initializes the value for the z attribute.
        Parameters:
        z - The value for z
        Returns:
        this builder for use in a chained invocation