Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Base ¶
type Base struct {
Typ builder.ComponentType `json:"type,omitempty"`
}
func (*Base) Type ¶
func (b *Base) Type() builder.ComponentType
type Polygon ¶
type Polygon struct { Base Abscissa []float64 `json:"abscissa,omitempty"` Ordinate []float64 `json:"ordinate,omitempty"` }
func NewPolygon ¶
func NewPolygon() *Polygon
func (*Polygon) SetAbscissa ¶
func (*Polygon) SetOrdinate ¶
type Radius ¶
type Rectangular ¶
type Rectangular struct { Base MinCoords []float64 `json:"minCoords,omitempty"` MaxCoords []float64 `json:"maxCoords,omitempty"` Limit int64 `json:"limit,omitempty"` }
func NewRectangular ¶
func NewRectangular() *Rectangular
func (*Rectangular) SetLimit ¶
func (r *Rectangular) SetLimit(limit int64) *Rectangular
func (*Rectangular) SetMaxCoords ¶
func (r *Rectangular) SetMaxCoords(maxCoords []float64) *Rectangular
func (*Rectangular) SetMinCoords ¶
func (r *Rectangular) SetMinCoords(minCoords []float64) *Rectangular
Click to show internal directories.
Click to hide internal directories.