AbstractGeometryItemObject

Objective-C


@interface AbstractGeometryItemObject : NSObject

Swift

class AbstractGeometryItemObject : NSObject

This class encapsulates abstract geometry item information.

  • Initializes and returns a newly allocated object using the model data.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithModelData:(nonnull void *)data;
  • Returns the model data.

    Declaration

    Objective-C

    - (nonnull void *)getModelData;
  • Get the shape form.

    Declaration

    Objective-C

    - (RoadShapeFormType)getShapeForm;

    Swift

    func getShapeForm() -> RoadShapeFormType
  • Get the shape type.

    Declaration

    Objective-C

    - (RoadShapeType)getShapeType;

    Swift

    func getShapeType() -> RoadShapeType
  • Get the shape arrow type.

    Declaration

    Objective-C

    - (ShapeArrowType)getArrowType;

    Swift

    func getArrowType() -> ShapeArrowType
  • Get the shape restriction type.

    Declaration

    Objective-C

    - (ShapeRestrictionType)getRestrictionType;

    Swift

    func getRestrictionType() -> ShapeRestrictionType
  • Get the slot the shape begin is attached to the anchor.

    Declaration

    Objective-C

    - (int)getBeginSlot:(BOOL)highDefinition;

    Swift

    func getBeginSlot(_ highDefinition: Bool) -> Int32

    Parameters

    highDefinition

    Enable high definition mode ( more slots ). Default false. @details The begin slot references the position where the begin shape is attached to the anchor, HD mode = false : 12 slots are possible, -1 indicates N/A. HD mode = true : 16 slots are possible, -1 indicates N/A. @details The numbers indicate position similar to a clock face.

  • Get the arrow direction at the begin.

    Declaration

    Objective-C

    - (ShapeArrowDirectionType)getBeginArrowDirection;

    Swift

    func getBeginArrowDirection() -> ShapeArrowDirectionType
  • Get the slot the shape end is attached to the anchor.

    Declaration

    Objective-C

    - (int)getEndSlot:(BOOL)highDefinition;

    Swift

    func getEndSlot(_ highDefinition: Bool) -> Int32

    Parameters

    highDefinition

    Enable high definition mode (more slots). Default false. @details The begin slot references the position where the end shape is attached to the anchor, 12 slots are possible, -1 indicates N/A. The numbers indicate position similar to a clock face. @details CircleSegment follows the circle from begin to end slot. Line spans over the circle from begin to end slot. The numbers indicate position similar to a clock face.

  • Get the arrow direction at the end.

    Declaration

    Objective-C

    - (ShapeArrowDirectionType)getEndArrowDirection;

    Swift

    func getEndArrowDirection() -> ShapeArrowDirectionType
  • Get the slot allocation. @details The slot allocation indicates how many shapes are occupying a slot.

    Declaration

    Objective-C

    - (int)getSlotAllocation;

    Swift

    func getSlotAllocation() -> Int32