CRSReferenceFrame

Objective-C

@interface CRSReferenceFrame : NSObject <CRSIdentifiable>

Swift

class CRSReferenceFrame : NSObject, CRSIdentifiable

Reference Frame (datum)

@author osbornb

  • Name

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *name;

    Swift

    var name: String! { get set }
  • Type

    Declaration

    Objective-C

    @property (nonatomic) enum CRSType type;

    Swift

    var type: CRSType { get set }
  • Datum anchor description

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *anchor;

    Swift

    var anchor: String! { get set }
  • Identifiers

    Declaration

    Objective-C

    @property (nonatomic, strong) NSMutableArray<CRSIdentifier *> *identifiers;

    Swift

    var identifiers: NSMutableArray! { get set }
  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithType:(enum CRSType)type;

    Swift

    init!(type: CRSType)

    Parameters

    type

    type

    Return Value

    new instance

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithName:(NSString *)name andType:(enum CRSType)type;

    Swift

    init!(name: String!, andType type: CRSType)

    Parameters

    name

    name

    type

    type

    Return Value

    new instance

  • Has a datum anchor description

    Declaration

    Objective-C

    - (BOOL)hasAnchor;

    Swift

    func hasAnchor() -> Bool

    Return Value

    true if has datum anchor description