example

package
v0.0.0-...-28b29c8 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Swig_escape_always_false bool
View Source
var Swig_escape_val interface{}

Functions

func DeleteCircle

func DeleteCircle(arg1 Circle)

func DeleteShape

func DeleteShape(arg1 Shape)

func DeleteSquare

func DeleteSquare(arg1 Square)

func GetShapeNshapes

func GetShapeNshapes() (_swig_ret int)

func SetShapeNshapes

func SetShapeNshapes(arg1 int)

func Swig_free

func Swig_free(arg1 uintptr)

func Swig_malloc

func Swig_malloc(arg1 int) (_swig_ret uintptr)

Types

type Circle

type Circle interface {
	Swigcptr() uintptr
	SwigIsCircle()
	Area() (_swig_ret float64)
	Perimeter() (_swig_ret float64)
	SetX(arg1 float64)
	GetX() (_swig_ret float64)
	SetY(arg1 float64)
	GetY() (_swig_ret float64)
	Move(arg1 float64, arg2 float64)
	SwigIsShape()
	SwigGetShape() Shape
}

func NewCircle

func NewCircle(arg1 float64) (_swig_ret Circle)

type Shape

type Shape interface {
	Swigcptr() uintptr
	SwigIsShape()
	SetX(arg2 float64)
	GetX() (_swig_ret float64)
	SetY(arg2 float64)
	GetY() (_swig_ret float64)
	Move(arg2 float64, arg3 float64)
	Area() (_swig_ret float64)
	Perimeter() (_swig_ret float64)
}

type Square

type Square interface {
	Swigcptr() uintptr
	SwigIsSquare()
	Area() (_swig_ret float64)
	Perimeter() (_swig_ret float64)
	SetX(arg1 float64)
	GetX() (_swig_ret float64)
	SetY(arg1 float64)
	GetY() (_swig_ret float64)
	Move(arg1 float64, arg2 float64)
	SwigIsShape()
	SwigGetShape() Shape
}

func NewSquare

func NewSquare(arg1 float64) (_swig_ret Square)

type SwigcptrCircle

type SwigcptrCircle uintptr

func (SwigcptrCircle) Area

func (arg1 SwigcptrCircle) Area() (_swig_ret float64)

func (SwigcptrCircle) GetX

func (_swig_base SwigcptrCircle) GetX() (_swig_ret float64)

func (SwigcptrCircle) GetY

func (_swig_base SwigcptrCircle) GetY() (_swig_ret float64)

func (SwigcptrCircle) Move

func (_swig_base SwigcptrCircle) Move(arg1 float64, arg2 float64)

func (SwigcptrCircle) Perimeter

func (arg1 SwigcptrCircle) Perimeter() (_swig_ret float64)

func (SwigcptrCircle) SetX

func (_swig_base SwigcptrCircle) SetX(arg1 float64)

func (SwigcptrCircle) SetY

func (_swig_base SwigcptrCircle) SetY(arg1 float64)

func (SwigcptrCircle) SwigGetShape

func (p SwigcptrCircle) SwigGetShape() Shape

func (SwigcptrCircle) SwigIsCircle

func (p SwigcptrCircle) SwigIsCircle()

func (SwigcptrCircle) SwigIsShape

func (p SwigcptrCircle) SwigIsShape()

func (SwigcptrCircle) Swigcptr

func (p SwigcptrCircle) Swigcptr() uintptr

type SwigcptrShape

type SwigcptrShape uintptr

func (SwigcptrShape) Area

func (arg1 SwigcptrShape) Area() (_swig_ret float64)

func (SwigcptrShape) GetX

func (arg1 SwigcptrShape) GetX() (_swig_ret float64)

func (SwigcptrShape) GetY

func (arg1 SwigcptrShape) GetY() (_swig_ret float64)

func (SwigcptrShape) Move

func (arg1 SwigcptrShape) Move(arg2 float64, arg3 float64)

func (SwigcptrShape) Perimeter

func (arg1 SwigcptrShape) Perimeter() (_swig_ret float64)

func (SwigcptrShape) SetX

func (arg1 SwigcptrShape) SetX(arg2 float64)

func (SwigcptrShape) SetY

func (arg1 SwigcptrShape) SetY(arg2 float64)

func (SwigcptrShape) SwigIsShape

func (p SwigcptrShape) SwigIsShape()

func (SwigcptrShape) Swigcptr

func (p SwigcptrShape) Swigcptr() uintptr

type SwigcptrSquare

type SwigcptrSquare uintptr

func (SwigcptrSquare) Area

func (arg1 SwigcptrSquare) Area() (_swig_ret float64)

func (SwigcptrSquare) GetX

func (_swig_base SwigcptrSquare) GetX() (_swig_ret float64)

func (SwigcptrSquare) GetY

func (_swig_base SwigcptrSquare) GetY() (_swig_ret float64)

func (SwigcptrSquare) Move

func (_swig_base SwigcptrSquare) Move(arg1 float64, arg2 float64)

func (SwigcptrSquare) Perimeter

func (arg1 SwigcptrSquare) Perimeter() (_swig_ret float64)

func (SwigcptrSquare) SetX

func (_swig_base SwigcptrSquare) SetX(arg1 float64)

func (SwigcptrSquare) SetY

func (_swig_base SwigcptrSquare) SetY(arg1 float64)

func (SwigcptrSquare) SwigGetShape

func (p SwigcptrSquare) SwigGetShape() Shape

func (SwigcptrSquare) SwigIsShape

func (p SwigcptrSquare) SwigIsShape()

func (SwigcptrSquare) SwigIsSquare

func (p SwigcptrSquare) SwigIsSquare()

func (SwigcptrSquare) Swigcptr

func (p SwigcptrSquare) Swigcptr() uintptr

Jump to

Keyboard shortcuts

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