Class TLcdBandMeasurementSemanticsBuilder

java.lang.Object
com.luciad.imaging.TLcdBandMeasurementSemanticsBuilder

public class TLcdBandMeasurementSemanticsBuilder extends Object
Builder for creating ALcdBandMeasurementSemantics instances. To build a new instance the unit of measure and the data type must be set on this builder. Other properties are optional, they will get a default value based on the unit of measure and data type that were set.

Example usage:

To create semantics representing unsigned short values in metres:


   ALcdBandMeasurementSemantics semantics = TLcdBandMeasurementSemanticsBuilder
   .newBuilder()
   .unitOfMeasure(
     TLcdUnitOfMeasureFactory.deriveUnitOfMeasure(
       TLcdAltitudeUnit.METRE,
       TLcdISO19103MeasureTypeCodeExtension.TERRAIN_HEIGHT
     )
   )
   .dataType(ALcdBandSemantics.DataType.UNSIGNED_SHORT)
   .build();
 
Since:
2015.0