SFCurve
Objective-C
@interface SFCurve : SFGeometrySwift
class SFCurve : SFGeometryThe base type for all 1-dimensional geometry types. A 1-dimensional geometry is a geometry that has a length, but no area. A curve is considered simple if it does not intersect itself (except at the start and end point). A curve is considered closed its start and end point are coincident. A simple, closed curve is called a ring.
- 
                  
                  Initialize DeclarationObjective-C - (instancetype)initWithType:(enum SFGeometryType)geometryType andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;Swift init!(type geometryType: SFGeometryType, andHasZ hasZ: Bool, andHasM hasM: Bool)ParametersgeometryTypegeometry type hasZhas z values hasMhas m values Return Valuenew curve 
- 
                  
                  Get the start Point of this Curve Return Valuestart point 
- 
                  
                  Get the end Point of this Curve Return Valueend point 
- 
                  
                  Determine if this Curve is closed (start point = end point) DeclarationObjective-C - (BOOL)isClosed;Swift func isClosed() -> BoolReturn Valuetrue if closed 
- 
                  
                  Determine if this Curve is a ring (closed and simple) DeclarationObjective-C - (BOOL)isRing;Swift func isRing() -> BoolReturn Valuetrue if a ring 
 View on GitHub
View on GitHub SFCurve Class Reference
        SFCurve Class Reference