Documentation ¶
Overview ¶
Package detection provides ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteProject ¶
func DeleteProject(handler gorexos.RequestHandler, urn string) error
Types ¶
type Geometry ¶
type Geometry struct { Name string `json:"name"` Urn string `json:"urn"` Transformation gorexos.Transformation `json:"transformation"` FileUrn string `json:"fileUrn"` }
func CreateRoomGeometry ¶
func CreateRoomGeometry(handler gorexos.RequestHandler, projectUrn, roomUrn string, r io.Reader, transform gorexos.Transformation) (Geometry, error)
CreateRoomGeometery uploads a new REXfile representing the room. Only REXfiles are allowed!
type PhysicalObject ¶
type PortalReference ¶
type PortalReference struct { RexTagURL string `json:"rexTagUrl,omitempty"` LocalTransformation gorexos.Transformation `json:"localTransformation,omitempty"` }
PortalReference is the entry to a project
type Project ¶
type Project struct { ProjectBase Type string `json:"type"` LastUpdated string `json:"lastUpdated"` Rooms []Room `json:"rooms"` }
func GetProjectByUrn ¶
func GetProjectByUrn(handler gorexos.RequestHandler, urn string) (Project, error)
type ProjectBase ¶
type ProjectBase struct { Name string `json:"name"` Owner string `json:"owner"` Urn string `json:"urn"` PortalReference *PortalReference `json:"portalReference"` }
func CreateProject ¶
func CreateProject(handler gorexos.RequestHandler, p ProjectBase) (ProjectBase, error)
type RoomBase ¶
type RoomBase struct { Name string `json:"name"` Urn string `json:"urn"` PhysicalObjects []PhysicalObject `json:"physicalObjects"` }
func CreateRoom ¶
Click to show internal directories.
Click to hide internal directories.