Class ITileSet3DModel
- All Implemented Interfaces:
Model,AutoCloseable
You can create a layer for this model using TileSet3DLayer.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidfinalize()Returns the geolocation of the model.Returns the meta data for this model.Returns the model's reference.Returns the bounds of this model, if available.voidsetGeoLocation(GeoLocation geoLocation) Sets the geolocation of the model.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
getModelMetadata
Description copied from interface:ModelReturns the meta data for this model.- Specified by:
getModelMetadatain interfaceModel- Returns:
- the meta data for this model.
-
queryBounds
Description copied from interface:ModelReturns the bounds of this model, if available.When the bounds of this model are not known, or if they are too expensive to calculate, this method may return no bounds.
- Specified by:
queryBoundsin interfaceModel- Returns:
- the bounds of this model, if available.
-
getReference
Returns the model's reference.If the model is
geolocated, the geolocation's target reference is returned.- Returns:
- the model's reference.
- Since:
- 2026.1
-
setGeoLocation
Sets the geolocation of the model.Calling this method is only allowed if this model can be (re-)geolocated. A model can be (re-)geolocated if one of these conditions applies:
- its
referenceisCartesian - it has already been geolocated, meaning that the model has a non-
nullgeolocation.
After geolocation,
getReferencewill return the geolocation's target reference.queryBoundswill return geolocated, transformed bounds, which can be used to fit the camera to the new position of the dataset.A change of the geolocation of this model will also be reflected in any layers created with this model. The dataset will move to its new geolocated position in the visualization.
If the geolocation's
target referencematches themap reference, this change is instantly reflected in the visualization. Otherwise, the dataset may briefly disappear before being shown in the new position.See this article on why geolocation is sometimes needed.
- Parameters:
geoLocation- the geolocation.- Throws:
IllegalStateException- if the model cannot be (re-)geolocated.- Since:
- 2026.1
- its
-
getGeoLocation
Returns the geolocation of the model.This is always
nullif themodel referenceis notCartesian.- Returns:
- the model's geolocation.
- Since:
- 2026.1
-