v2_1

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsBcfService

func InsBcfService() *sBcfService

Types

type BcfData

type BcfData struct {
	ProjectInfo *ProjectInfo
	Extensions  *Extensions
	Markups     []*Markup
	Visinfos    map[string]map[string]*VisualizationInfo
}

type BimSnippet

type BimSnippet struct {
	Reference       string `xml:"Reference"`
	ReferenceSchema string `xml:"ReferenceSchema"`
	SnippetType     string `xml:"SnippetType,attr"`
	// contains filtered or unexported fields
}

type Bitmap

type Bitmap struct {
	Format    string     `xml:"Format"`
	Reference string     `xml:"Reference"`
	Location  *Point     `xml:"Location"`
	Normal    *Direction `xml:"Normal"`
	Up        *Direction `xml:"Up"`
	Height    string     `xml:"Height"`
}

type ClippingPlane

type ClippingPlane struct {
	Location  *Point     `xml:"Location"`
	Direction *Direction `xml:"Direction"`
}

type Comment

type Comment struct {
	Date                  string            `xml:"Date"`
	Author                string            `xml:"Author"`
	Comment               string            `xml:"Comment,omitempty"`
	Viewpoint             *CommentViewpoint `xml:"Viewpoint,omitempty"`
	ModifiedDate          string            `xml:"ModifiedDate,omitempty"`
	ModifiedDateSpecified bool              `xml:"ModifiedDateSpecified,omitempty"`
	ModifiedAuthor        string            `xml:"ModifiedAuthor,omitempty"`
	Guid                  string            `xml:"Guid,attr"`
}

type CommentViewpoint

type CommentViewpoint struct {
	Guid string `xml:"Guid,attr"`
}

type Component

type Component struct {
	OriginatingSystem string `xml:"OriginatingSystem,omitempty"`
	AuthoringToolId   string `xml:"AuthoringToolId,omitempty"`
	IfcGuid           string `xml:"IfcGuid"`
}

type ComponentColoring

type ComponentColoring struct {
	Component []*Component `xml:"Component"`
	Color     string       `xml:"Color,attr"`
}

type ComponentSelection

type ComponentSelection struct {
	Component []*Component `xml:"Component,omitempty"`
}

type ComponentVisibility

type ComponentVisibility struct {
	Exceptions        []*Component `xml:"Exceptions>Component"`
	DefaultVisibility bool         `xml:"DefaultVisibility"`
}

type Components

type Components struct {
	ViewSetupHints *ViewSetupHints      `xml:"ViewSetupHints,omitempty"`
	Selection      *ComponentSelection  `xml:"Selection,omitempty"`
	Visibility     *ComponentVisibility `xml:"Visibility,omitempty"`
	Coloring       *ComponentColoring   `xml:"Coloring>Color,omitempty"`
}

type Direction

type Direction struct {
	X float64 `xml:"X"`
	Y float64 `xml:"Y"`
	Z float64 `xml:"Z"`
}

type Document

type Document struct {
	Guid        string `xml:"Guid,attr"`
	Description string `xml:"Description,omitempty"`
	Filename    string `xml:"Filename,omitempty"`
}

************************BCF3.0 common struct**********************// **************************************documents*********************************//

type DocumentReference

type DocumentReference struct {
	ReferencedDocument string `xml:"ReferencedDocument,omitempty"`
	Description        string `xml:"Description,omitempty"`
	DocumentReference  string `xml:"DocumentReference,attr"`
}

type Enumeration

type Enumeration struct {
	Value string `xml:"value,attr"`
}

type Extensions

type Extensions struct {
	XMLName  xml.Name  `xml:"schema"`
	Redefine *Redefine `xml:"redefine,omitempty"`
	Xmlns    string    `xml:"xmlns,attr"`
}

type File

type File struct {
	Filename                   string `xml:"Filename,omitempty"`
	Date                       string `xml:"Date,omitempty"`
	Reference                  string `xml:"Reference"`
	IfcProject                 string `xml:"IfcProject,attr"`
	IfcSpatialStructureElement string `xml:"IfcSpatialStructureElement,attr"`
	IsExternal                 bool   `xml:"IsExternal,attr"`
}

type Line

type Line struct {
	StartPoint *Point `xml:"StartPoint"`
	EndPoint   *Point `xml:"EndPoint"`
}

type Markup

type Markup struct {
	XMLName    xml.Name     `xml:"Markup"`
	Header     []*File      `xml:"Header>File,omitempty"`
	Topic      *Topic       `xml:"Topic"`
	Comment    []*Comment   `xml:"Comment,omitempty"`
	Viewpoints []*ViewPoint `xml:"Viewpoints,omitempty"`
}

