public static class

DestAreaRectangle.Builder

extends Object
java.lang.Object
   ↳ com.commsignia.v2x.client.model.DestAreaRectangle.Builder

Class Overview

Builder for destination area rectangle objects

Summary

Public Constructors
DestAreaRectangle.Builder()
Creates a new instance.
Public Methods
DestAreaRectangle build()
DestAreaRectangle.Builder withAngle(double angle, DegreeUnit angleUnit)
Sets the angle value.
DestAreaRectangle.Builder withPosition(long latitude, long longitude)
Sets the position to the provided values.
DestAreaRectangle.Builder withSemiAxis(double semiAxisA, LengthUnit semiAxisAUnit, double semiAxisB, LengthUnit semiAxisBUnit)
Sets the semi axis values.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DestAreaRectangle.Builder ()

Creates a new instance.

Public Methods

public DestAreaRectangle build ()

public DestAreaRectangle.Builder withAngle (double angle, DegreeUnit angleUnit)

Sets the angle value.

Parameters
angle angle value
angleUnit angle unit
Returns
  • the same builder instance this method was invoked on

public DestAreaRectangle.Builder withPosition (long latitude, long longitude)

Sets the position to the provided values.

Parameters
latitude latitude in 0.1 microdegrees
longitude longitude in 0.1 microdegress
Returns
  • the same builder instance this method was invoked on

public DestAreaRectangle.Builder withSemiAxis (double semiAxisA, LengthUnit semiAxisAUnit, double semiAxisB, LengthUnit semiAxisBUnit)

Sets the semi axis values.

Parameters
semiAxisA semi axis A value
semiAxisAUnit semi axis A unit
semiAxisB semi axis B value
semiAxisBUnit semi axis B unit
Returns
  • the same builder instance this method was invoked on