Class VenueGeometry

java.lang.Object
com.here.NativeBase
com.here.sdk.venue.data.VenueGeometry

public final class VenueGeometry extends NativeBase

Represents a geometry inside the VenueLevel. The geometry can be any object inside the level, like a room, a wall or a table. Also the geometry can represent virtual objects, like a team area in an open space.

  • Method Details

    • getIdentifier

      @NonNull public String getIdentifier()

      Gets an id of the geometry.

      Returns:

      The id of the geometry.

    • getLevel

      @NonNull public VenueLevel getLevel()

      Gets a parent level of the geometry.

      Returns:

      The parent level of the geometry.

    • getGeometryType

      @NonNull public VenueGeometry.GeometryType getGeometryType()

      Gets a type of the geometry.

      Returns:

      The type of the geometry.

    • getCenter

      @NonNull public GeoCoordinates getCenter()

      Gets a center of the geometry.

      Returns:

      The geographic coordinates of the center of the geometry.

    • getBoundingBox

      @NonNull public GeoBox getBoundingBox()

      Gets a bounding box of the geometry.

      Returns:

      The GeoBox of the bounding area of the geometry.

    • getProperties

      @NonNull public Map<String,Property> getProperties()

      Gets the properties of the geometry.

      Returns:

      The properties of the geometry.

    • getInternalAddress

      @Nullable public VenueGeometry.InternalAddress getInternalAddress()

      Gets an internal address of the geometry.

      Returns:

      The internal address of the geometry.

    • getName

      @NonNull public String getName()

      Gets a name of the geometry.

      If no name has been set, returns a label name.

      Returns:

      The name of the geometry.

    • getLabelName

      @NonNull public String getLabelName()

      Gets a label name of the geometry.

      Returns:

      The label name of the geometry.

    • getLookupType

      @NonNull public VenueGeometry.LookupType getLookupType()

      Gets a lookup type of the geometry.

      Returns:

      The lookup type of the geometry.

    • getParentGeometry

      @NonNull public VenueGeometry getParentGeometry()

      Gets a parent geometry on which the current geometry is located.

      Defaults to null, if the geometry represents a base shape.

      Returns:

      The parent geometry.

    • getStyle

      @Nullable public VenueGeometryStyle getStyle()

      Gets a style of the geometry.

      Returns:

      The style of the geometry.

    • getLabelStyle

      @Nullable public VenueLabelStyle getLabelStyle()

      Gets a label style of the geometry.

      Returns:

      The label style of the geometry.

    • getLevelID

      @NonNull public String getLevelID()

      Gets level ID of the geometry.

      Returns:

      The level ID of geometry.