type OrthogonalCamera

type OrthogonalCamera struct {
	CameraViewPoint  *Point     `xml:"CameraViewPoint"`
	CameraDirection  *Direction `xml:"CameraDirection"`
	CameraUpVector   *Direction `xml:"CameraUpVector"`
	ViewToWorldScale float64    `xml:"ViewToWorldScale"`
}

**************************************visinfo*********************************//

type PerspectiveCamera

type PerspectiveCamera struct {
	CameraViewPoint *Point     `xml:"CameraViewPoint"`
	CameraDirection *Direction `xml:"CameraDirection"`
	CameraUpVector  *Direction `xml:"CameraUpVector"`
	FieldOfView     float64    `xml:"FieldOfView"`
}

type Point

type Point struct {
	X float64 `xml:"X"`
	Y float64 `xml:"Y"`
	Z float64 `xml:"Z"`
}

type Project

type Project struct {
	ProjectId string `xml:"ProjectId,attr"`
	Name      string `xml:"Name,omitempty"`
}

**************************************project*********************************//

type ProjectInfo

type ProjectInfo struct {
	XMLName         xml.Name `xml:"ProjectExtension"`
	Project         *Project `xml:"Project,omitempty"`
	ExtensionSchema string   `xml:"ExtensionSchema,omitempty"`
}

type Redefine

type Redefine struct {
	SimpleType     []*SimpleType `xml:"simpleType"`
	SchemaLocation string        `xml:"schemaLocation,attr"`
}

**************************************extensions*********************************//

type RelatedTopic

type RelatedTopic struct {
	Guid string `xml:"Guid,attr"`
}

type Restriction

type Restriction struct {
	Enumeration []*Enumeration `xml:"enumeration"`
	Base        string         `xml:"base,attr"`
}

type SimpleType

type SimpleType struct {
	Restriction *Restriction `xml:"restriction"`
	Name        string       `xml:"name,attr"`
}

type Topic

type Topic struct {
	XMLName           xml.Name             `xml:"Topic"`
	ReferenceLink     []string             `xml:"ReferenceLink,omitempty"`
	Title             string               `xml:"Title"`
	Priority          string               `xml:"Priority,omitempty"`
	Index             string               `xml:"Index,omitempty"`
	Labels            []string             `xml:"Labels>Label,omitempty"`
	CreationDate      string               `xml:"CreationDate"`
	CreationAuthor    string               `xml:"CreationAuthor"`
	ModifiedDate      string               `xml:"ModifiedDate,omitempty"`
	ModifiedAuthor    string               `xml:"ModifiedAuthor,omitempty"`
	DueDate           string               `xml:"DueDate,omitempty"`
	AssignedTo        string               `xml:"AssignedTo,omitempty"`
	Stage             string               `xml:"Stage,omitempty"`
	Description       string               `xml:"Description,omitempty"`
	BimSnippet        *BimSnippet          `xml:"BimSnippet,omitempty"`
	DocumentReference []*DocumentReference `xml:"DocumentReference,omitempty"`
	RelatedTopic      []*RelatedTopic      `xml:"RelatedTopic,omitempty"`
	Guid              string               `xml:"Guid,attr"`
	TopicType         string               `xml:"TopicType,attr,omitempty"`
	TopicStatus       string               `xml:"TopicStatus,attr,omitempty"`
}

type ViewPoint

type ViewPoint struct {
	Viewpoint string `xml:"Viewpoint,omitempty"`
	Snapshot  string `xml:"Snapshot,omitempty"`
	Index     int    `xml:"Index,omitempty"`
	Guid      string `xml:"Guid,attr"`
}

type ViewSetupHints

type ViewSetupHints struct {
	SpacesVisible          bool `xml:"SpacesVisible,attr"`
	SpaceBoundariesVisible bool `xml:"SpaceBoundariesVisible,attr"`
	OpeningsVisible        bool `xml:"OpeningsVisible,attr"`
}

type VisualizationInfo

type VisualizationInfo struct {
	XMLName           xml.Name           `xml:"VisualizationInfo"`
	Components        *Components        `xml:"Components,omitempty"`
	OrthogonalCamera  *OrthogonalCamera  `xml:"OrthogonalCamera,omitempty"`
	PerspectiveCamera *PerspectiveCamera `xml:"PerspectiveCamera,omitempty"`
	Lines             *Line              `xml:"Lines>Line,omitempty"`
	ClippingPlanes    *ClippingPlane     `xml:"ClippingPlanes>ClippingPlane,omitempty"`
	Bitmap            []*Bitmap          `xml:"Bitmap,omitempty"`
	Guid              string             `xml:"Guid,attr"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL