VenueModel (API Reference)
Class VenueModel
Represents a building or a complex of buildings, like airports or universities.
-
Method Summary
Modifier and TypeMethodDescriptionfilterGeometry(String filter, VenueGeometryFilterType filterType) Gets the filtered geometries in an ascending order.Gets a bounding box of the venue model.Gets a center of the venue model.getDrawing(int drawingId) Gets a drawing for a given drawing id.getDrawing(String drawingId) Gets a drawing for a given drawing id.Gets the drawings of the venue model.Gets a list of geometries of the venue.Gets geometries mapped by icon names.Gets the geometries ordered by the name in an ascending order.intgetId()Gets anidof the venue model.Gets anidof the venue model.Gets a language of the venue model.Gets properties of the venue model.Gets a list of topologies of the drawing.
-
Method Details
-
getDrawing
Gets a drawing for a given drawing id.
- Parameters:
drawingId-The id of the drawing.
- Returns:
The drawing with the given id or
null.
-
getDrawing
Gets a drawing for a given drawing id.
- Parameters:
drawingId-The id of the drawing.
- Returns:
The drawing with the given id or
null.
-
filterGeometry
@NonNull public List<VenueGeometry> filterGeometry(@NonNull String filter, @NonNull VenueGeometryFilterType filterType) Gets the filtered geometries in an ascending order.
- Parameters:
filter-The filter string.
filterType-The filter type.
- Returns:
The list of the filtered geometries or an empty list.
-
getId
public int getId()Gets an
idof the venue model.- Returns:
The
idof the venue model.
-
getIdentifier
Gets an
idof the venue model.- Returns:
The
idof the venue model.
-
getCenter
Gets a center of the venue model.
- Returns:
The geographic coordinates of the center of the venue model.
-
getBoundingBox
Gets a bounding box of the venue model.
- Returns:
The
GeoBoxof the bounding area of the venue model.
-
getDrawings
Gets the drawings of the venue model.
- Returns:
The array of the Drawing objects.
-
getProperties
Gets properties of the venue model.
- Returns:
The properties of the venue model.
-
getLanguage
Gets a language of the venue model.
- Returns:
The language of the venue model.
-
getGeometriesByName
Gets the geometries ordered by the name in an ascending order.
- Returns:
The geometries ordered by the name in an ascending order.
-
getGeometriesByIconNames
Gets geometries mapped by icon names.
- Returns:
The map from the icon names to the geometries in the drawing.
-
getTopologies
Gets a list of topologies of the drawing.
- Returns:
The list of topologies of the drawing.
-
getGeometries
Gets a list of geometries of the venue.
- Returns:
The list of geometries of the venue or an empty list if no geometry present for venue.
-