Point
public struct Point : Equatable
Undocumented
-
Undocumented
Declaration
Swift
public init(x: Float, y: Float)
-
Undocumented
Declaration
Swift
public var x: Float
-
Undocumented
Declaration
Swift
public var length: Float { get }
-
Undocumented
Declaration
Swift
public mutating func offset(dx: Float, dy: Float)
-
Undocumented
Declaration
Swift
public mutating func offset(point: Point)
-
Undocumented
Declaration
Swift
public func normalize(_ point: Point) -> Point
-
Undocumented
Declaration
Swift
public func distance(_ first: Point, _ second: Point) -> Float
-
Undocumented
Declaration
Swift
public static func + (ls: Point, rs: Point) -> Point
-
Undocumented
Declaration
Swift
public static func - (ls: Point, rs: Point) -> Point
-
Undocumented
Declaration
Swift
public prefix static func - (pt: Point) -> Point