Class NeonFloorPlan
- java.lang.Object
-
- com.trx.neon.api.neonEnvironment.model.NeonFloorPlan
-
public class NeonFloorPlan extends java.lang.Object
A NeonFloorPlan contains a bitmap of the floor plan image, georeferencing information for the four corners of that image and the containing NeonBuildingFloor object
-
-
Constructor Summary
Constructors Constructor Description NeonFloorPlan(android.graphics.Bitmap bitmap, NeonBuildingFloor floor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description android.graphics.Bitmap
getBitmap()
Retrieves the bitmap associated with this floor plan Don't forget to recycle this bitmap when you are done with itandroid.graphics.Bitmap
getBitmapClippedToFloor()
Helper function to mask the image with the NeonFloorOutline.LatLong
getBottomLeft()
LatLong
getBottomRight()
int
getFloorNumber()
java.lang.String
getID()
Get the unique ID for this floorLatLong
getTopLeft()
LatLong
getTopRight()
-
-
-
Constructor Detail
-
NeonFloorPlan
public NeonFloorPlan(android.graphics.Bitmap bitmap, NeonBuildingFloor floor)
-
-
Method Detail
-
getID
public java.lang.String getID()
Get the unique ID for this floor
-
getBitmap
public android.graphics.Bitmap getBitmap()
Retrieves the bitmap associated with this floor plan Don't forget to recycle this bitmap when you are done with it
-
getBitmapClippedToFloor
public android.graphics.Bitmap getBitmapClippedToFloor()
Helper function to mask the image with the NeonFloorOutline. This will take the floor plan image and set all areas outside the hull of the NeonFloorOutline and inside the holes of the NeonFloorOutline to transparent. The result is a floor plan image clipped to the outline of the building.
-
getTopLeft
public LatLong getTopLeft()
-
getTopRight
public LatLong getTopRight()
-
getBottomRight
public LatLong getBottomRight()
-
getBottomLeft
public LatLong getBottomLeft()
-
getFloorNumber
public int getFloorNumber()
-
-