public class ModelFromLas extends ModelAdapter implements IModel
| Modifier and Type | Field and Description |
|---|---|
static int |
GROUND_POINT
The classification for ground-points as given in the
ASPRS LAS file-format specification.
|
serialIndex| Constructor and Description |
|---|
ModelFromLas(File file,
LidarPointSelection lidarPointSelection)
Construct a model tied to the specified file with
filtering based on classification (only points of specified class
are accepted).
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets a shortdescription of the model
|
LidarPointSelection |
getLidarPointSelection()
Gets the point selection option used to load the model.
|
LinearUnits |
getLinearUnits()
Gets the linear units for the coordinate system used by the
data.
|
void |
load(IMonitorWithCancellation monitor)
Read the standard header of the LAS file associated with this
model and all internal records to create a collection of
vertices.
|
String |
toString() |
addConstraints, areConstraintsLoaded, areVerticesLoaded, geo2xy, getArea, getConstraints, getCoordinateTransform, getFile, getFormattedCoordinates, getFormattedX, getFormattedY, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getName, getNominalPointSpacing, getPerimeterVertices, getReferenceReductionFactor, getReferenceTin, getTimeToLoadInMillis, getTimeToSortInMillis, getVertexCount, getVertexForIndex, getVertexList, hasConstraints, hasConstraintsSource, hasVertexSource, isCoordinateSystemGeographic, isLoaded, xy2geoclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddConstraints, areConstraintsLoaded, areVerticesLoaded, geo2xy, getArea, getConstraints, getCoordinateTransform, getFile, getFormattedCoordinates, getFormattedX, getFormattedY, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getName, getNominalPointSpacing, getPerimeterVertices, getReferenceReductionFactor, getReferenceTin, getTimeToLoadInMillis, getTimeToSortInMillis, getVertexCount, getVertexForIndex, getVertexList, hasConstraints, hasConstraintsSource, hasVertexSource, isCoordinateSystemGeographic, isLoaded, xy2geopublic static final int GROUND_POINT
public ModelFromLas(File file, LidarPointSelection lidarPointSelection)
file - a valid LAS filelidarPointSelection - a specification for selecting lidar points
based on their classification or other elements.public void load(IMonitorWithCancellation monitor) throws IOException
load in interface IModelload in class ModelAdaptermonitor - an optional monitor for tracking progress (null
if not used)IOException - In the event of a non-recoverable error
related to I/O or file access.public String getDescription()
IModelgetDescription in interface IModelgetDescription in class ModelAdapterpublic LidarPointSelection getLidarPointSelection()
public LinearUnits getLinearUnits()
getLinearUnits in interface IModelgetLinearUnits in class ModelAdapterCopyright © 2019. All rights reserved.