type github.com/jackc/pgtype.Vec2
27 uses
github.com/jackc/pgtype (current package)
box.go#L15: P [2]Vec2
box.go#L81: *dst = Box{P: [2]Vec2{{x1, y1}, {x2, y2}}, Status: Present}
box.go#L101: P: [2]Vec2{
circle.go#L15: P Vec2
circle.go#L71: *dst = Circle{P: Vec2{x, y}, R: r, Status: Present}
circle.go#L90: P: Vec2{math.Float64frombits(x), math.Float64frombits(y)},
lseg.go#L15: P [2]Vec2
lseg.go#L81: *dst = Lseg{P: [2]Vec2{{x1, y1}, {x2, y2}}, Status: Present}
lseg.go#L101: P: [2]Vec2{
path.go#L15: P []Vec2
path.go#L50: points := make([]Vec2, 0)
path.go#L69: points = append(points, Vec2{x, y})
path.go#L101: points := make([]Vec2, pointCount)
path.go#L107: points[i] = Vec2{math.Float64frombits(x), math.Float64frombits(y)}
point.go#L15: type Vec2 struct {
point.go#L21: P Vec2
point.go#L73: return &Point{P: Vec2{x, y}, Status: Present}, nil
point.go#L116: *dst = Point{P: Vec2{x, y}, Status: Present}
point.go#L134: P: Vec2{math.Float64frombits(x), math.Float64frombits(y)},
polygon.go#L15: P []Vec2
polygon.go#L35: case []Vec2:
polygon.go#L66: p.P = make([]Vec2, 0)
polygon.go#L68: p.P = append(p.P, Vec2{X: src[i], Y: src[i+1]})
polygon.go#L98: points := make([]Vec2, 0)
polygon.go#L117: points = append(points, Vec2{x, y})
polygon.go#L147: points := make([]Vec2, pointCount)
polygon.go#L153: points[i] = Vec2{math.Float64frombits(x), math.Float64frombits(y)}
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |