ProjectionObject
Objective-C
@interface ProjectionObject : NSObject
Swift
class ProjectionObject : NSObject
This class encapsulates projection information.
-
Initializes and returns a newly allocated object using the project type.
Declaration
Objective-C
- (nonnull instancetype)initWithType:(ProjectionType)type;
-
Returns the model data.
Declaration
Objective-C
- (nonnull void *)getModelData;
-
Get the projection type.
-
Check if object is equals to current projection.
Declaration
Objective-C
- (BOOL)isEqualTo:(nonnull ProjectionObject *)object;
Swift
func isEqual(to object: ProjectionObject) -> Bool
-
Check if this is a default object ( nothing was modified on it since creation ).
Declaration
Objective-C
- (BOOL)isDefault;
Swift
func isDefault() -> Bool
-
Check empty projection.
Declaration
Objective-C
- (BOOL)isEmpty;
Swift
func isEmpty() -> Bool
-
Reset the object to default.
Declaration
Objective-C
- (void)reset;
Swift
func reset()