Loading...
Searching...
No Matches
NCSegment.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCPoint.h"
3#import <Foundation/Foundation.h>
4
25DEFAULT_EXPORT_ATTRIBUTE
26@interface NCSegment : NSObject
27
31- (nonnull instancetype)initWithStart:(nonnull NCPoint *)start
32 end:(nonnull NCPoint *)end;
33
37+ (nonnull instancetype)segmentWithStart:(nonnull NCPoint *)start
38 end:(nonnull NCPoint *)end;
39
53@property (nonatomic, readonly, nonnull) NCPoint * start;
54
68@property (nonatomic, readonly, nonnull) NCPoint * end;
69
70@end