MSFFeatureBuilder
Objective-C
@interface MSFFeatureBuilder : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
Swift
class MSFFeatureBuilder : NSObject
A feature builder for constructing individual features.
-
Checks if this object is equal to the specified object.
Declaration
Objective-C
- (BOOL)isEqual:(id)object;Swift
func isEqual(_ object: Any!) -> BoolParameters
objectThe reference object.
Return Value
True when objects are equal, false otherwise.
-
Returns the hash value of this object.
Declaration
Objective-C
- (NSUInteger)hash;Swift
func hash() -> UIntReturn Value
The hash value of this object.
-
Constructs a FeatureBuilder with empty state.
Declaration
Objective-C
- (id)init;Swift
init!() -
Returns the geometry of the builder.
Return Value
The geometry of the builder.
-
Sets the geometry of the builder.
Declaration
Objective-C
- (void)setGeometry:(MSFGeometry *)geometry;Swift
func setGeometry(_ geometry: MSFGeometry!)Parameters
geometryThe new geometry to use for the builder.
-
Returns a specified property value of the builder.
Declaration
Objective-C
- (MSFVariant *)getPropertyValue:(NSString *)key;Swift
func getPropertyValue(_ key: String!) -> MSFVariant!Parameters
keyThe name of the property to return.
Return Value
The value of the property. If the key does not exist an empty variant is returned.
-
Sets an individual property value of the builder.
Declaration
Objective-C
- (void)setPropertyValue:(NSString *)key value:(MSFVariant *)value;Swift
func setPropertyValue(_ key: String!, value: MSFVariant!)Parameters
keyThe name of the property to set.
valueThe value of the property.
-
Builds a new feature from the state.
Return Value
A new feature based on the builder state. Can be null if the geometry is not specified.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()