BNBPoint2d

Objective-C

@interface BNBPoint2d : NSObject
- (nonnull instancetype)initWithX:(float)x
                                y:(float)y;
+ (nonnull instancetype)point2dWithX:(float)x
                                   y:(float)y;

@property (nonatomic, readonly) float x;

@property (nonatomic, readonly) float y;

@end

Swift

class BNBPoint2d : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithX:(float)x
                                    y:(float)y;

    Swift

    init(x: Float, y: Float)
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)point2dWithX:(float)x
                                       y:(float)y;
  • x

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) float x

    Swift

    var x: Float { get }
  • y

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) float y

    Swift

    var y: Float { get }