Skip to content

Commit 0cc0930

Browse files
authored
Merge pull request kodecocodes#650 from JaapWijnen/points-lines-planes
[New algorithm] points lines planes
2 parents b41a01d + 339cc14 commit 0cc0930

File tree

6 files changed

+538
-0
lines changed

6 files changed

+538
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,296 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 48;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
8EA8A3BB1F9F7B6300FD8BC0 /* Point2D.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EA8A3BA1F9F7B6300FD8BC0 /* Point2D.swift */; };
11+
8EA8A3BD1F9F7B7100FD8BC0 /* Line2D.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EA8A3BC1F9F7B7100FD8BC0 /* Line2D.swift */; };
12+
8EF612481F9E00E000267358 /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EF612471F9E00E000267358 /* main.swift */; };
13+
/* End PBXBuildFile section */
14+
15+
/* Begin PBXCopyFilesBuildPhase section */
16+
8EF612421F9E00E000267358 /* CopyFiles */ = {
17+
isa = PBXCopyFilesBuildPhase;
18+
buildActionMask = 2147483647;
19+
dstPath = /usr/share/man/man1/;
20+
dstSubfolderSpec = 0;
21+
files = (
22+
);
23+
runOnlyForDeploymentPostprocessing = 1;
24+
};
25+
/* End PBXCopyFilesBuildPhase section */
26+
27+
/* Begin PBXFileReference section */
28+
8EA8A3BA1F9F7B6300FD8BC0 /* Point2D.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Point2D.swift; sourceTree = "<group>"; };
29+
8EA8A3BC1F9F7B7100FD8BC0 /* Line2D.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Line2D.swift; sourceTree = "<group>"; };
30+
8EF612441F9E00E000267358 /* Points Lines Planes */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "Points Lines Planes"; sourceTree = BUILT_PRODUCTS_DIR; };
31+
8EF612471F9E00E000267358 /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = "<group>"; };
32+
/* End PBXFileReference section */
33+
34+
/* Begin PBXFrameworksBuildPhase section */
35+
8EF612411F9E00E000267358 /* Frameworks */ = {
36+
isa = PBXFrameworksBuildPhase;
37+
buildActionMask = 2147483647;
38+
files = (
39+
);
40+
runOnlyForDeploymentPostprocessing = 0;
41+
};
42+
/* End PBXFrameworksBuildPhase section */
43+
44+
/* Begin PBXGroup section */
45+
8EA8A3C21F9F7C9000FD8BC0 /* 2D */ = {
46+
isa = PBXGroup;
47+
children = (
48+
8EA8A3BA1F9F7B6300FD8BC0 /* Point2D.swift */,
49+
8EA8A3BC1F9F7B7100FD8BC0 /* Line2D.swift */,
50+
);
51+
path = 2D;
52+
sourceTree = "<group>";
53+
};
54+
8EF6123B1F9E00DF00267358 = {
55+
isa = PBXGroup;
56+
children = (
57+
8EF612461F9E00E000267358 /* Points Lines Planes */,
58+
8EF612451F9E00E000267358 /* Products */,
59+
);
60+
sourceTree = "<group>";
61+
};
62+
8EF612451F9E00E000267358 /* Products */ = {
63+
isa = PBXGroup;
64+
children = (
65+
8EF612441F9E00E000267358 /* Points Lines Planes */,
66+
);
67+
name = Products;
68+
sourceTree = "<group>";
69+
};
70+
8EF612461F9E00E000267358 /* Points Lines Planes */ = {
71+
isa = PBXGroup;
72+
children = (
73+
8EF612471F9E00E000267358 /* main.swift */,
74+
8EA8A3C21F9F7C9000FD8BC0 /* 2D */,
75+
);
76+
path = "Points Lines Planes";
77+
sourceTree = "<group>";
78+
};
79+
/* End PBXGroup section */
80+
81+
/* Begin PBXNativeTarget section */
82+
8EF612431F9E00E000267358 /* Points Lines Planes */ = {
83+
isa = PBXNativeTarget;
84+
buildConfigurationList = 8EF6124B1F9E00E000267358 /* Build configuration list for PBXNativeTarget "Points Lines Planes" */;
85+
buildPhases = (
86+
8EF612401F9E00E000267358 /* Sources */,
87+
8EF612411F9E00E000267358 /* Frameworks */,
88+
8EF612421F9E00E000267358 /* CopyFiles */,
89+
);
90+
buildRules = (
91+
);
92+
dependencies = (
93+
);
94+
name = "Points Lines Planes";
95+
productName = "Points Lines Planes";
96+
productReference = 8EF612441F9E00E000267358 /* Points Lines Planes */;
97+
productType = "com.apple.product-type.tool";
98+
};
99+
/* End PBXNativeTarget section */
100+
101+
/* Begin PBXProject section */
102+
8EF6123C1F9E00DF00267358 /* Project object */ = {
103+
isa = PBXProject;
104+
attributes = {
105+
LastSwiftUpdateCheck = 0900;
106+
LastUpgradeCheck = 0900;
107+
ORGANIZATIONNAME = Workmoose;
108+
TargetAttributes = {
109+
8EF612431F9E00E000267358 = {
110+
CreatedOnToolsVersion = 9.0.1;
111+
ProvisioningStyle = Automatic;
112+
};
113+
};
114+
};
115+
buildConfigurationList = 8EF6123F1F9E00DF00267358 /* Build configuration list for PBXProject "Points Lines Planes" */;
116+
compatibilityVersion = "Xcode 8.0";
117+
developmentRegion = en;
118+
hasScannedForEncodings = 0;
119+
knownRegions = (
120+
en,
121+
);
122+
mainGroup = 8EF6123B1F9E00DF00267358;
123+
productRefGroup = 8EF612451F9E00E000267358 /* Products */;
124+
projectDirPath = "";
125+
projectRoot = "";
126+
targets = (
127+
8EF612431F9E00E000267358 /* Points Lines Planes */,
128+
);
129+
};
130+
/* End PBXProject section */
131+
132+
/* Begin PBXSourcesBuildPhase section */
133+
8EF612401F9E00E000267358 /* Sources */ = {
134+
isa = PBXSourcesBuildPhase;
135+
buildActionMask = 2147483647;
136+
files = (
137+
8EA8A3BB1F9F7B6300FD8BC0 /* Point2D.swift in Sources */,
138+
8EF612481F9E00E000267358 /* main.swift in Sources */,
139+
8EA8A3BD1F9F7B7100FD8BC0 /* Line2D.swift in Sources */,
140+
);
141+
runOnlyForDeploymentPostprocessing = 0;
142+
};
143+
/* End PBXSourcesBuildPhase section */
144+
145+
/* Begin XCBuildConfiguration section */
146+
8EF612491F9E00E000267358 /* Debug */ = {
147+
isa = XCBuildConfiguration;
148+
buildSettings = {
149+
ALWAYS_SEARCH_USER_PATHS = NO;
150+
CLANG_ANALYZER_NONNULL = YES;
151+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
152+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
153+
CLANG_CXX_LIBRARY = "libc++";
154+
CLANG_ENABLE_MODULES = YES;
155+
CLANG_ENABLE_OBJC_ARC = YES;
156+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
157+
CLANG_WARN_BOOL_CONVERSION = YES;
158+
CLANG_WARN_COMMA = YES;
159+
CLANG_WARN_CONSTANT_CONVERSION = YES;
160+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
161+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
162+
CLANG_WARN_EMPTY_BODY = YES;
163+
CLANG_WARN_ENUM_CONVERSION = YES;
164+
CLANG_WARN_INFINITE_RECURSION = YES;
165+
CLANG_WARN_INT_CONVERSION = YES;
166+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
167+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
168+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
169+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
170+
CLANG_WARN_STRICT_PROTOTYPES = YES;
171+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
172+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
173+
CLANG_WARN_UNREACHABLE_CODE = YES;
174+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
175+
CODE_SIGN_IDENTITY = "Mac Developer";
176+
COPY_PHASE_STRIP = NO;
177+
DEBUG_INFORMATION_FORMAT = dwarf;
178+
ENABLE_STRICT_OBJC_MSGSEND = YES;
179+
ENABLE_TESTABILITY = YES;
180+
GCC_C_LANGUAGE_STANDARD = gnu11;
181+
GCC_DYNAMIC_NO_PIC = NO;
182+
GCC_NO_COMMON_BLOCKS = YES;
183+
GCC_OPTIMIZATION_LEVEL = 0;
184+
GCC_PREPROCESSOR_DEFINITIONS = (
185+
"DEBUG=1",
186+
"$(inherited)",
187+
);
188+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
189+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
190+
GCC_WARN_UNDECLARED_SELECTOR = YES;
191+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
192+
GCC_WARN_UNUSED_FUNCTION = YES;
193+
GCC_WARN_UNUSED_VARIABLE = YES;
194+
MACOSX_DEPLOYMENT_TARGET = 10.13;
195+
MTL_ENABLE_DEBUG_INFO = YES;
196+
ONLY_ACTIVE_ARCH = YES;
197+
SDKROOT = macosx;
198+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
199+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
200+
};
201+
name = Debug;
202+
};
203+
8EF6124A1F9E00E000267358 /* Release */ = {
204+
isa = XCBuildConfiguration;
205+
buildSettings = {
206+
ALWAYS_SEARCH_USER_PATHS = NO;
207+
CLANG_ANALYZER_NONNULL = YES;
208+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
209+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
210+
CLANG_CXX_LIBRARY = "libc++";
211+
CLANG_ENABLE_MODULES = YES;
212+
CLANG_ENABLE_OBJC_ARC = YES;
213+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
214+
CLANG_WARN_BOOL_CONVERSION = YES;
215+
CLANG_WARN_COMMA = YES;
216+
CLANG_WARN_CONSTANT_CONVERSION = YES;
217+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
218+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
219+
CLANG_WARN_EMPTY_BODY = YES;
220+
CLANG_WARN_ENUM_CONVERSION = YES;
221+
CLANG_WARN_INFINITE_RECURSION = YES;
222+
CLANG_WARN_INT_CONVERSION = YES;
223+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
224+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
225+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
226+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
227+
CLANG_WARN_STRICT_PROTOTYPES = YES;
228+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
229+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
230+
CLANG_WARN_UNREACHABLE_CODE = YES;
231+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
232+
CODE_SIGN_IDENTITY = "Mac Developer";
233+
COPY_PHASE_STRIP = NO;
234+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
235+
ENABLE_NS_ASSERTIONS = NO;
236+
ENABLE_STRICT_OBJC_MSGSEND = YES;
237+
GCC_C_LANGUAGE_STANDARD = gnu11;
238+
GCC_NO_COMMON_BLOCKS = YES;
239+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
240+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
241+
GCC_WARN_UNDECLARED_SELECTOR = YES;
242+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
243+
GCC_WARN_UNUSED_FUNCTION = YES;
244+
GCC_WARN_UNUSED_VARIABLE = YES;
245+
MACOSX_DEPLOYMENT_TARGET = 10.13;
246+
MTL_ENABLE_DEBUG_INFO = NO;
247+
SDKROOT = macosx;
248+
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
249+
};
250+
name = Release;
251+
};
252+
8EF6124C1F9E00E000267358 /* Debug */ = {
253+
isa = XCBuildConfiguration;
254+
buildSettings = {
255+
CODE_SIGN_STYLE = Automatic;
256+
DEVELOPMENT_TEAM = 7C4LVS3ZVC;
257+
PRODUCT_NAME = "$(TARGET_NAME)";
258+
SWIFT_VERSION = 4.0;
259+
};
260+
name = Debug;
261+
};
262+
8EF6124D1F9E00E000267358 /* Release */ = {
263+
isa = XCBuildConfiguration;
264+
buildSettings = {
265+
CODE_SIGN_STYLE = Automatic;
266+
DEVELOPMENT_TEAM = 7C4LVS3ZVC;
267+
PRODUCT_NAME = "$(TARGET_NAME)";
268+
SWIFT_VERSION = 4.0;
269+
};
270+
name = Release;
271+
};
272+
/* End XCBuildConfiguration section */
273+
274+
/* Begin XCConfigurationList section */
275+
8EF6123F1F9E00DF00267358 /* Build configuration list for PBXProject "Points Lines Planes" */ = {
276+
isa = XCConfigurationList;
277+
buildConfigurations = (
278+
8EF612491F9E00E000267358 /* Debug */,
279+
8EF6124A1F9E00E000267358 /* Release */,
280+
);
281+
defaultConfigurationIsVisible = 0;
282+
defaultConfigurationName = Release;
283+
};
284+
8EF6124B1F9E00E000267358 /* Build configuration list for PBXNativeTarget "Points Lines Planes" */ = {
285+
isa = XCConfigurationList;
286+
buildConfigurations = (
287+
8EF6124C1F9E00E000267358 /* Debug */,
288+
8EF6124D1F9E00E000267358 /* Release */,
289+
);
290+
defaultConfigurationIsVisible = 0;
291+
defaultConfigurationName = Release;
292+
};
293+
/* End XCConfigurationList section */
294+
};
295+
rootObject = 8EF6123C1F9E00DF00267358 /* Project object */;
296+
}

Points Lines Planes/Points Lines Planes.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)