Package org.esa.snap.core.datamodel
Class TransectProfileDataBuilder
- java.lang.Object
-
- org.esa.snap.core.datamodel.TransectProfileDataBuilder
-
public class TransectProfileDataBuilder extends Object
Builder for instances ofTransectProfileData
. Constraints:- a non-null raster is mandatory
- either a shape or a point data source must be set
-
-
Constructor Summary
Constructors Constructor Description TransectProfileDataBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransectProfileDataBuilder
boxSize(int boxSize)
TransectProfileData
build()
TransectProfileDataBuilder
connectVertices(boolean connectVertices)
TransectProfileDataBuilder
path(Shape path)
TransectProfileDataBuilder
pointData(VectorDataNode pointData)
TransectProfileDataBuilder
raster(RasterDataNode raster)
TransectProfileDataBuilder
roiMask(Mask roiMask)
TransectProfileDataBuilder
useRoiMask(boolean useRoiMask)
-
-
-
Method Detail
-
build
public TransectProfileData build() throws IOException
- Throws:
IOException
-
raster
public TransectProfileDataBuilder raster(RasterDataNode raster)
-
path
public TransectProfileDataBuilder path(Shape path)
-
pointData
public TransectProfileDataBuilder pointData(VectorDataNode pointData)
-
boxSize
public TransectProfileDataBuilder boxSize(int boxSize)
-
useRoiMask
public TransectProfileDataBuilder useRoiMask(boolean useRoiMask)
-
roiMask
public TransectProfileDataBuilder roiMask(Mask roiMask)
-
connectVertices
public TransectProfileDataBuilder connectVertices(boolean connectVertices)
-
-