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
16DEFAULT_EXPORT_ATTRIBUTE
17@interface NCSegment : NSObject
18
22- (nonnull instancetype)initWithStart:(nonnull NCPoint *)start
23 end:(nonnull NCPoint *)end;
24
28+ (nonnull instancetype)segmentWithStart:(nonnull NCPoint *)start
29 end:(nonnull NCPoint *)end;
30
34@property (nonatomic, readonly, nonnull) NCPoint * start;
35
39@property (nonatomic, readonly, nonnull) NCPoint * end;
40
41@end