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
24DEFAULT_EXPORT_ATTRIBUTE
25@interface NCSegment : NSObject
26
30- (nonnull instancetype)initWithStart:(nonnull NCPoint *)start
31 end:(nonnull NCPoint *)end;
32
36+ (nonnull instancetype)segmentWithStart:(nonnull NCPoint *)start
37 end:(nonnull NCPoint *)end;
38
51@property (nonatomic, readonly, nonnull) NCPoint * start;
52
65@property (nonatomic, readonly, nonnull) NCPoint * end;
66
67@end