From 48decab009ba68b18fa1179f11248f861d74d04f Mon Sep 17 00:00:00 2001 From: Nick Lockwood Date: Fri, 9 Feb 2024 19:04:25 +0000 Subject: [PATCH] Update for 0.7.7 release --- CHANGELOG.md | 5 + Euclid.podspec.json | 4 +- Euclid.xcodeproj/project.pbxproj | 4 +- all_identifiers.txt | 1 + all_symbols.txt | 1 + docs/data/documentation/euclid/path.json | 43 + .../euclid/path/init(_:)-5bu0o.json | 297 + .../euclid/polygon/clip(to:).json | 11 +- .../euclid/polygon/edges(intersecting:).json | 4 +- docs/diagnostics.json | 68 +- .../euclid/path/init(_:)-5bu0o/index.html | 1 + docs/index/index.json | 5 + docs/indexing-records.json | 7556 ++-- docs/linkable-entities.json | 34989 ++++++++-------- 14 files changed, 21708 insertions(+), 21281 deletions(-) create mode 100644 docs/data/documentation/euclid/path/init(_:)-5bu0o.json create mode 100644 docs/documentation/euclid/path/init(_:)-5bu0o/index.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 548fdba7..52ce63be 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## [0.7.7](https://github.com/nicklockwood/Euclid/releases/tag/0.7.7) (2024-02-11) + +- Added method to create a `Path` from a set of `LineSegment`s +- Improved decoding logic + ## [0.7.6](https://github.com/nicklockwood/Euclid/releases/tag/0.7.6) (2024-01-31) - Fixed plane/line intersection bug diff --git a/Euclid.podspec.json b/Euclid.podspec.json index eeda7b9a..e7ea65d4 100644 --- a/Euclid.podspec.json +++ b/Euclid.podspec.json @@ -1,6 +1,6 @@ { "name": "Euclid", - "version": "0.7.6", + "version": "0.7.7", "license": { "type": "MIT", "file": "LICENSE.md" @@ -10,7 +10,7 @@ "authors": "Nick Lockwood", "source": { "git": "https://github.com/nicklockwood/Euclid.git", - "tag": "0.7.6" + "tag": "0.7.7" }, "source_files": "Sources", "requires_arc": true, diff --git a/Euclid.xcodeproj/project.pbxproj b/Euclid.xcodeproj/project.pbxproj index 1ffa8b07..f097aa2a 100644 --- a/Euclid.xcodeproj/project.pbxproj +++ b/Euclid.xcodeproj/project.pbxproj @@ -796,7 +796,7 @@ "@executable_path/../Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 0.7.6; + MARKETING_VERSION = 0.7.7; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++14"; OTHER_SWIFT_FLAGS = "-Xfrontend -warn-long-expression-type-checking=75"; @@ -835,7 +835,7 @@ "@executable_path/../Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 0.7.6; + MARKETING_VERSION = 0.7.7; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++14"; OTHER_SWIFT_FLAGS = "-Xfrontend -warn-long-expression-type-checking=75"; diff --git a/all_identifiers.txt b/all_identifiers.txt index c899390f..14914224 100644 --- a/all_identifiers.txt +++ b/all_identifiers.txt @@ -353,6 +353,7 @@ doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/facePolygons(material: doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/faceVertices doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/init(_:)-3c0eo doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/init(_:)-4jhkw +doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/init(_:)-5bu0o doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/init(_:detail:color:) doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/init(cgPath:detail:color:) doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/init(from:) diff --git a/all_symbols.txt b/all_symbols.txt index 16a84bde..486eec4f 100644 --- a/all_symbols.txt +++ b/all_symbols.txt @@ -353,6 +353,7 @@ - ``doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/faceVertices`` - ``doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/init(_:)-3c0eo`` - ``doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/init(_:)-4jhkw`` +- ``doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/init(_:)-5bu0o`` - ``doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/init(_:detail:color:)`` - ``doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/init(cgPath:detail:color:)`` - ``doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/init(from:)`` diff --git a/docs/data/documentation/euclid/path.json b/docs/data/documentation/euclid/path.json index 2a2725fa..f4d4cf37 100644 --- a/docs/data/documentation/euclid/path.json +++ b/docs/data/documentation/euclid/path.json @@ -360,6 +360,7 @@ }, { "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-5bu0o", "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(cgPath:detail:color:)", "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(polygon:)" ], @@ -1599,6 +1600,48 @@ "type" : "topic", "url" : "\/documentation\/euclid\/path\/init(_:)-4jhkw" }, +"doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/init(_:)-5bu0o": { + "abstract" : [ + { + "text" : "Creates a path from a set of line segments.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "identifier", + "text" : "init" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sh", + "text" : "Set" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" + }, + { + "kind" : "text", + "text" : ">)" + } + ], + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-5bu0o", + "kind" : "symbol", + "role" : "symbol", + "title" : "init(_:)", + "type" : "topic", + "url" : "\/documentation\/euclid\/path\/init(_:)-5bu0o" +}, "doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/init(_:detail:color:)": { "abstract" : [ { diff --git a/docs/data/documentation/euclid/path/init(_:)-5bu0o.json b/docs/data/documentation/euclid/path/init(_:)-5bu0o.json new file mode 100644 index 00000000..c674a186 --- /dev/null +++ b/docs/data/documentation/euclid/path/init(_:)-5bu0o.json @@ -0,0 +1,297 @@ +{ + "abstract" : [ + { + "text" : "Creates a path from a set of line segments.", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-5bu0o" + }, + "kind" : "symbol", + "metadata" : { + "extendedModule" : "Euclid", + "externalID" : "s:6Euclid4PathVyACShyAA11LineSegmentVGcfc", + "fragments" : [ + { + "kind" : "identifier", + "text" : "init" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sh", + "text" : "Set" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" + }, + { + "kind" : "text", + "text" : ">)" + } + ], + "modules" : [ + { + "name" : "Euclid" + } + ], + "role" : "symbol", + "roleHeading" : "Initializer", + "symbolKind" : "init", + "title" : "init(_:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "init" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "_" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "internalParam", + "text" : "lineSegments" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sh", + "text" : "Set" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" + }, + { + "kind" : "text", + "text" : ">)" + } + ] + } + ], + "kind" : "declarations" + }, + { + "kind" : "parameters", + "parameters" : [ + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "A set of", + "type" : "text" + }, + { + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment", + "isActive" : true, + "type" : "reference" + }, + { + "text" : " to convert to a path.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "lineSegments" + } + ] + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/euclid\/path\/init(_:)-5bu0o" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://com.charcoaldesign.Euclid/documentation/Euclid": { + "abstract" : [ + { + "text" : "Euclid is a library for creating and manipulating 3D geometry using techniques such as extruding or “lathing” 2D paths to create solid 3D shapes, and CSG (Constructive Solid Geometry) to combine or subtract those shapes from one another.", + "type" : "text" + } + ], + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid", + "kind" : "symbol", + "role" : "collection", + "title" : "Euclid", + "type" : "topic", + "url" : "\/documentation\/euclid" +}, +"doc://com.charcoaldesign.Euclid/documentation/Euclid/LineSegment": { + "abstract" : [ + { + "text" : "A finite line segment in 3D space.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "struct" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "LineSegment" + } + ], + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "LineSegment" + } + ], + "role" : "symbol", + "title" : "LineSegment", + "type" : "topic", + "url" : "\/documentation\/euclid\/linesegment" +}, +"doc://com.charcoaldesign.Euclid/documentation/Euclid/Path": { + "abstract" : [ + { + "text" : "A path made up of a sequence of straight line segments between points.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "struct" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "Path" + } + ], + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "Path" + } + ], + "role" : "symbol", + "title" : "Path", + "type" : "topic", + "url" : "\/documentation\/euclid\/path" +}, +"doc://com.charcoaldesign.Euclid/documentation/Euclid/Path/init(_:)-5bu0o": { + "abstract" : [ + { + "text" : "Creates a path from a set of line segments.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "identifier", + "text" : "init" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sh", + "text" : "Set" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" + }, + { + "kind" : "text", + "text" : ">)" + } + ], + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-5bu0o", + "kind" : "symbol", + "role" : "symbol", + "title" : "init(_:)", + "type" : "topic", + "url" : "\/documentation\/euclid\/path\/init(_:)-5bu0o" +} +} +} \ No newline at end of file diff --git a/docs/data/documentation/euclid/polygon/clip(to:).json b/docs/data/documentation/euclid/polygon/clip(to:).json index 4e5d3bbc..ba21cca1 100644 --- a/docs/data/documentation/euclid/polygon/clip(to:).json +++ b/docs/data/documentation/euclid/polygon/clip(to:).json @@ -151,7 +151,16 @@ { "inlineContent" : [ { - "text" : "The plane to clip the polygon to.", + "text" : "The ", + "type" : "text" + }, + { + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane", + "isActive" : true, + "type" : "reference" + }, + { + "text" : " to clip the polygon to.", "type" : "text" } ], diff --git a/docs/data/documentation/euclid/polygon/edges(intersecting:).json b/docs/data/documentation/euclid/polygon/edges(intersecting:).json index ddd14918..5e9fe040 100644 --- a/docs/data/documentation/euclid/polygon/edges(intersecting:).json +++ b/docs/data/documentation/euclid/polygon/edges(intersecting:).json @@ -169,7 +169,7 @@ { "inlineContent" : [ { - "text" : "A ", + "text" : "The ", "type" : "text" }, { @@ -178,7 +178,7 @@ "type" : "reference" }, { - "text" : " to test against the mesh.", + "text" : " to test against the polygon.", "type" : "text" } ], diff --git a/docs/diagnostics.json b/docs/diagnostics.json index 67504f84..c80c7931 100644 --- a/docs/diagnostics.json +++ b/docs/diagnostics.json @@ -28,24 +28,24 @@ ], "severity" : 2, - "source" : "Extensions\/Quaternion.md", + "source" : "..\/Sources\/Vector.swift", "start" : { "column" : 17, - "line" : 52 + "line" : 104 }, - "summary" : "'(_:_:)' doesn't exist at '\/Euclid\/Quaternion'" + "summary" : "'(_:_:)' doesn't exist at '\/Euclid\/Vector'" }, { "notes" : [ ], "severity" : 2, - "source" : "Extensions\/Quaternion.md", + "source" : "..\/Sources\/Vector.swift", "start" : { "column" : 17, - "line" : 53 + "line" : 105 }, - "summary" : "'=(_:_:)' doesn't exist at '\/Euclid\/Quaternion'" + "summary" : "'=(_:_:)' doesn't exist at '\/Euclid\/Vector'" }, { "notes" : [ @@ -76,24 +76,24 @@ ], "severity" : 2, - "source" : "..\/Sources\/Vector.swift", + "source" : "Extensions\/Quaternion.md", "start" : { "column" : 17, - "line" : 104 + "line" : 52 }, - "summary" : "'(_:_:)' doesn't exist at '\/Euclid\/Vector'" + "summary" : "'(_:_:)' doesn't exist at '\/Euclid\/Quaternion'" }, { "notes" : [ ], "severity" : 2, - "source" : "..\/Sources\/Vector.swift", + "source" : "Extensions\/Quaternion.md", "start" : { "column" : 17, - "line" : 105 + "line" : 53 }, - "summary" : "'=(_:_:)' doesn't exist at '\/Euclid\/Vector'" + "summary" : "'=(_:_:)' doesn't exist at '\/Euclid\/Quaternion'" }, { "notes" : [ @@ -124,34 +124,34 @@ ], "severity" : 2, - "source" : "..\/Sources\/Rotation.swift", + "source" : "Extensions\/Vector.md", "start" : { - "column" : 19, - "line" : 86 + "column" : 13, + "line" : 71 }, - "summary" : "'(_:_:)' doesn't exist at '\/Euclid\/Rotation'" + "summary" : "'(_:_:)' doesn't exist at '\/Euclid\/Vector'" }, { "notes" : [ ], "severity" : 2, - "source" : "..\/Sources\/Rotation.swift", + "source" : "Extensions\/Vector.md", "start" : { - "column" : 19, - "line" : 87 + "column" : 13, + "line" : 72 }, - "summary" : "'=(_:_:)' doesn't exist at '\/Euclid\/Rotation'" + "summary" : "'=(_:_:)' doesn't exist at '\/Euclid\/Vector'" }, { "notes" : [ ], "severity" : 2, - "source" : "Extensions\/Rotation.md", + "source" : "..\/Sources\/Rotation.swift", "start" : { - "column" : 15, - "line" : 49 + "column" : 19, + "line" : 86 }, "summary" : "'(_:_:)' doesn't exist at '\/Euclid\/Rotation'" }, @@ -160,10 +160,10 @@ ], "severity" : 2, - "source" : "Extensions\/Rotation.md", + "source" : "..\/Sources\/Rotation.swift", "start" : { - "column" : 15, - "line" : 50 + "column" : 19, + "line" : 87 }, "summary" : "'=(_:_:)' doesn't exist at '\/Euclid\/Rotation'" }, @@ -172,23 +172,23 @@ ], "severity" : 2, - "source" : "Extensions\/Vector.md", + "source" : "Extensions\/Rotation.md", "start" : { - "column" : 13, - "line" : 71 + "column" : 15, + "line" : 49 }, - "summary" : "'(_:_:)' doesn't exist at '\/Euclid\/Vector'" + "summary" : "'(_:_:)' doesn't exist at '\/Euclid\/Rotation'" }, { "notes" : [ ], "severity" : 2, - "source" : "Extensions\/Vector.md", + "source" : "Extensions\/Rotation.md", "start" : { - "column" : 13, - "line" : 72 + "column" : 15, + "line" : 50 }, - "summary" : "'=(_:_:)' doesn't exist at '\/Euclid\/Vector'" + "summary" : "'=(_:_:)' doesn't exist at '\/Euclid\/Rotation'" } ] \ No newline at end of file diff --git a/docs/documentation/euclid/path/init(_:)-5bu0o/index.html b/docs/documentation/euclid/path/init(_:)-5bu0o/index.html new file mode 100644 index 00000000..d5a5096b --- /dev/null +++ b/docs/documentation/euclid/path/init(_:)-5bu0o/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/index/index.json b/docs/index/index.json index 0c6f0c10..7b03e050 100644 --- a/docs/index/index.json +++ b/docs/index/index.json @@ -1491,6 +1491,11 @@ "title" : "Initializers", "type" : "groupMarker" }, + { + "path" : "\/documentation\/euclid\/path\/init(_:)-5bu0o", + "title" : "init(Set)", + "type" : "init" + }, { "path" : "\/documentation\/euclid\/path\/init(cgpath:detail:color:)", "title" : "init(cgPath: CGPath, detail: Int, color: Color?)", diff --git a/docs/indexing-records.json b/docs/indexing-records.json index 4db65e32..b47379bb 100644 --- a/docs/indexing-records.json +++ b/docs/indexing-records.json @@ -7,13 +7,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scale(by:)-7dhh3" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasVertexNormals" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "A Boolean value that indicates whether the mesh includes vertex normals that differ from the face normal. ", + "summary" : "A Boolean value that indicates whether the mesh includes vertex normals that differ from the face normal.", + "title" : "hasVertexNormals" }, { "headings" : [ @@ -23,13 +23,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/bounds" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounded" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The bounding box containing the line segment. ", - "summary" : "The bounding box containing the line segment.", - "title" : "bounds" + "rawIndexableTextContent" : "A common protocol for objects that have a bounds. ", + "summary" : "A common protocol for objects that have a bounds.", + "title" : "Bounded" }, { "headings" : [ @@ -39,29 +39,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/back" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Generate back faces. ", - "summary" : "Generate back faces.", - "title" : "Mesh.Faces.back" + "rawIndexableTextContent" : "Creates a new path by decoding from the given decoder. The decoder to read data from.", + "summary" : "Creates a new path by decoding from the given decoder.", + "title" : "init(from:)" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(points:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-5bh7b" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a plane from a set of points. A set of coplanar points describing a polygon. Discussion The polygon can be convex or concave. The direction of the plane normal is based on the assumption that the points are wound in an anti-clockwise direction.", - "summary" : "Creates a plane from a set of points.", - "title" : "init(points:)" + "rawIndexableTextContent" : "Creates a bounds from two SceneKit vectors. A tuple of two SCNVector3 that represent opposite corners of the bounding box volume.", + "summary" : "Creates a bounds from two SceneKit vectors.", + "title" : "init(_:)" }, { "headings" : [ @@ -71,13 +71,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/extrusionContours(along:twist:align:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scaled(by:)-3shbk" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates an array of contours by extruding one path along another path. The path along which to extrude the shape. Angular twist to apply along the extrusion. The alignment mode to use for the extruded shape.", - "summary" : "Creates an array of contours by extruding one path along another path.", - "title" : "extrusionContours(along:twist:align:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -87,29 +87,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/g" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-2lm8c" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The green component of the color. ", - "summary" : "The green component of the color.", - "title" : "g" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/yellow" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stlData(colorLookup:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "yellow" + "rawIndexableTextContent" : "Return binary STL data for the mesh. A closure to map Euclid materials to STL facet colors. Use nil for default mapping. Return Value A Euclid Color value.", + "summary" : "Return binary STL data for the mesh.", + "title" : "stlData(colorLookup:)" }, { "headings" : [ @@ -119,29 +119,30 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/gray" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:)-2uz97" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "gray" + "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", + "summary" : "Inherited from Comparable....(_:).", + "title" : "...(_:)" }, { "headings" : [ - + "Return Value", + "Discussion" ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Encodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersection(_:isCancelled:)-swift.method" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Encodable Implementations" + "rawIndexableTextContent" : "Returns a new mesh representing the volume shared by both the mesh parameter and the receiver. If these do not intersect, an empty mesh will be returned. Return Value A new mesh representing the intersection of the meshes. Discussion Parameters mesh: The mesh to be intersected with this one. isCancelled: Callback used to cancel the operation.", + "summary" : "Returns a new mesh representing the volume shared by both the mesh parameter and the receiver. If these do not intersect, an empty mesh will be returned.", + "title" : "intersection(_:isCancelled:)" }, { "headings" : [ @@ -152,12 +153,12 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/symmetricDifference(_:isCancelled:)-swift.method" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/symmetricDifference(_:isCancelled:)-swift.type.method" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a new mesh reprenting only the volume exclusively occupied by one shape or the other, but not both. Return Value A new mesh representing the XOR of the meshes. Discussion Parameters mesh: The mesh to be XORed with this one. isCancelled: Callback used to cancel the operation.", - "summary" : "Returns a new mesh reprenting only the volume exclusively occupied by one shape or the other, but not both.", + "rawIndexableTextContent" : "Efficiently XORs multiple meshes. Return Value A new mesh representing the XOR of the meshes. Discussion Parameters meshes: A collection of meshes to be XORed. isCancelled: Callback used to cancel the operation", + "summary" : "Efficiently XORs multiple meshes.", "title" : "symmetricDifference(_:isCancelled:)" }, { @@ -168,30 +169,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/SCNMaterialProvider" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-9o28g" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A closure that maps a SceneKit material to a Euclid material. An SCNMaterial material to convert. Return Value A Mesh.Material instance, or nil for the default material.", - "summary" : "A closure that maps a SceneKit material to a Euclid material.", - "title" : "Mesh.SCNMaterialProvider" + "rawIndexableTextContent" : "Computes the point of intersection between a line segment and a plane. The LineSegment to compare with. Return Value The point of intersection between the line segment and plane, or nil if they do not intersect.", + "summary" : "Computes the point of intersection between a line segment and a plane.", + "title" : "intersection(with:)" }, { "headings" : [ - "Return Value", - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/merge(_:)-swift.type.method" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/area" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new mesh that is the combination of the polygons from all the specified meshes. The meshes to merge. Return Value A new mesh that includes all polygons from all meshes. Discussion No attempt is made to deduplicate or join meshes. Polygons are neither split nor removed.", - "summary" : "Creates a new mesh that is the combination of the polygons from all the specified meshes.", - "title" : "merge(_:)" + "rawIndexableTextContent" : "Returns the area of the polygon. ", + "summary" : "Returns the area of the polygon.", + "title" : "area" }, { "headings" : [ @@ -201,13 +201,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/transform(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new mesh from an array of polygons. The polygons making up the mesh.", - "summary" : "Creates a new mesh from an array of polygons.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", + "summary" : "Transform the value in place.", + "title" : "transform(by:)" }, { "headings" : [ @@ -217,13 +217,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/plane" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/length" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The plane on which all vertices lie. ", - "summary" : "The plane on which all vertices lie.", - "title" : "plane" + "rawIndexableTextContent" : "The length of the line segment. ", + "summary" : "The length of the line segment.", + "title" : "length" }, { "headings" : [ @@ -233,16 +233,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/smoothNormals(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/translated(by:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Deprecated. ", - "summary" : "Deprecated.", - "title" : "smoothNormals(_:)" + "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", + "summary" : "Returns a translated copy of the value.", + "title" : "translated(by:)" }, { "headings" : [ @@ -252,13 +249,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scale(by:)-vnel" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transformed(by:)-21ah6" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", + "summary" : "Returns a transformed copy of the value.", + "title" : "transformed(by:)" }, { "headings" : [ @@ -268,11 +265,11 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scale(by:)-8v4ag" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scale(by:)-8ec9r" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", + "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", "summary" : "Scale the value in place.", "title" : "scale(by:)" }, @@ -280,17 +277,17 @@ "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-2lm8c" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Decodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Decodable Implementations" }, { "headings" : [ @@ -300,29 +297,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/z" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scale(by:)-4egi6" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The Z component of the vector. ", - "summary" : "The Z component of the vector.", - "title" : "z" + "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/tan(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/smoothNormals(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes the trigonometric tangent of an angle. The angle to calculate the tangent for. Return Value The trigonometric tangent of the angle.", - "summary" : "Computes the trigonometric tangent of an angle.", - "title" : "tan(_:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Deprecated. ", + "summary" : "Deprecated.", + "title" : "smoothNormals(_:)" }, { "headings" : [ @@ -332,29 +332,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/withAlpha(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a copy of the color updated with the specified alpha. ", - "summary" : "Creates a copy of the color updated with the specified alpha.", - "title" : "withAlpha(_:)" + "rawIndexableTextContent" : "Creates a new line segment by decoding from the given decoder. The decoder to read data from.", + "summary" : "Creates a new line segment by decoding from the given decoder.", + "title" : "init(from:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/translated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Decodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", - "summary" : "Returns a translated copy of the value.", - "title" : "translated(by:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Decodable Implementations" }, { "headings" : [ @@ -364,29 +364,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/up" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/*=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A normalized direction vector pointing upwards relative to the current rotation. ", - "summary" : "A normalized direction vector pointing upwards relative to the current rotation.", - "title" : "up" + "rawIndexableTextContent" : "Transform the value in place. ", + "summary" : "Transform the value in place.", + "title" : "*=(_:_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/STLMaterialProvider" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:ignoringTransforms:materialLookup:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A closure that maps an STL facet color to a Euclid material. A Euclid Color to convert, or nil for the default color. Return Value A Euclid Material value, or nil for the default material.", - "summary" : "A closure that maps an STL facet color to a Euclid material.", - "title" : "Mesh.STLMaterialProvider" + "rawIndexableTextContent" : "Creates a mesh from a SceneKit node, with optional material mapping. The SCNNode to convert into a mesh. Should transforms from the input node and its children be ignored. An optional closure to map the SceneKit materials to Euclid materials. If omitted, the SCNMaterial will be directly used as the mesh material.", + "summary" : "Creates a mesh from a SceneKit node, with optional material mapping.", + "title" : "init(_:ignoringTransforms:materialLookup:)" }, { "headings" : [ @@ -396,13 +396,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/translated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materials:)-22brv" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", - "summary" : "Returns a translated copy of the value.", - "title" : "translated(by:)" + "platforms" : [ + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "15.0", + "name" : "iOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "12.0", + "name" : "macOS", + "unavailable" : false + } + ], + "rawIndexableTextContent" : "Creates a mesh from a RealityKit MeshDescriptor with optional material. The MeshDescriptor to convert into a mesh. An array of materials to apply to the mesh.", + "summary" : "Creates a mesh from a RealityKit MeshDescriptor with optional material.", + "title" : "init(_:materials:)" }, { "headings" : [ @@ -412,7 +428,7 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Transformable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Transformable-Implementations" }, "type" : "topLevelPage" }, @@ -428,16 +444,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/with(color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/roundedRectangle(width:height:radius:detail:color:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Deprecated. ", - "summary" : "Deprecated.", - "title" : "with(color:)" + "rawIndexableTextContent" : "Creates a rounded rectangle path. The width of the rectangle. The height of the rectangle. The corner radius, The number of line segments used to approximate each corner curve. An optional Color to apply to the path’s points.", + "summary" : "Creates a rounded rectangle path.", + "title" : "roundedRectangle(width:height:radius:detail:color:)" }, { "headings" : [ @@ -447,64 +460,48 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/translated(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", - "summary" : "Returns a rotated copy of the value.", - "title" : "rotated(by:)" - }, - { - "headings" : [ - "Return Value", - "Discussion" - ], - "kind" : "symbol", - "location" : { - "reference" : { - "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/merge(_:)-swift.method" - }, - "type" : "topLevelPage" - }, - "rawIndexableTextContent" : "Merges the polygons from two meshes. The mesh to merge with this one. Return Value A new mesh that includes all polygons from both meshes. Discussion No attempt is made to deduplicate or join meshes. Polygons are neither split nor removed.", - "summary" : "Merges the polygons from two meshes.", - "title" : "merge(_:)" + "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", + "summary" : "Returns a translated copy of the value.", + "title" : "translated(by:)" }, { "headings" : [ - "Return Value", - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stencil(_:isCancelled:)-swift.type.method" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/sphereMapped()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Efficiently performs a stencil with multiple meshes. Return Value A new mesh representing the result of stencilling. Discussion Parameters meshes: An ordered collection of meshes. All but the first will be stencilled onto the first. isCancelled: Callback used to cancel the operation.", - "summary" : "Efficiently performs a stencil with multiple meshes.", - "title" : "stencil(_:isCancelled:)" + "rawIndexableTextContent" : "Return a copy of the mesh with spherically-mapped texture coordinates. ", + "summary" : "Return a copy of the mesh with spherically-mapped texture coordinates.", + "title" : "sphereMapped()" }, { "headings" : [ - "Return Value", - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersection(_:isCancelled:)-swift.type.method" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/isNormalized" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Efficiently computes the intersection of multiple meshes. Return Value A new mesh representing the intersection of the meshes. Discussion Parameters meshes: A collection of meshes to be intersected. isCancelled: Callback used to cancel the operation.", - "summary" : "Efficiently computes the intersection of multiple meshes.", - "title" : "intersection(_:isCancelled:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "A Boolean value that indicates whether the quaternion has a length of 1. ", + "summary" : "A Boolean value that indicates whether the quaternion has a length of 1.", + "title" : "isNormalized" }, { "headings" : [ @@ -514,13 +511,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotate(by:)-3ed6z" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "Creates a new transform by decoding from the given decoder. The decoder to read data from.", + "summary" : "Creates a new transform by decoding from the given decoder.", + "title" : "init(from:)" }, { "headings" : [ @@ -530,61 +527,61 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/line(_:_:color:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a vector with all components inverted. ", - "summary" : "Returns a vector with all components inverted.", - "title" : "-(_:)" + "rawIndexableTextContent" : "Creates a linear path from a start and end point. The starting point of the line. The ending point of the line. An optional Color to apply to the path’s points.", + "summary" : "Creates a linear path from a start and end point.", + "title" : "line(_:_:color:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withColor(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a copy of the vertex with the specified color. The color to apply to the vertex.", - "summary" : "Creates a copy of the vertex with the specified color.", - "title" : "withColor(_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/*(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. ", - "summary" : "Returns a transformed copy of the value.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ - + "Return Value" ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Encodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersects(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Encodable Implementations" + "rawIndexableTextContent" : "Returns a Boolean value that indicates whether two line segements intersect. The line segment to compare with. Return Value true if the line segments intersect and false otherwise.", + "summary" : "Returns a Boolean value that indicates whether two line segements intersect.", + "title" : "intersects(_:)" }, { "headings" : [ @@ -594,29 +591,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/polygons" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", - "summary" : "Returns a rotated copy of the value.", - "title" : "rotated(by:)" + "rawIndexableTextContent" : "The polygons that make up the mesh. ", + "summary" : "The polygons that make up the mesh.", + "title" : "polygons" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Encodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*(_:_:)-8l78z" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Encodable Implementations" + "rawIndexableTextContent" : "Returns the product of an angle and numeric multiplier. ", + "summary" : "Returns the product of an angle and numeric multiplier.", + "title" : "*(_:_:)" }, { "headings" : [ @@ -626,13 +623,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-1icmf" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "rawIndexableTextContent" : "Creates a bounds from a collection of Bounded objects. A collection of bounded objects.", + "summary" : "Creates a bounds from a collection of Bounded objects.", + "title" : "init(_:)" }, { "headings" : [ @@ -642,29 +639,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transform(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/.._(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", - "summary" : "Transform the value in place.", - "title" : "transform(by:)" + "rawIndexableTextContent" : "Inherited from Comparable...<(_:_:). ", + "summary" : "Inherited from Comparable...<(_:_:).", + "title" : "..<(_:_:)" }, { "headings" : [ - "Return Value" + ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/containsPoint(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Encodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a Boolean value that indicates whether the specified point lies on the line. The point to test. Return Value true if the point lies on the line and false otherwise.", - "summary" : "Returns a Boolean value that indicates whether the specified point lies on the line.", - "title" : "containsPoint(_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Encodable Implementations" }, { "headings" : [ @@ -674,13 +671,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/bounds" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotate(by:)-11t07" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The bounding box containing the polygon. ", - "summary" : "The bounding box containing the polygon.", - "title" : "bounds" + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ @@ -690,16 +687,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/roll" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+(_:_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "The angle of rotation around the Z-axis. ", - "summary" : "The angle of rotation around the Z-axis.", - "title" : "roll" + "rawIndexableTextContent" : "Returns the sum of two angles. ", + "summary" : "Returns the sum of two angles.", + "title" : "+(_:_:)" }, { "headings" : [ @@ -709,29 +703,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/transform(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/halfPi" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", - "summary" : "Transform the value in place.", - "title" : "transform(by:)" + "rawIndexableTextContent" : "Angle representing a quarter rotation. ", + "summary" : "Angle representing a quarter rotation.", + "title" : "halfPi" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Transformable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/translate(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Transformable Implementations" + "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", + "summary" : "Translate the value in place.", + "title" : "translate(by:)" }, { "headings" : [ @@ -741,43 +735,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/localizedDescription" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/!=(_:_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "8.0", - "name" : "iOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "10.10", - "name" : "macOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "9.0", - "name" : "tvOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "2.0", - "name" : "watchOS", - "unavailable" : false - } - ], - "rawIndexableTextContent" : "Inherited from Error.localizedDescription. ", - "summary" : "Inherited from Error.localizedDescription.", - "title" : "localizedDescription" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ @@ -787,13 +751,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/y" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/latheProfile" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The Y component of the vector. ", - "summary" : "The Y component of the vector.", - "title" : "y" + "rawIndexableTextContent" : "Cropped and flattened version of path suitable for lathing around the Y axis. ", + "summary" : "Cropped and flattened version of path suitable for lathing around the Y axis.", + "title" : "latheProfile" }, { "headings" : [ @@ -803,13 +767,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-8izj" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/codableClasses" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a Rotation from a simd quaternion. A simd quaternion.", - "summary" : "Creates a Rotation from a simd quaternion.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Supported NSSecureCodable Material base classes. ", + "summary" : "Supported NSSecureCodable Material base classes.", + "title" : "codableClasses" }, { "headings" : [ @@ -819,13 +783,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-90bab" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new mesh by decoding from the given decoder. The decoder to read data from.", - "summary" : "Creates a new mesh by decoding from the given decoder.", - "title" : "init(from:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -835,13 +799,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cube(center:size:faces:wrapMode:material:)-8t5q8" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(degrees:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates an axis-aligned cuboidal mesh. The center point of the mesh. The size of the cuboid mesh. The direction of the generated polygon faces. The way that texture coordinates are calculated for the cube. The optional material for the mesh.", - "summary" : "Creates an axis-aligned cuboidal mesh.", - "title" : "cube(center:size:faces:wrapMode:material:)" + "rawIndexableTextContent" : "Creates an Angle from a degrees value. The angle in degrees.", + "summary" : "Creates an Angle from a degrees value.", + "title" : "init(degrees:)" }, { "headings" : [ @@ -851,13 +815,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/min" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/transform(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The minimum coordinate of the bounds. ", - "summary" : "The minimum coordinate of the bounds.", - "title" : "min" + "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", + "summary" : "Transform the value in place.", + "title" : "transform(by:)" }, { "headings" : [ @@ -867,7 +831,7 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/*=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/*=(_:_:)" }, "type" : "topLevelPage" }, @@ -883,61 +847,64 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/*(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/encode(to:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. ", - "summary" : "Returns a transformed copy of the value.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "Encodes this polygon into the given encoder. The encoder to write data to.", + "summary" : "Encodes this polygon into the given encoder.", + "title" : "encode(to:)" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:)-2uz97" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-75on2" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", - "summary" : "Inherited from Comparable....(_:).", - "title" : "...(_:)" + "rawIndexableTextContent" : "Computes the convex hull of a set of vertices. Discussion Parameters vertices: A set of vertices to compute the hull around. material: An optional material to apply to the mesh.", + "summary" : "Computes the convex hull of a set of vertices.", + "title" : "convexHull(of:material:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotate(by:)-2ix6y" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/inverted()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "Flips the face direction and vertex normals of all polygons within the mesh. Return Value The inverted mesh.", + "summary" : "Flips the face direction and vertex normals of all polygons within the mesh.", + "title" : "inverted()" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/CustomNSError-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotated(by:)-5mcqw" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "CustomNSError Implementations" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", + "summary" : "Returns a rotated copy of the value.", + "title" : "rotated(by:)" }, { "headings" : [ @@ -947,13 +914,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/*(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scale(by:)-55ayx" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. ", - "summary" : "Returns a transformed copy of the value.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ @@ -963,13 +930,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/undirectedEdges" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/encode(to:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An unordered set of polygon edges. The direction of each edge is normalized relative to the origin to simplify edge-equality comparisons. ", - "summary" : "An unordered set of polygon edges. The direction of each edge is normalized relative to the origin to simplify edge-equality comparisons.", - "title" : "undirectedEdges" + "rawIndexableTextContent" : "Encodes this line segment into the given encoder. The encoder to write data to.", + "summary" : "Encodes this line segment into the given encoder.", + "title" : "encode(to:)" }, { "headings" : [ @@ -979,13 +946,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/green" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curve(_:_:_:texcoord:color:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "green" + "rawIndexableTextContent" : "Creates a curved path point at the specified X, Y and Z coordinates. The X coordinate of the path point. The Y coordinate of the path point. The Z coordinate of the path point. An optional texture coordinate for this path point. An optional vertex color for this path point.", + "summary" : "Creates a curved path point at the specified X, Y and Z coordinates.", + "title" : "curve(_:_:_:texcoord:color:)" }, { "headings" : [ @@ -995,29 +962,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/slerp(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/tan(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Performs a spherical linear interpolation between two rotations. The rotation to interpolate towards. The normalized extent of interpolation, from 0 to 1. Return Value The interpolated rotation.", - "summary" : "Performs a spherical linear interpolation between two rotations.", - "title" : "slerp(_:_:)" + "rawIndexableTextContent" : "Computes the trigonometric tangent of an angle. The angle to calculate the tangent for. Return Value The trigonometric tangent of the angle.", + "summary" : "Computes the trigonometric tangent of an angle.", + "title" : "tan(_:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new color by decoding from the given decoder. The decoder to read data from.", - "summary" : "Creates a new color by decoding from the given decoder.", - "title" : "init(from:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ @@ -1027,12 +994,12 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersection(with:)-2nysu" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-79olr" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the point where the specified line intersects this one. The line to compare with. Return Value The point of intersection, or nil if the lines don’t intersect.", - "summary" : "Returns the point where the specified line intersects this one.", + "rawIndexableTextContent" : "Computes the point of intersection between a line and a plane. The Line to compare with. Return Value The point of intersection between the line and plane, or nil if they are parallel.", + "summary" : "Computes the point of intersection between a line and a plane.", "title" : "intersection(with:)" }, { @@ -1043,45 +1010,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/inset(by:)-49ykf" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/edgeVertices(for:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a new bounds inset by the specified distance. The distance to inset the bounds by. Use negative values to expand the bounds. Return Value The inset bounds.", - "summary" : "Returns a new bounds inset by the specified distance.", - "title" : "inset(by:)" + "rawIndexableTextContent" : "An array of vertices suitable for constructing a set of edge polygons for the path. The wrap mode to use for generating texture coordinates. Return Value The edge vertices, or an empty array if path has subpaths.", + "summary" : "An array of vertices suitable for constructing a set of edge polygons for the path.", + "title" : "edgeVertices(for:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/color" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/inset(by:)-49ykf" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The color for the vertex. This will be multiplied by the material color, so set it to white if you do not require per-vertex colors. ", - "summary" : "The color for the vertex. This will be multiplied by the material color, so set it to white if you do not require per-vertex colors.", - "title" : "color" + "rawIndexableTextContent" : "Returns a new bounds inset by the specified distance. The distance to inset the bounds by. Use negative values to expand the bounds. Return Value The inset bounds.", + "summary" : "Returns a new bounds inset by the specified distance.", + "title" : "inset(by:)" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(size:)-8b34m" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(yaw:pitch:roll:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a size\/scale vector from an array of two coordinates. An array of vector components. Discussion Omitted values are set equal to the first value specified. If no values as specified, the size defaults to one.", - "summary" : "Creates a size\/scale vector from an array of two coordinates.", - "title" : "init(size:)" + "rawIndexableTextContent" : "Creates a rotation from Euler angles applied in yaw\/pitch\/roll order. The angle of rotation around the Y axis. This is applied first. The angle of rotation around the X axis. This is applied second. The angle of rotation around the Z axis. This is applied last.", + "summary" : "Creates a rotation from Euler angles applied in yaw\/pitch\/roll order.", + "title" : "init(yaw:pitch:roll:)" }, { "headings" : [ @@ -1091,13 +1058,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/empty" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/w" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An empty mesh. ", - "summary" : "An empty mesh.", - "title" : "empty" + "rawIndexableTextContent" : "The perpendicular distance from the world origin to the plane. ", + "summary" : "The perpendicular distance from the world origin to the plane.", + "title" : "w" }, { "headings" : [ @@ -1107,29 +1074,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(axis:angle:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/*(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a rotation from an axis and angle. A vector defining the axis of rotation. The angle of rotation around the axis.", - "summary" : "Creates a rotation from an axis and angle.", - "title" : "init(axis:angle:)" + "rawIndexableTextContent" : "Returns a transformed copy of the value. ", + "summary" : "Returns a transformed copy of the value.", + "title" : "*(_:_:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/line(_:color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/Encodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a linear path from a line segment. The LineSegment defining the path. An optional Color to apply to the path’s points.", - "summary" : "Creates a linear path from a line segment.", - "title" : "line(_:color:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Encodable Implementations" }, { "headings" : [ @@ -1139,29 +1106,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/components" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/-(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns an array containing the red, green, blue, and alpha components of the color. ", - "summary" : "Returns an array containing the red, green, blue, and alpha components of the color.", - "title" : "components" + "rawIndexableTextContent" : "Returns the inverse rotation. ", + "summary" : "Returns the inverse rotation.", + "title" : "-(_:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/ellipse(width:height:segments:color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a closed elliptical path. The horizontal diameter of the ellipse. The vertical diameter of the ellipse. The number of line segments used to approximate the ellipse. An optional Color to apply to the path’s points.", - "summary" : "Creates a closed elliptical path.", - "title" : "ellipse(width:height:segments:color:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ @@ -1171,77 +1138,80 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/length" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/angle" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The total length of the path. ", - "summary" : "The total length of the path.", - "title" : "length" + "platforms" : [ + + ], + "rawIndexableTextContent" : "The angle of rotation. ", + "summary" : "The angle of rotation.", + "title" : "angle" }, { "headings" : [ - "Overview" + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/containsPoint(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A path made up of a sequence of straight line segments between points. Overview A Path can be either open (a polyline) or closed (a polygon), but should not be self-intersecting or otherwise degenerate. A path may be formed from multiple subpaths, which can be accessed via the subpaths property. A closed Path can be converted to one or more Polygons, but it can also be used for other purposes, such as defining a cross-section or profile of a 3D shape. Paths are typically 2-dimensional, but because PathPoint positions have a Z coordinate, they are not required to be. Even a flat Path (where all points lie on the same plane) can be translated or rotated so that its points do not necessarily lie on the XY plane.", - "summary" : "A path made up of a sequence of straight line segments between points.", - "title" : "Path" + "rawIndexableTextContent" : "Returns a Boolean value that indicates whether a point lies inside the polygon, on the same plane. The point to test. Return Value true if the point lies inside the polygon and false otherwise.", + "summary" : "Returns a Boolean value that indicates whether a point lies inside the polygon, on the same plane.", + "title" : "containsPoint(_:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/text(_:width:detail:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/distance(from:)-3eglz" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates an array of glyph contours from an attributed string. The text to convert. The optional width at which to line-wrap the text. The number line segments used to approximate glyph curves.", - "summary" : "Creates an array of glyph contours from an attributed string.", - "title" : "text(_:width:detail:)" + "rawIndexableTextContent" : "Returns the distance between the vector (representing a position in space) from the specified line. The line to compare with. Return Value The absolute perpendicular distance between the point and line.", + "summary" : "Returns the distance between the vector (representing a position in space) from the specified line.", + "title" : "distance(from:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-4wtbg" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/project(onto:)-rksk" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Returns the nearest point on the specified line to the vector (representing a position in space). The line to project onto. Return Value The nearest point in 3D space that lies on the line.", + "summary" : "Returns the nearest point on the specified line to the vector (representing a position in space).", + "title" : "project(onto:)" }, { "headings" : [ - "Overview" + ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Decodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A distance or position in 3D space. Overview Euclid doesn’t have a 2D vector type. When working with primarily 2D shapes, such as Paths, you can omit the z component when constructing vector and it will default to zero.", - "summary" : "A distance or position in 3D space.", - "title" : "Vector" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Decodable Implementations" }, { "headings" : [ @@ -1251,29 +1221,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-3c0eo" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/square(size:color:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a closed path from a polygon. A Polygon to convert to a path.", - "summary" : "Creates a closed path from a polygon.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Creates a closed square path. The width and height of the square. An optional Color to apply to the path’s points.", + "summary" : "Creates a closed square path.", + "title" : "square(size:color:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:isCancelled:)-9mn9o" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Hashable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Efficiently strokes an array of paths, avoiding duplicate work. The paths to stroke. The line width of the stroke. The number of sides to use for the cross-sectional shape of each stroked mesh. The optional material for the mesh.", - "summary" : "Efficiently strokes an array of paths, avoiding duplicate work.", - "title" : "stroke(_:width:detail:material:isCancelled:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Hashable Implementations" }, { "headings" : [ @@ -1283,29 +1253,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withColor(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new line from the specified line segment. A segment somewhere on the line.", - "summary" : "Creates a new line from the specified line segment.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Creates a copy of the vertex with the specified color. The color to apply to the vertex.", + "summary" : "Creates a copy of the vertex with the specified color.", + "title" : "withColor(_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/distance(from:)-5p7ko" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/encode(to:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the distance between the vector (representing a position in space) from the specified plane. The plane to compare with. Return Value The distance between the point and the plane. The value is positive if the point lies in front of the plane, and negative if behind.", - "summary" : "Returns the distance between the vector (representing a position in space) from the specified plane.", - "title" : "distance(from:)" + "rawIndexableTextContent" : "Encodes this path point into the given encoder. The encoder to write data to.", + "summary" : "Encodes this path point into the given encoder.", + "title" : "encode(to:)" }, { "headings" : [ @@ -1315,13 +1285,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/encode(to:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Encodes this path into the given encoder. The encoder to write data to.", - "summary" : "Encodes this path into the given encoder.", - "title" : "encode(to:)" + "rawIndexableTextContent" : "Creates a new color by decoding from the given decoder. The decoder to read data from.", + "summary" : "Creates a new color by decoding from the given decoder.", + "title" : "init(from:)" }, { "headings" : [ @@ -1331,29 +1301,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/lerp(_:_:)" - }, - "type" : "topLevelPage" - }, - "rawIndexableTextContent" : "Linearly interpolate between two colors. The color to interpolate towards. The normalized extent of interpolation, from 0 to 1. Return Value The interpolated color.", - "summary" : "Linearly interpolate between two colors.", - "title" : "lerp(_:_:)" - }, - { - "headings" : [ - - ], - "kind" : "symbol", - "location" : { - "reference" : { - "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-1icmf" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-4v7tg" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a bounds from a collection of Bounded objects. A collection of bounded objects.", - "summary" : "Creates a bounds from a collection of Bounded objects.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Computes the line of intersection between two planes. The plane to compare with. Return Value The line of intersection between the planes, or nil if the planes are parallel.", + "summary" : "Computes the line of intersection between two planes.", + "title" : "intersection(with:)" }, { "headings" : [ @@ -1363,13 +1317,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/cyan" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/axis" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "cyan" + "rawIndexableTextContent" : "The axis of rotation. ", + "summary" : "The axis of rotation.", + "title" : "axis" }, { "headings" : [ @@ -1379,13 +1333,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/normal" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/transformed(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The surface normal of the vertex, used to calculate lighting. Set this to zero if you want the normal to be calculated automatically from the polygon face normal. ", - "summary" : "The surface normal of the vertex, used to calculate lighting. Set this to zero if you want the normal to be calculated automatically from the polygon face normal.", - "title" : "normal" + "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", + "summary" : "Returns a transformed copy of the value.", + "title" : "transformed(by:)" }, { "headings" : [ @@ -1395,29 +1349,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Comparable-Implementations" }, "type" : "topLevelPage" }, "rawIndexableTextContent" : "", "summary" : "", - "title" : "Equatable Implementations" + "title" : "Comparable Implementations" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:isCancelled:)-85o14" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/detriangulate()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a mesh by stroking a path with the line width, detail, and material you provide. The path to stroke. The line width of the stroke. The number of sides to use for the cross-sectional shape of the stroked mesh. The optional material for the mesh.", - "summary" : "Creates a mesh by stroking a path with the line width, detail, and material you provide.", - "title" : "stroke(_:width:detail:material:isCancelled:)" + "rawIndexableTextContent" : "Merges coplanar polygons that share one or more edges, provided the result will be convex. Return Value A new mesh containing the merged polygons.", + "summary" : "Merges coplanar polygons that share one or more edges, provided the result will be convex.", + "title" : "detriangulate()" }, { "headings" : [ @@ -1427,80 +1381,77 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(_:)-7a30s" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/tube" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a uniform scale transform. A uniform scale factor to apply.", - "summary" : "Creates a uniform scale transform.", - "title" : "scale(_:)" + "rawIndexableTextContent" : "Texture is tube-wrapped. ", + "summary" : "Texture is tube-wrapped.", + "title" : "Mesh.WrapMode.tube" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scaled(by:)-5p6di" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/containsPoint(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Returns a Boolean value that indicates if the specified point is inside the mesh. The point to compare. Return Value true if the point lies inside the mesh, and false otherwise.", + "summary" : "Returns a Boolean value that indicates if the specified point is inside the mesh.", + "title" : "containsPoint(_:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/axis" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersection(with:)-2u7vo" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "The axis of rotation. ", - "summary" : "The axis of rotation.", - "title" : "axis" + "rawIndexableTextContent" : "Returns the intersection point between the specified line segment and this one. The line segment to compare with. Return Value The point of intersection, or nil if the line segments don’t intersect.", + "summary" : "Returns the intersection point between the specified line segment and this one.", + "title" : "intersection(with:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/.._(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Transformable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable...<(_:_:). ", - "summary" : "Inherited from Comparable...<(_:_:).", - "title" : "..<(_:_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Transformable Implementations" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-68leo" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Equatable Implementations" + "rawIndexableTextContent" : "Creates a rotation from a SceneKit quaternion. The SCNQuaternion to convert.", + "summary" : "Creates a rotation from a SceneKit quaternion.", + "title" : "init(_:)" }, { "headings" : [ @@ -1510,29 +1461,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-20sq4" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Inherited from AdditiveArithmetic.-=(_:_:). ", + "summary" : "Inherited from AdditiveArithmetic.-=(_:_:).", + "title" : "-=(_:_:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(pitch:yaw:roll:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Comparable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a rotation from Euler angles applied in pitch\/yaw\/roll order. The angle of rotation around the X axis. This is applied first. The angle of rotation around the Y axis. This is applied second. The angle of rotation around the Z axis. This is applied last.", - "summary" : "Creates a rotation from Euler angles applied in pitch\/yaw\/roll order.", - "title" : "init(pitch:yaw:roll:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Comparable Implementations" }, { "headings" : [ @@ -1542,45 +1493,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_(_:_:)-filj" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/vertices" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable.>(_:_:). ", - "summary" : "Inherited from Comparable.>(_:_:).", - "title" : ">(_:_:)" + "rawIndexableTextContent" : "The array of vertices that make up the polygon. ", + "summary" : "The array of vertices that make up the polygon.", + "title" : "vertices" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-63ct7" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/point(_:_:_:texcoord:color:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a vector from an array of coordinates. An array of vector components. Discussion Omitted values default to 0 and extra components are ignored.", - "summary" : "Creates a vector from an array of coordinates.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Creates a corner path point at the specified X, Y and Z coordinates. The X coordinate of the path point. The Y coordinate of the path point. The Z coordinate of the path point (optional - defaults to zero). An optional texture coordinate for this path point. An optional vertex color for this path point.", + "summary" : "Creates a corner path point at the specified X, Y and Z coordinates.", + "title" : "point(_:_:_:texcoord:color:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:ignoringTransforms:materialLookup:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Comparable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a mesh from a SceneKit node, with optional material mapping. The SCNNode to convert into a mesh. Should transforms from the input node and its children be ignored. An optional closure to map the SceneKit materials to Euclid materials. If omitted, the SCNMaterial will be directly used as the mesh material.", - "summary" : "Creates a mesh from a SceneKit node, with optional material mapping.", - "title" : "init(_:ignoringTransforms:materialLookup:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Comparable Implementations" }, { "headings" : [ @@ -1590,13 +1541,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(size:)-nkyk" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:)-8x4al" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a vector of uniform size. The value to use for all components.", - "summary" : "Creates a vector of uniform size.", - "title" : "init(size:)" + "rawIndexableTextContent" : "Computes the convex hull of one or more meshes. An array of meshes to compute the hull around.", + "summary" : "Computes the convex hull of one or more meshes.", + "title" : "convexHull(of:)" }, { "headings" : [ @@ -1606,13 +1557,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/\/=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/color" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Divides the angle by a numeric denominator. ", - "summary" : "Divides the angle by a numeric denominator.", - "title" : "\/=(_:_:)" + "rawIndexableTextContent" : "The color for the vertex. This will be multiplied by the material color, so set it to white if you do not require per-vertex colors. ", + "summary" : "The color for the vertex. This will be multiplied by the material color, so set it to white if you do not require per-vertex colors.", + "title" : "color" }, { "headings" : [ @@ -1622,13 +1573,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:)-8x4al" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(bounds:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes the convex hull of one or more meshes. An array of meshes to compute the hull around.", - "summary" : "Computes the convex hull of one or more meshes.", - "title" : "convexHull(of:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Deprecated. ", + "summary" : "Deprecated.", + "title" : "init(bounds:)" }, { "headings" : [ @@ -1638,13 +1592,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/loft(_:faces:material:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/transform(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a mesh by connecting a series of 3D paths representing the cross sections. The paths to connect. The direction of the generated polygon faces. The optional material for the mesh.", - "summary" : "Creates a mesh by connecting a series of 3D paths representing the cross sections.", - "title" : "loft(_:faces:material:)" + "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", + "summary" : "Transform the value in place.", + "title" : "transform(by:)" }, { "headings" : [ @@ -1654,13 +1608,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitY" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/fill(_:faces:material:isCancelled:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A vector of length 1 along the Y axis. ", - "summary" : "A vector of length 1 along the Y axis.", - "title" : "unitY" + "rawIndexableTextContent" : "Efficiently fills an array of paths, avoiding unecessary work if there are duplicates. The array of paths to be filled. The direction the polygon faces. The optional material for the mesh.", + "summary" : "Efficiently fills an array of paths, avoiding unecessary work if there are duplicates.", + "title" : "fill(_:faces:material:isCancelled:)" }, { "headings" : [ @@ -1670,13 +1624,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-4wtbg" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new path by decoding from the given decoder. The decoder to read data from.", - "summary" : "Creates a new path by decoding from the given decoder.", - "title" : "init(from:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -1686,13 +1640,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withoutTexcoords()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/length" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Return a copy of the mesh without texture coordinates. ", - "summary" : "Return a copy of the mesh without texture coordinates.", - "title" : "withoutTexcoords()" + "rawIndexableTextContent" : "The total length of the path. ", + "summary" : "The total length of the path.", + "title" : "length" }, { "headings" : [ @@ -1702,7 +1656,7 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotate(by:)-8lp0l" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotate(by:)-577nk" }, "type" : "topLevelPage" }, @@ -1715,35 +1669,38 @@ }, { "headings" : [ - + "Overview", + "Materials", + "Colors", + "Textures" ], "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Decodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/RenderingMeshes" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Decodable Implementations" + "rawIndexableTextContent" : "Display the 3D shapes you created with meshes. Overview After creating some 3D shapes, you probably want to actually display them. Most of the Euclid library is completely self-contained, with no dependencies on any particular rendering technology or framework. However, when running on iOS or macOS you can take advantage of Euclid’s built-in SceneKit and RealityKit integration. This is demonstrated in the Example app included with the project. SceneKit is a high-level Apple 3D framework that can use either OpenGL or Metal for rendering on supported devices. Euclid provides extensions for creating an SCNGeometry from a Mesh, as well as converting Euclid Vector and Rotation types to SCNVector and SCNQuaternion respectively. The SceneKit integration makes it easy to display Euclid geometry on-screen, and to integrate with ARKit, etc. You can also use SceneKit to export Euclid-generated Mesh in standard 3D model formats such as DAE, STL or OBJ. RealityKit is a newer Apple framework mainly intended for VR\/AR purposes. It is slightly lower-level than SceneKit, and missing some high-level functionality such as camera control, but is equally-well supported by Euclid. Materials Interesting geometry is one thing, but to really bring a shape to life it needs colors and textures. Every Polygon has a material property that can be used to apply any kind of material you like on a per-polygon basis. All primitives and builder methods accept a material parameter which will apply that material to every polygon in the resultant Mesh. When you later combine meshes using CSG operations, the original materials from the Mesh that contributed to each part of the resultant shape are preserved. Before a material can be used with SceneKit, you need to convert the Euclid material to an SCNMaterial. If the material is already an SCNMaterial instance it will be used directly. If the material is a Color, a CG\/UI\/NSColor or CG\/UI\/NSImage it will be converted to an SCNMaterial automatically. For all other material types, you will need to do this conversion yourself. You can convert materials using the optional closure argument for Euclid’s SCNGeometry constructor, which receives the Euclid material as an input and returns an SCNMaterial. An equivalent closure exists for Euclid’s RealityKit ModelEntity constructor. When serializing Euclid geometry using Codable, only specific material types can be supported. Currently, material serialization works for Strings, Ints, Color and any class that conforms to NSCoding (which includes many UIKit, AppKit and SceneKit types, such as UI\/NSColor, UI\/NSImage and SCNMaterial). Colors Euclid supports applying colors to a Mesh or Polygon using the material property, but you can also set colors individually for each vertex, which will be interpolated to create smooth gradients. The material property is of type AnyHashable which basically means it can be anything you want. You can set the material to an instance of Euclid’s Color, or you can use a CGColor, UIColor or NSColor instead if you prefer. This approach is demonstrated in the Example app included in the project. Textures Euclid automatically adds 2D texture coordinates to the vertices of a Mesh created using primitives or builder methods. There is limited control over how those coordinates are specified at the moment, but they allow for simple cylindrical or spherical texture wrapping. You can also scale, rotate or translate the texture coordinates for a Mesh by using - withTextureTransform(_:), or remap the texture coordinates completely by using the sphereMapped(), cylinderMapped() and cubeMapped() methods. This can be useful for wrapping composite objects that you’ve created using CSG functions, where the texture coordinates may end up scrambled. To apply a texture image to a Mesh, store a UIImage or NSImage as the material property and it will be converted to an SCNMaterial automatically. If you want to do something more complex, such as applying both a color and texture to the same Mesh, or maybe including a normal map or some other material properties, you could create a custom material type to store all the properties you care about, or even assign an SCNMaterial or RealityKit Material directly.", + "summary" : "Display the 3D shapes you created with meshes.", + "title" : "Rendering Meshes" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotate(by:)-1l9u5" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "Creates a bounds from two points. The first point. The second point. Discussion Unlike the init(min:max:) constructor, the order of the points doesn’t matter.", + "summary" : "Creates a bounds from two points.", + "title" : "init(_:_:)" }, { "headings" : [ @@ -1753,13 +1710,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scale(by:)-6c0wl" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/b" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "The blue component of the color. ", + "summary" : "The blue component of the color.", + "title" : "b" }, { "headings" : [ @@ -1769,45 +1726,49 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-48gl1" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotate(by:)-8lp0l" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a vector with its components multiplied by the specified value. ", - "summary" : "Returns a vector with its components multiplied by the specified value.", - "title" : "*(_:_:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/circle(radius:segments:color:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. ", - "summary" : "Transform the value in place.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "Creates a closed circular path. The distance from the center of the circle to each point used to approximate its shape. The number of line segments used to approximate the circle. An optional Color to apply to the path’s points. Discussion Because the circle is approximated using line segments, its radius is not uniform. The radius specified is the outer radius, i.e. the radius at the corners of the polygon.", + "summary" : "Creates a closed circular path.", + "title" : "circle(radius:segments:color:)" }, { "headings" : [ - + "Return Value", + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/translated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/lerp(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", - "summary" : "Returns a translated copy of the value.", - "title" : "translated(by:)" + "rawIndexableTextContent" : "Linearly interpolates between two vertices. The vertex to interpolate towards. The unit value that indicates the distance between of this vertex and the target vertex. Return Value A new vertex with values interpolated between the two vertices. Discussion Interpolation is applied to the texture coordinate, normal and color, as well as the position.", + "summary" : "Linearly interpolates between two vertices.", + "title" : "lerp(_:_:)" }, { "headings" : [ @@ -1817,32 +1778,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotate(by:)-r7j4" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/text(_:width:detail:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "Creates an array of glyph contours from an attributed string. The text to convert. The optional width at which to line-wrap the text. The number line segments used to approximate glyph curves.", + "summary" : "Creates an array of glyph contours from an attributed string.", + "title" : "text(_:width:detail:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/isIdentity" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Comparable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform has no effect. ", - "summary" : "Transform has no effect.", - "title" : "isIdentity" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Comparable Implementations" }, { "headings" : [ @@ -1852,13 +1810,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/start" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/translate(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The starting point of the line segment. ", - "summary" : "The starting point of the line segment.", - "title" : "start" + "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", + "summary" : "Translate the value in place.", + "title" : "translate(by:)" }, { "headings" : [ @@ -1868,13 +1826,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-228p6" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/smoothingNormals(forAnglesGreaterThan:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new vector from a SceneKit vector. The SceneKit SCNVector3.", - "summary" : "Creates a new vector from a SceneKit vector.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Smooth vertex normals for corners with angles greater (more obtuse) than the specified threshold. The minimum corner angle that should appear smooth. Values should be in the range zero (no smoothing) to pi (smooth all edges).", + "summary" : "Smooth vertex normals for corners with angles greater (more obtuse) than the specified threshold.", + "title" : "smoothingNormals(forAnglesGreaterThan:)" }, { "headings" : [ @@ -1884,13 +1842,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/translated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounded\/bounds" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", - "summary" : "Returns a translated copy of the value.", - "title" : "translated(by:)" + "rawIndexableTextContent" : "The bounds of the object. ", + "summary" : "The bounds of the object.", + "title" : "bounds" }, { "headings" : [ @@ -1900,13 +1858,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/right" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/transform(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A normalized direction vector pointing rightwards relative to the current rotation. ", - "summary" : "A normalized direction vector pointing rightwards relative to the current rotation.", - "title" : "right" + "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", + "summary" : "Transform the value in place.", + "title" : "transform(by:)" }, { "headings" : [ @@ -1916,16 +1874,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotate(by:)-ntgj" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/!=(_:_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ @@ -1935,13 +1890,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/degrees" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/up" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The angle in degrees. ", - "summary" : "The angle in degrees.", - "title" : "degrees" + "rawIndexableTextContent" : "A normalized direction vector pointing upwards relative to the current rotation. ", + "summary" : "A normalized direction vector pointing upwards relative to the current rotation.", + "title" : "up" }, { "headings" : [ @@ -1951,29 +1906,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-19ukh" - }, - "type" : "topLevelPage" - }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" - }, - { - "headings" : [ - "Return Value" - ], - "kind" : "symbol", - "location" : { - "reference" : { - "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/edgeVertices(for:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorUserInfo" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An array of vertices suitable for constructing a set of edge polygons for the path. The wrap mode to use for generating texture coordinates. Return Value The edge vertices, or an empty array if path has subpaths.", - "summary" : "An array of vertices suitable for constructing a set of edge polygons for the path.", - "title" : "edgeVertices(for:)" + "rawIndexableTextContent" : "Inherited from CustomNSError.errorUserInfo. ", + "summary" : "Inherited from CustomNSError.errorUserInfo.", + "title" : "errorUserInfo" }, { "headings" : [ @@ -1983,16 +1922,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/roll(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scale(by:)-2pycj" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Creates a quaternion representing a rotation around the Z axis. The angle to rotate by.", - "summary" : "Creates a quaternion representing a rotation around the Z axis.", - "title" : "roll(_:)" + "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ @@ -2002,11 +1938,11 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(by:)-55r4j" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scale(by:)-1kdd7" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", + "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", "summary" : "Scale the value in place.", "title" : "scale(by:)" }, @@ -2014,17 +1950,17 @@ "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Decodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Decodable Implementations" }, { "headings" : [ @@ -2034,13 +1970,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/isPlanar" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotate(by:)-15yni" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Indicates whether all the path’s points lie on a single plane. ", - "summary" : "Indicates whether all the path’s points lie on a single plane.", - "title" : "isPlanar" + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ @@ -2050,13 +1986,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/magenta" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/empty" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "magenta" + "rawIndexableTextContent" : "An empty path. ", + "summary" : "An empty path.", + "title" : "empty" }, { "headings" : [ @@ -2066,29 +2002,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/-(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-228p6" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the inverse rotation. ", - "summary" : "Returns the inverse rotation.", - "title" : "-(_:)" + "rawIndexableTextContent" : "Creates a new vector from a SceneKit vector. The SceneKit SCNVector3.", + "summary" : "Creates a new vector from a SceneKit vector.", + "title" : "init(_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-4v7tg" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/default" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes the line of intersection between two planes. The plane to compare with. Return Value The line of intersection between the planes, or nil if the planes are parallel.", - "summary" : "Computes the line of intersection between two planes.", - "title" : "intersection(with:)" + "rawIndexableTextContent" : "Use default alignment heuristic for the given path. ", + "summary" : "Use default alignment heuristic for the given path.", + "title" : "Path.Alignment.default" }, { "headings" : [ @@ -2098,13 +2034,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/square(size:color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/submeshes" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a closed square path. The width and height of the square. An optional Color to apply to the path’s points.", - "summary" : "Creates a closed square path.", - "title" : "square(size:color:)" + "rawIndexableTextContent" : "The distinct (disconnected) submeshes that make up the mesh. ", + "summary" : "The distinct (disconnected) submeshes that make up the mesh.", + "title" : "submeshes" }, { "headings" : [ @@ -2114,13 +2050,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(by:)-9i9s9" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "Inherited from AdditiveArithmetic.+(_:). ", + "summary" : "Inherited from AdditiveArithmetic.+(_:).", + "title" : "+(_:)" }, { "headings" : [ @@ -2130,29 +2066,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materials:)-4k8gs" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/!=(_:_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "15.0", - "name" : "iOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "12.0", - "name" : "macOS", - "unavailable" : false - } - ], - "rawIndexableTextContent" : "Creates a mesh from a RealityKit MeshResource. The MeshResource to convert into a mesh. An array of materials to apply to the mesh.", - "summary" : "Creates a mesh from a RealityKit MeshResource.", - "title" : "init(_:materials:)" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ @@ -2162,13 +2082,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/tessellate(maxSides:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/containsPoint(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Splits a polygon into two or more convex polygons using the “ear clipping” method. The maximum number of sides each polygon may have. Return Value An array of convex polygons.", - "summary" : "Splits a polygon into two or more convex polygons using the “ear clipping” method.", - "title" : "tessellate(maxSides:)" + "rawIndexableTextContent" : "Returns a Boolean value that indicates whether a point lies on the plane. The point to test. Return Value true if the point lies on the plane and false otherwise.", + "summary" : "Returns a Boolean value that indicates whether a point lies on the plane.", + "title" : "containsPoint(_:)" }, { "headings" : [ @@ -2178,13 +2098,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transformed(by:)-9m686" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-5dvvh" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", - "summary" : "Returns a transformed copy of the value.", - "title" : "transformed(by:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -2194,13 +2114,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-8sjrv" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/tangent" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Align extruded cross-sections to the tangent of the path curve. ", + "summary" : "Align extruded cross-sections to the tangent of the path curve.", + "title" : "Path.Alignment.tangent" }, { "headings" : [ @@ -2210,29 +2130,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/front" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/texcoord" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Generate front faces. ", - "summary" : "Generate front faces.", - "title" : "Mesh.Faces.front" + "rawIndexableTextContent" : "Texture coordinates for the vertex. Set this to zero if you are not using a texture map. ", + "summary" : "Texture coordinates for the vertex. Set this to zero if you are not using a texture map.", + "title" : "texcoord" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scale(by:)-1kdd7" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/subpaths" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "An array of the subpaths that make up the path. Discussion For paths without nested subpaths, this will return an array containing only self.", + "summary" : "An array of the subpaths that make up the path.", + "title" : "subpaths" }, { "headings" : [ @@ -2242,13 +2162,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/mapVertexColors(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stlString(name:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Return a copy of the polygon with transformed vertex colors A closure to be applied to each vertex color in the polygon.", - "summary" : "Return a copy of the polygon with transformed vertex colors", - "title" : "mapVertexColors(_:)" + "rawIndexableTextContent" : "Return ASCII STL string data for the mesh. ", + "summary" : "Return ASCII STL string data for the mesh.", + "title" : "stlString(name:)" }, { "headings" : [ @@ -2258,13 +2178,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/transform(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(scnGeometry:materialLookup:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", - "summary" : "Transform the value in place.", - "title" : "transform(by:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "init(scnGeometry:materialLookup:)" }, { "headings" : [ @@ -2274,13 +2197,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/encode(to:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/mapTexcoords(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Encodes this color into the given encoder. The encoder to write data to.", - "summary" : "Encodes this color into the given encoder.", - "title" : "encode(to:)" + "rawIndexableTextContent" : "Return a copy of the polygon with transformed texture coordinates A closure to be applied to each texcoord in the polygon.", + "summary" : "Return a copy of the polygon with transformed texture coordinates", + "title" : "mapTexcoords(_:)" }, { "headings" : [ @@ -2290,16 +2213,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/hash(into:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/translate(by:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Inherited from Hashable.hash(into:). ", - "summary" : "Inherited from Hashable.hash(into:).", - "title" : "hash(into:)" + "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", + "summary" : "Translate the value in place.", + "title" : "translate(by:)" }, { "headings" : [ @@ -2309,29 +2229,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/lathe(_:slices:poleDetail:addDetailForFlatPoles:faces:wrapMode:material:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(points:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a rotationally symmetrical mesh by turning the specified path around the Y axis. The path to use as the profile for the mesh. The number of slices that make up the lathed mesh. The number of segments used to make the pole. A Boolean value that indicates whether to add detail to the poles. The direction of the generated polygon faces. The way that texture coordinates are calculated for the lathed mesh. The optional material for the mesh. Discussion The profile path can be open or closed. Define a closed path by ending with the same point that you started with. The path can be placed on either side of the Y axis, however the behavior is undefined for paths that cross the axis Open paths that do not start and end on the Y axis will produce a shape with a hole in it", - "summary" : "Creates a rotationally symmetrical mesh by turning the specified path around the Y axis.", - "title" : "lathe(_:slices:poleDetail:addDetailForFlatPoles:faces:wrapMode:material:)" + "rawIndexableTextContent" : "Creates a plane from a set of points. A set of coplanar points describing a polygon. Discussion The polygon can be convex or concave. The direction of the plane normal is based on the assumption that the points are wound in an anti-clockwise direction.", + "summary" : "Creates a plane from a set of points.", + "title" : "init(points:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Material-swift.typealias" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Material used by a given polygon. This can be any type that conforms to Hashable, but encoding\/decoding is only supported for the following types: Color, String, Int, Data or any NSSecureCodable type. ", - "summary" : "Material used by a given polygon. This can be any type that conforms to Hashable, but encoding\/decoding is only supported for the following types: Color, String, Int, Data or any NSSecureCodable type.", - "title" : "Polygon.Material" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ @@ -2341,13 +2261,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/*(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-19jpq" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. ", - "summary" : "Returns a transformed copy of the value.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -2357,13 +2277,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-5bh7b" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/*=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a bounds from two SceneKit vectors. A tuple of two SCNVector3 that represent opposite corners of the bounding box volume.", - "summary" : "Creates a bounds from two SceneKit vectors.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Transform the value in place. ", + "summary" : "Transform the value in place.", + "title" : "*=(_:_:)" }, { "headings" : [ @@ -2373,13 +2293,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/\/(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/lengthSquared" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the angle divided by a numeric denominator. ", - "summary" : "Returns the angle divided by a numeric denominator.", - "title" : "\/(_:_:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "The square of the length of the quaternion. This is less expensive to compute than the length itself. ", + "summary" : "The square of the length of the quaternion. This is less expensive to compute than the length itself.", + "title" : "lengthSquared" }, { "headings" : [ @@ -2389,29 +2312,30 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/roll" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_=(_:_:)-375to" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The angle of rotation around the Z-axis. ", - "summary" : "The angle of rotation around the Z-axis.", - "title" : "roll" + "rawIndexableTextContent" : "Inherited from Comparable.<=(_:_:). ", + "summary" : "Inherited from Comparable.<=(_:_:).", + "title" : "<=(_:_:)" }, { "headings" : [ - + "Return Value", + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withNormal(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/split(along:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a copy of the vertex with the specified normal. The normal value to apply to the vertex.", - "summary" : "Creates a copy of the vertex with the specified normal.", - "title" : "withNormal(_:)" + "rawIndexableTextContent" : "Split the mesh along a plane. The Plane to split the mesh along. Return Value A pair of meshes representing the parts in front of and behind the plane respectively. Discussion If the plane and mesh do not intersect, one of the returned meshes will be nil.", + "summary" : "Split the mesh along a plane.", + "title" : "split(along:)" }, { "headings" : [ @@ -2421,13 +2345,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/transformed(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cube(center:size:faces:wrapMode:material:)-8t5q8" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", - "summary" : "Returns a transformed copy of the value.", - "title" : "transformed(by:)" + "rawIndexableTextContent" : "Creates an axis-aligned cuboidal mesh. The center point of the mesh. The size of the cuboid mesh. The direction of the generated polygon faces. The way that texture coordinates are calculated for the cube. The optional material for the mesh.", + "summary" : "Creates an axis-aligned cuboidal mesh.", + "title" : "cube(center:size:faces:wrapMode:material:)" }, { "headings" : [ @@ -2437,13 +2361,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/zero" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scale(by:)-1h2f7" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Angle representing a zero (identity) rotation. ", - "summary" : "Angle representing a zero (identity) rotation.", - "title" : "zero" + "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ @@ -2453,16 +2377,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:_:_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/subtract(_:isCancelled:)" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "Creates a quaternion from raw component values. ", - "summary" : "Creates a quaternion from raw component values.", - "title" : "init(_:_:_:_:)" + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "subtract(_:isCancelled:)" }, { "headings" : [ @@ -2472,45 +2396,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/roundedRectangle(width:height:radius:detail:color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/withColor(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a rounded rectangle path. The width of the rectangle. The height of the rectangle. The corner radius, The number of line segments used to approximate each corner curve. An optional Color to apply to the path’s points.", - "summary" : "Creates a rounded rectangle path.", - "title" : "roundedRectangle(width:height:radius:detail:color:)" + "rawIndexableTextContent" : "Replace\/remove path point colors. The color to apply to each point in the path.", + "summary" : "Replace\/remove path point colors.", + "title" : "withColor(_:)" }, { "headings" : [ - + "Return Value" ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Transformable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/project(onto:)-817o2" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Transformable Implementations" + "rawIndexableTextContent" : "Returns the nearest point on the specified plane to the vector (representing a position in space). The plane to project onto. Return Value The nearest point in 3D space that lies on the plane.", + "summary" : "Returns the nearest point on the specified plane to the vector (representing a position in space).", + "title" : "project(onto:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/lerp(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotated(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Linearly interpolates between two path points. The path point to interpolate with. The normalized extent of interpolation, from 0 to 1. Return Value A new path point at the interpolated position.", - "summary" : "Linearly interpolates between two path points.", - "title" : "lerp(_:_:)" + "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", + "summary" : "Returns a rotated copy of the value.", + "title" : "rotated(by:)" }, { "headings" : [ @@ -2520,13 +2444,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/translated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_(_:_:)-7i9lp" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", - "summary" : "Returns a translated copy of the value.", - "title" : "translated(by:)" + "rawIndexableTextContent" : "Inherited from Comparable.>(_:_:). ", + "summary" : "Inherited from Comparable.>(_:_:).", + "title" : ">(_:_:)" }, { "headings" : [ @@ -2536,29 +2460,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/translated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/forward" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", - "summary" : "Returns a translated copy of the value.", - "title" : "translated(by:)" + "rawIndexableTextContent" : "A normalized direction vector pointing forwards relative to the current rotation. ", + "summary" : "A normalized direction vector pointing forwards relative to the current rotation.", + "title" : "forward" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/center" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a rotated copy of the bounds. A quaternion to apply to the bounds. Discussion Because a bounds must be axially-aligned, rotating by an angle that is not a multiple of 90 degrees will result in the bounds being increased in size. Rotating it back again will not reduce the size, so this is a potentially irreversible operation. In general, after rotating a shape it is better to recalculate the bounds rather than trying to rotate the previous bounds.", - "summary" : "Returns a rotated copy of the bounds.", - "title" : "rotated(by:)" + "rawIndexableTextContent" : "The position of the center of the polygon. This is calculated as the average of the vertex positions, and may not be equal to the center of the polygon’s bounds. ", + "summary" : "The position of the center of the polygon. This is calculated as the average of the vertex positions, and may not be equal to the center of the polygon’s bounds.", + "title" : "center" }, { "headings" : [ @@ -2568,13 +2492,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cylinder(radius:height:slices:poleDetail:faces:wrapMode:material:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a cylindrical mesh. The radius of the cylinder. The height of the cylinder. The number of vertical slices that make up the cylinder. Optionally add extra detail around poles to prevent texture warping. The direction of the generated polygon faces. The way that texture coordinates are calculated for the cylinder. The optional material for the mesh.", - "summary" : "Creates a cylindrical mesh.", - "title" : "cylinder(radius:height:slices:poleDetail:faces:wrapMode:material:)" + "rawIndexableTextContent" : "Inherited from Comparable....(_:_:). ", + "summary" : "Inherited from Comparable....(_:_:).", + "title" : "...(_:_:)" }, { "headings" : [ @@ -2584,13 +2508,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/\/=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(_:)-55t4p" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Divides the components of the vector by the value you provide. ", - "summary" : "Divides the components of the vector by the value you provide.", - "title" : "\/=(_:_:)" + "rawIndexableTextContent" : "Creates a scale transform. A vector scale factor apply.", + "summary" : "Creates a scale transform.", + "title" : "scale(_:)" }, { "headings" : [ @@ -2600,29 +2524,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/bounds" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transform(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The bounds of all the path’s points. ", - "summary" : "The bounds of all the path’s points.", - "title" : "bounds" + "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", + "summary" : "Transform the value in place.", + "title" : "transform(by:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Transformable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Transformable Implementations" + "rawIndexableTextContent" : "Creates a new vertex by decoding from the given decoder. The decoder to read data from.", + "summary" : "Creates a new vertex by decoding from the given decoder.", + "title" : "init(from:)" }, { "headings" : [ @@ -2632,7 +2556,7 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Bounded-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Bounded-Implementations" }, "type" : "topLevelPage" }, @@ -2648,13 +2572,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/point(_:texcoord:color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(stlString:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a corner path point at the specified position. The location of the path point. An optional texture coordinate for this path point. An optional vertex color for this path point.", - "summary" : "Creates a corner path point at the specified position.", - "title" : "point(_:texcoord:color:)" + "rawIndexableTextContent" : "Create a mesh from an STL string. ASCII STL string data.", + "summary" : "Create a mesh from an STL string.", + "title" : "init(stlString:)" }, { "headings" : [ @@ -2664,13 +2588,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/direction" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The direction of the line segment as a normalized vector. ", - "summary" : "The direction of the line segment as a normalized vector.", - "title" : "direction" + "rawIndexableTextContent" : "Creates a new vector by decoding from the given decoder. The decoder to read data from.", + "summary" : "Creates a new vector by decoding from the given decoder.", + "title" : "init(from:)" }, { "headings" : [ @@ -2680,13 +2604,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/polygonsByMaterial" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isNormalized" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The polygons in the mesh, grouped by material. ", - "summary" : "The polygons in the mesh, grouped by material.", - "title" : "polygonsByMaterial" + "rawIndexableTextContent" : "A Boolean value that indicates whether the vector has a length of 1. ", + "summary" : "A Boolean value that indicates whether the vector has a length of 1.", + "title" : "isNormalized" }, { "headings" : [ @@ -2696,29 +2620,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/encode(to:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/.._(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Encodes this transform into the given encoder. The encoder to write data to.", - "summary" : "Encodes this transform into the given encoder.", - "title" : "encode(to:)" + "rawIndexableTextContent" : "Inherited from Comparable...<(_:). ", + "summary" : "Inherited from Comparable...<(_:).", + "title" : "..<(_:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Decodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scale(by:)-7dhh3" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Decodable Implementations" + "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ @@ -2728,13 +2652,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/line(_:_:color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/max" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a linear path from a start and end point. The starting point of the line. The ending point of the line. An optional Color to apply to the path’s points.", - "summary" : "Creates a linear path from a start and end point.", - "title" : "line(_:_:color:)" + "rawIndexableTextContent" : "The maximum coordinate of the bounds. ", + "summary" : "The maximum coordinate of the bounds.", + "title" : "max" }, { "headings" : [ @@ -2744,13 +2668,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-90bab" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Transform the value in place. ", + "summary" : "Transform the value in place.", + "title" : "*=(_:_:)" }, { "headings" : [ @@ -2760,29 +2684,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/translated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/right" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", - "summary" : "Returns a translated copy of the value.", - "title" : "translated(by:)" + "rawIndexableTextContent" : "A normalized direction vector pointing rightwards relative to the current rotation. ", + "summary" : "A normalized direction vector pointing rightwards relative to the current rotation.", + "title" : "right" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/direction" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The normalized direction of the line. ", - "summary" : "The normalized direction of the line.", - "title" : "direction" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ @@ -2792,29 +2716,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotate(by:)-hj8h" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Input\/output error. ", - "summary" : "Input\/output error.", - "title" : "Mesh.IOError" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-6nlm" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Equatable Implementations" + "rawIndexableTextContent" : "Creates a new vector from a CoreGraphics size. the CoreGraphics size.", + "summary" : "Creates a new vector from a CoreGraphics size.", + "title" : "init(_:)" }, { "headings" : [ @@ -2824,13 +2751,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasTexcoords" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A Boolean value that indicates whether the mesh includes texture coordinates. ", - "summary" : "A Boolean value that indicates whether the mesh includes texture coordinates.", - "title" : "hasTexcoords" + "rawIndexableTextContent" : "Alignment mode to use when extruding along a path. ", + "summary" : "Alignment mode to use when extruding along a path.", + "title" : "Path.Alignment" }, { "headings" : [ @@ -2840,13 +2767,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/inverted()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/yaw(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the flip-side of the plane. ", - "summary" : "Returns the flip-side of the plane.", - "title" : "inverted()" + "rawIndexableTextContent" : "Creates a rotation around the Y axis. The angle to rotate by.", + "summary" : "Creates a rotation around the Y axis.", + "title" : "yaw(_:)" }, { "headings" : [ @@ -2856,13 +2783,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(url:materialLookup:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:)-732z3" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Loads a mesh from a file, with optional material mapping. The URL of the file to be loaded. A closure to map format-specific materials to Euclid materials. Use nil for default mapping.", - "summary" : "Loads a mesh from a file, with optional material mapping.", - "title" : "init(url:materialLookup:)" + "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", + "summary" : "Inherited from Comparable....(_:).", + "title" : "...(_:)" }, { "headings" : [ @@ -2872,7 +2799,7 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/translated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/translated(by:)" }, "type" : "topLevelPage" }, @@ -2888,29 +2815,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-9vwak" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:isCancelled:)-9mn9o" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Efficiently strokes an array of paths, avoiding duplicate work. The paths to stroke. The line width of the stroke. The number of sides to use for the cross-sectional shape of each stroked mesh. The optional material for the mesh.", + "summary" : "Efficiently strokes an array of paths, avoiding duplicate work.", + "title" : "stroke(_:width:detail:material:isCancelled:)" }, { "headings" : [ - "Overview" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materials:)-4k8gs" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A polygon in 3D space. Overview A polygon must be composed of three or more vertices, and those vertices must all lie on the same plane. The edges of a polygon can be either convex or concave, but not self-intersecting.", - "summary" : "A polygon in 3D space.", - "title" : "Polygon" + "platforms" : [ + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "15.0", + "name" : "iOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "12.0", + "name" : "macOS", + "unavailable" : false + } + ], + "rawIndexableTextContent" : "Creates a mesh from a RealityKit MeshResource. The MeshResource to convert into a mesh. An array of materials to apply to the mesh.", + "summary" : "Creates a mesh from a RealityKit MeshResource.", + "title" : "init(_:materials:)" }, { "headings" : [ @@ -2920,13 +2863,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/translated(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", + "summary" : "Returns a translated copy of the value.", + "title" : "translated(by:)" }, { "headings" : [ @@ -2936,13 +2879,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/color" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/a" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The color of the path point (optional). ", - "summary" : "The color of the path point (optional).", - "title" : "color" + "rawIndexableTextContent" : "The alpha component of the color. ", + "summary" : "The alpha component of the color.", + "title" : "a" }, { "headings" : [ @@ -2952,13 +2895,43 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/\/(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/localizedDescription" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a vector with its components divided by the specified value. ", - "summary" : "Returns a vector with its components divided by the specified value.", - "title" : "\/(_:_:)" + "platforms" : [ + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "8.0", + "name" : "iOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "10.10", + "name" : "macOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "9.0", + "name" : "tvOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "2.0", + "name" : "watchOS", + "unavailable" : false + } + ], + "rawIndexableTextContent" : "Inherited from Error.localizedDescription. ", + "summary" : "Inherited from Error.localizedDescription.", + "title" : "localizedDescription" }, { "headings" : [ @@ -2968,13 +2941,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:depth:twist:sections:faces:material:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotate(by:)-ntgj" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a mesh by extruding a path along its face normal. The path to extrude in order to create the mesh. The depth of the extrusion. Angular twist to apply along the extrusion. Number of sections to create along extrusion. The direction of the generated polygon faces. The optional material for the mesh.", - "summary" : "Creates a mesh by extruding a path along its face normal.", - "title" : "extrude(_:depth:twist:sections:faces:material:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ @@ -2984,48 +2960,65 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/containsPoint(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/lerp(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a Boolean value that indicates whether a point lies on the plane. The point to test. Return Value true if the point lies on the plane and false otherwise.", - "summary" : "Returns a Boolean value that indicates whether a point lies on the plane.", - "title" : "containsPoint(_:)" + "rawIndexableTextContent" : "Linearly interpolate between two colors. The color to interpolate towards. The normalized extent of interpolation, from 0 to 1. Return Value The interpolated color.", + "summary" : "Linearly interpolate between two colors.", + "title" : "lerp(_:_:)" }, { "headings" : [ - "Overview", - "Materials", - "Colors", - "Textures" + ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/RenderingMeshes" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-7r7et" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Display the 3D shapes you created with meshes. Overview After creating some 3D shapes, you probably want to actually display them. Most of the Euclid library is completely self-contained, with no dependencies on any particular rendering technology or framework. However, when running on iOS or macOS you can take advantage of Euclid’s built-in SceneKit and RealityKit integration. This is demonstrated in the Example app included with the project. SceneKit is a high-level Apple 3D framework that can use either OpenGL or Metal for rendering on supported devices. Euclid provides extensions for creating an SCNGeometry from a Mesh, as well as converting Euclid Vector and Rotation types to SCNVector and SCNQuaternion respectively. The SceneKit integration makes it easy to display Euclid geometry on-screen, and to integrate with ARKit, etc. You can also use SceneKit to export Euclid-generated Mesh in standard 3D model formats such as DAE, STL or OBJ. RealityKit is a newer Apple framework mainly intended for VR\/AR purposes. It is slightly lower-level than SceneKit, and missing some high-level functionality such as camera control, but is equally-well supported by Euclid. Materials Interesting geometry is one thing, but to really bring a shape to life it needs colors and textures. Every Polygon has a material property that can be used to apply any kind of material you like on a per-polygon basis. All primitives and builder methods accept a material parameter which will apply that material to every polygon in the resultant Mesh. When you later combine meshes using CSG operations, the original materials from the Mesh that contributed to each part of the resultant shape are preserved. Before a material can be used with SceneKit, you need to convert the Euclid material to an SCNMaterial. If the material is already an SCNMaterial instance it will be used directly. If the material is a Color, a CG\/UI\/NSColor or CG\/UI\/NSImage it will be converted to an SCNMaterial automatically. For all other material types, you will need to do this conversion yourself. You can convert materials using the optional closure argument for Euclid’s SCNGeometry constructor, which receives the Euclid material as an input and returns an SCNMaterial. An equivalent closure exists for Euclid’s RealityKit ModelEntity constructor. When serializing Euclid geometry using Codable, only specific material types can be supported. Currently, material serialization works for Strings, Ints, Color and any class that conforms to NSCoding (which includes many UIKit, AppKit and SceneKit types, such as UI\/NSColor, UI\/NSImage and SCNMaterial). Colors Euclid supports applying colors to a Mesh or Polygon using the material property, but you can also set colors individually for each vertex, which will be interpolated to create smooth gradients. The material property is of type AnyHashable which basically means it can be anything you want. You can set the material to an instance of Euclid’s Color, or you can use a CGColor, UIColor or NSColor instead if you prefer. This approach is demonstrated in the Example app included in the project. Textures Euclid automatically adds 2D texture coordinates to the vertices of a Mesh created using primitives or builder methods. There is limited control over how those coordinates are specified at the moment, but they allow for simple cylindrical or spherical texture wrapping. You can also scale, rotate or translate the texture coordinates for a Mesh by using - withTextureTransform(_:), or remap the texture coordinates completely by using the sphereMapped(), cylinderMapped() and cubeMapped() methods. This can be useful for wrapping composite objects that you’ve created using CSG functions, where the texture coordinates may end up scrambled. To apply a texture image to a Mesh, store a UIImage or NSImage as the material property and it will be converted to an SCNMaterial automatically. If you want to do something more complex, such as applying both a color and texture to the same Mesh, or maybe including a normal map or some other material properties, you could create a custom material type to store all the properties you care about, or even assign an SCNMaterial or RealityKit Material directly.", - "summary" : "Display the 3D shapes you created with meshes.", - "title" : "Rendering Meshes" + "rawIndexableTextContent" : "Creates a Vector from a simd vector 2. A simd vector.", + "summary" : "Creates a Vector from a simd vector 2.", + "title" : "init(_:)" }, { "headings" : [ + "Return Value" + ], + "kind" : "symbol", + "location" : { + "reference" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/slerp(_:_:)" + }, + "type" : "topLevelPage" + }, + "platforms" : [ + ], + "rawIndexableTextContent" : "Performs a spherical interpolation between two quaternions. A quaternion to interpolate with. The normalized extent of interpolation, from 0 to 1. Return Value The interpolated quaternion.", + "summary" : "Performs a spherical interpolation between two quaternions.", + "title" : "slerp(_:_:)" + }, + { + "headings" : [ + "Return Value", + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/angle(with:)-29paf" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/subtracting(_:isCancelled:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the angle between this vector and another. The vector to compare with.", - "summary" : "Returns the angle between this vector and another.", - "title" : "angle(with:)" + "rawIndexableTextContent" : "Returns a new mesh created by subtracting the volume of the mesh parameter from the receiver. Return Value A new mesh representing the result of the subtraction. Discussion Parameters mesh: The mesh to subtract from this one. isCancelled: Callback used to cancel the operation.", + "summary" : "Returns a new mesh created by subtracting the volume of the mesh parameter from the receiver.", + "title" : "subtracting(_:isCancelled:)" }, { "headings" : [ @@ -3035,13 +3028,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/formUnion(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Expands this bounds (if necessary) to contain the specified bounds. The bounds to be included.", - "summary" : "Expands this bounds (if necessary) to contain the specified bounds.", - "title" : "formUnion(_:)" + "rawIndexableTextContent" : "Inherited from AdditiveArithmetic.+=(_:_:). ", + "summary" : "Inherited from AdditiveArithmetic.+=(_:_:).", + "title" : "+=(_:_:)" }, { "headings" : [ @@ -3051,29 +3044,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/*=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/transformed(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. ", - "summary" : "Transform the value in place.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", + "summary" : "Returns a transformed copy of the value.", + "title" : "transformed(by:)" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(min:max:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/position" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a bounds with min and max coordinates. The minimum coordinate value. The maximum coordinate value. Discussion If the value for max is less than the value for min, the bounds is considered to be empty.", - "summary" : "Creates a bounds with min and max coordinates.", - "title" : "init(min:max:)" + "rawIndexableTextContent" : "The position of the vertex. ", + "summary" : "The position of the vertex.", + "title" : "position" + }, + { + "headings" : [ + "Return Value" + ], + "kind" : "symbol", + "location" : { + "reference" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/merge(_:ensureConvex:)" + }, + "type" : "topLevelPage" + }, + "rawIndexableTextContent" : "Merges this polygon with another, removing redundant vertices where possible. The polygon to merge with. A Boolean indicating is the resultant polygon must be convex. Return Value The combined polygon, or nil if the polygons can’t be merged.", + "summary" : "Merges this polygon with another, removing redundant vertices where possible.", + "title" : "merge(_:ensureConvex:)" }, { "headings" : [ @@ -3083,13 +3092,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/sphere(radius:slices:stacks:poleDetail:faces:wrapMode:material:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a spherical mesh. The radius of the sphere. The number of vertical slices that make up the sphere. The number of horizontal stacks that make up the sphere. Optionally add extra detail around poles to prevent texture warping The direction the polygon faces. The way that texture coordinates are calculated for the sphere. The optional material for the mesh.", - "summary" : "Creates a spherical mesh.", - "title" : "sphere(radius:slices:stacks:poleDetail:faces:wrapMode:material:)" + "rawIndexableTextContent" : "Creates a new mesh by decoding from the given decoder. The decoder to read data from.", + "summary" : "Creates a new mesh by decoding from the given decoder.", + "title" : "init(from:)" }, { "headings" : [ @@ -3099,13 +3108,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/vertices" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/angle(with:)-29paf" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The array of vertices that make up the polygon. ", - "summary" : "The array of vertices that make up the polygon.", - "title" : "vertices" + "rawIndexableTextContent" : "Returns the angle between this vector and another. The vector to compare with.", + "summary" : "Returns the angle between this vector and another.", + "title" : "angle(with:)" }, { "headings" : [ @@ -3115,13 +3124,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/isCurved" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curved(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A Boolean indicating whether the point is curved or sharp. ", - "summary" : "A Boolean indicating whether the point is curved or sharp.", - "title" : "isCurved" + "rawIndexableTextContent" : "Curve or uncurve the point. Whether the resultant point should be curved.", + "summary" : "Curve or uncurve the point.", + "title" : "curved(_:)" }, { "headings" : [ @@ -3131,30 +3140,48 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/plane" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotated(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The plane upon which all path points lie. Will be nil for non-planar paths. ", - "summary" : "The plane upon which all path points lie. Will be nil for non-planar paths.", - "title" : "plane" + "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", + "summary" : "Returns a rotated copy of the value.", + "title" : "rotated(by:)" }, { "headings" : [ - "Return Value", - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/split(along:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-5w6mn" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Split the polygon along a plane. The Plane to split the polygon along. Return Value A pair of arrays representing the polygon fragments in front of and behind the plane respectively. Discussion If the plane and polygon do not intersect, one of the returned arrays will be empty.", - "summary" : "Split the polygon along a plane.", - "title" : "split(along:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Creates a rotation from a quaternion. A quaternion defining a rotation.", + "summary" : "Creates a rotation from a quaternion.", + "title" : "init(_:)" + }, + { + "headings" : [ + + ], + "kind" : "article", + "location" : { + "reference" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Decodable-Implementations" + }, + "type" : "topLevelPage" + }, + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Decodable Implementations" }, { "headings" : [ @@ -3164,13 +3191,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotate(by:)-4cg0v" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/inverted()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "Returns a new vertex with the normal inverted. ", + "summary" : "Returns a new vertex with the normal inverted.", + "title" : "inverted()" }, { "headings" : [ @@ -3180,13 +3207,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/clear" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersect(_:isCancelled:)" }, "type" : "topLevelPage" }, + "platforms" : [ + + ], "rawIndexableTextContent" : " ", "summary" : "", - "title" : "clear" + "title" : "intersect(_:isCancelled:)" }, { "headings" : [ @@ -3196,13 +3226,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/transform(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/fill(_:faces:material:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", - "summary" : "Transform the value in place.", - "title" : "transform(by:)" + "rawIndexableTextContent" : "Creates a mesh by filling a path to form one or more polygons. The shape to be filled. The direction the polygon faces. The optional material for the mesh.", + "summary" : "Creates a mesh by filling a path to form one or more polygons.", + "title" : "fill(_:faces:material:)" }, { "headings" : [ @@ -3212,29 +3242,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-37r1v" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/white" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "white" }, { "headings" : [ - "Discussion" + ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/faceVertices" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An array of vertices suitable for constructing a polygon from the path. Discussion Vertices include normals and uv coordinates normalized to the bounding rectangle of the path. Returns nil if path is not closed, or has subpaths.", - "summary" : "An array of vertices suitable for constructing a polygon from the path.", - "title" : "faceVertices" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ @@ -3244,45 +3274,48 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/identity" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new path point by decoding from the given decoder. The decoder to read data from.", - "summary" : "Creates a new path point by decoding from the given decoder.", - "title" : "init(from:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "The identity quaternion (i.e. no rotation). ", + "summary" : "The identity quaternion (i.e. no rotation).", + "title" : "identity" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/*=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(size:)-8b34m" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. ", - "summary" : "Transform the value in place.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "Creates a size\/scale vector from an array of two coordinates. An array of vector components. Discussion Omitted values are set equal to the first value specified. If no values as specified, the size defaults to one.", + "summary" : "Creates a size\/scale vector from an array of two coordinates.", + "title" : "init(size:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withMaterial(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/closed()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a copy of the mesh with the new material applied to all polygons. ", - "summary" : "Returns a copy of the mesh with the new material applied to all polygons.", - "title" : "withMaterial(_:)" + "rawIndexableTextContent" : "Closes the path by joining last point to first. Return Value A new path, or self if the path is already closed, or cannot be closed.", + "summary" : "Closes the path by joining last point to first.", + "title" : "closed()" }, { "headings" : [ @@ -3292,16 +3325,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-7xa5o" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/shrink" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Creates a quaternion from a rotation matrix. A rotation matrix.", - "summary" : "Creates a quaternion from a rotation matrix.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Texture is shrink-wrapped. ", + "summary" : "Texture is shrink-wrapped.", + "title" : "Mesh.WrapMode.shrink" }, { "headings" : [ @@ -3311,45 +3341,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/asin(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Multiplies the angle by a numeric value. ", - "summary" : "Multiplies the angle by a numeric value.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "Creates an angle representing the trigonometric arc sine of the value you provide. The sine value to use to calculate the angle.", + "summary" : "Creates an angle representing the trigonometric arc sine of the value you provide.", + "title" : "asin(_:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transformed(by:)-9m686" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Equatable Implementations" + "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", + "summary" : "Returns a transformed copy of the value.", + "title" : "transformed(by:)" }, { "headings" : [ - "Overview" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/transformed(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An axially-aligned bounding box in 3D space. Overview Used for efficient intersection elimination between more complex shapes.", - "summary" : "An axially-aligned bounding box in 3D space.", - "title" : "Bounds" + "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", + "summary" : "Returns a transformed copy of the value.", + "title" : "transformed(by:)" }, { "headings" : [ @@ -3359,13 +3389,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-5n3j" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a Vector from a simd vector 3. A simd vector.", - "summary" : "Creates a Vector from a simd vector 3.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Creates a new identity rotation. ", + "summary" : "Creates a new identity rotation.", + "title" : "init()" }, { "headings" : [ @@ -3375,29 +3405,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/pitch(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A finite line segment in 3D space. ", - "summary" : "A finite line segment in 3D space.", - "title" : "LineSegment" + "rawIndexableTextContent" : "Creates a rotation around the X axis. The angle to rotate by.", + "summary" : "Creates a rotation around the X axis.", + "title" : "pitch(_:)" }, { "headings" : [ - + "Overview" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/xz" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A plane located at the origin, aligned with the X and Z axes. ", - "summary" : "A plane located at the origin, aligned with the X and Z axes.", - "title" : "xz" + "rawIndexableTextContent" : "A combined rotation, position, and scale that can be applied to a 3D object. Overview Working with intermediate transform objects instead of directly updating the vertex positions of a mesh is more efficient and avoids a buildup of rounding errors.", + "summary" : "A combined rotation, position, and scale that can be applied to a 3D object.", + "title" : "Transform" }, { "headings" : [ @@ -3407,80 +3437,83 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/components" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotate(by:)-1azi6" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "An array containing the raw components of the quaternion. ", - "summary" : "An array containing the raw components of the quaternion.", - "title" : "components" + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/detessellate()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(points:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Merges any coplanar polygons that share one or more edges. Return Value A new mesh containing the merged (possibly non-convex) polygons.", - "summary" : "Merges any coplanar polygons that share one or more edges.", - "title" : "detessellate()" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Deprecated. ", + "summary" : "Deprecated.", + "title" : "init(points:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Encodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/xy" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Encodable Implementations" + "rawIndexableTextContent" : "A plane located at the origin, aligned with the X and Y axes. ", + "summary" : "A plane located at the origin, aligned with the X and Y axes.", + "title" : "xy" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withPosition(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Equatable Implementations" + "rawIndexableTextContent" : "Creates a copy of the vertex with the specified position. The position to apply to the vertex.", + "summary" : "Creates a copy of the vertex with the specified position.", + "title" : "withPosition(_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersection(with:)-7s1sd" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/encode(to:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the point where the specified plane intersects the line. The plane to compare with. Return Value The point of intersection, or nil if the line and plane are parallel (don’t intersect).", - "summary" : "Returns the point where the specified plane intersects the line.", - "title" : "intersection(with:)" + "rawIndexableTextContent" : "Encodes this transform into the given encoder. The encoder to write data to.", + "summary" : "Encodes this transform into the given encoder.", + "title" : "encode(to:)" }, { "headings" : [ @@ -3490,13 +3523,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/min(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a new vector that represents the mininum of the components of the two vectors. ", - "summary" : "Returns a new vector that represents the mininum of the components of the two vectors.", - "title" : "min(_:_:)" + "rawIndexableTextContent" : "An angle or 2D rotation. ", + "summary" : "An angle or 2D rotation.", + "title" : "Angle" }, { "headings" : [ @@ -3506,13 +3539,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-356zr" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(polygon:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "init(polygon:)" }, { "headings" : [ @@ -3522,45 +3558,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(offset:rotation:scale:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new transform. The translation or position component of the transform. Defaults to zero (no offset). The translation or position component of the transform. Defaults to identity (no rotation). The scaling component of the transform. Defaults to one (no scale adjustment).", - "summary" : "Creates a new transform.", - "title" : "init(offset:rotation:scale:)" + "rawIndexableTextContent" : "Creates a new line by decoding from the given decoder. The decoder to read data from.", + "summary" : "Creates a new line by decoding from the given decoder.", + "title" : "init(from:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Transformable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/transformed(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Transformable Implementations" + "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", + "summary" : "Returns a transformed copy of the value.", + "title" : "transformed(by:)" }, { "headings" : [ - + "Discussion" ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Bounded-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-4hvi3" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Bounded Implementations" + "rawIndexableTextContent" : "Computes the convex hull of a set of paths. Discussion Parameters paths: A set of paths to compute the hull around. material: An optional material to apply to the mesh.", + "summary" : "Computes the convex hull of a set of paths.", + "title" : "convexHull(of:material:)" }, { "headings" : [ @@ -3570,29 +3606,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/one" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:_:_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A vector with all coordinates set to 1. ", - "summary" : "A vector with all coordinates set to 1.", - "title" : "one" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Creates a quaternion from raw component values. ", + "summary" : "Creates a quaternion from raw component values.", + "title" : "init(_:_:_:_:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/length" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Equatable Implementations" + "rawIndexableTextContent" : "The magnitude of the vector. ", + "summary" : "The magnitude of the vector.", + "title" : "length" }, { "headings" : [ @@ -3602,13 +3641,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/smoothingNormals(forAnglesGreaterThan:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasTexcoords" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Smooth vertex normals for corners with angles greater (more obtuse) than the specified threshold. The minimum corner angle that should appear smooth. Values should be in the range zero (no smoothing) to pi (smooth all edges).", - "summary" : "Smooth vertex normals for corners with angles greater (more obtuse) than the specified threshold.", - "title" : "smoothingNormals(forAnglesGreaterThan:)" + "rawIndexableTextContent" : "A Boolean value that indicates whether the polygon includes texture coordinates. ", + "summary" : "A Boolean value that indicates whether the polygon includes texture coordinates.", + "title" : "hasTexcoords" }, { "headings" : [ @@ -3618,45 +3657,46 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/translate(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/transform(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", - "summary" : "Translate the value in place.", - "title" : "translate(by:)" + "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", + "summary" : "Transform the value in place.", + "title" : "transform(by:)" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/tangent" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-63ct7" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Align extruded cross-sections to the tangent of the path curve. ", - "summary" : "Align extruded cross-sections to the tangent of the path curve.", - "title" : "Path.Alignment.tangent" + "rawIndexableTextContent" : "Creates a vector from an array of coordinates. An array of vector components. Discussion Omitted values default to 0 and extra components are ignored.", + "summary" : "Creates a vector from an array of coordinates.", + "title" : "init(_:)" }, { "headings" : [ - + "Return Value", + "Discussion" ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/Decodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/facePolygons(material:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Decodable Implementations" + "rawIndexableTextContent" : "Returns one or more polygons needed to fill the path. An optional Polygon.Material to apply to the polygons. Return Value An array of polygons needed to fill the path, or an empty array if path is not closed. Discussion Polygon normals are calculated automatically based on the curvature of the path points. If the path points do not include textcoords, they will be calculated automatically based on the path point positions relative to the bounding rectangle of the path.", + "summary" : "Returns one or more polygons needed to fill the path.", + "title" : "facePolygons(material:)" }, { "headings" : [ @@ -3666,13 +3706,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/inverted()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a new vertex with the normal inverted. ", - "summary" : "Returns a new vertex with the normal inverted.", - "title" : "inverted()" + "rawIndexableTextContent" : "Multiplies the angle by a numeric value. ", + "summary" : "Multiplies the angle by a numeric value.", + "title" : "*=(_:_:)" }, { "headings" : [ @@ -3682,16 +3722,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(scnGeometry:materialLookup:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/.._(_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "init(scnGeometry:materialLookup:)" + "rawIndexableTextContent" : "Inherited from Comparable...<(_:). ", + "summary" : "Inherited from Comparable...<(_:).", + "title" : "..<(_:)" }, { "headings" : [ @@ -3701,13 +3738,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/transformed(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materialLookup:)-3drza" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", - "summary" : "Returns a transformed copy of the value.", - "title" : "transformed(by:)" + "platforms" : [ + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "15.0", + "name" : "iOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "12.0", + "name" : "macOS", + "unavailable" : false + } + ], + "rawIndexableTextContent" : "Creates a mesh from a RealityKit ModelEntity with optional material mapping. The ModelEntity to convert into a mesh. An optional closure to map the RealityKit materials to Euclid materials.", + "summary" : "Creates a mesh from a RealityKit ModelEntity with optional material mapping.", + "title" : "init(_:materialLookup:)" }, { "headings" : [ @@ -3717,13 +3770,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_(_:_:)-7i9lp" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(_:texcoord:color:isCurved:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable.>(_:_:). ", - "summary" : "Inherited from Comparable.>(_:_:).", - "title" : ">(_:_:)" + "rawIndexableTextContent" : "Creates a path point. The location of the path point. An optional texture coordinate for this path point. An optional vertex color for this path point. A Boolean indicating if point should be curved or sharp.", + "summary" : "Creates a path point.", + "title" : "init(_:texcoord:color:isCurved:)" }, { "headings" : [ @@ -3733,29 +3786,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/arc(angle:radius:segments:color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(shape:material:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a circular arc. The angular span of the arc, measured clockwise from vertical. Defaults to pi (180 degrees). The distance from the center of the arc to each point used to approximate its shape. The number of line segments used to approximate the circle. An optional Color to apply to the path’s points. Discussion Because the arc is approximated using line segments, its radius is not uniform. The radius specified is the outer radius, i.e. the radius at the end points.", - "summary" : "Creates a circular arc.", - "title" : "arc(angle:radius:segments:color:)" + "rawIndexableTextContent" : "Creates a single polygon from a path. Discussion Parameters shape: The Path to convert to a polygon. material: An optional Polygon.Material to apply to the polygon. Path may be convex or concave, but must be closed, planar and non-degenerate, and must not include subpaths. For a non-planar path, or one with subpaths, use facePolygons(material:).", + "summary" : "Creates a single polygon from a path.", + "title" : "init(shape:material:)" }, { "headings" : [ - "Overview" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/components" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A point along a path. Overview A path point can represent a sharp corner or a curve, and has a position, and optionally a texcoord and\/or color, but no normal. The isCurved property indicates if the point is sharp or smooth, allowing the normal to be computed automatically.", - "summary" : "A point along a path.", - "title" : "PathPoint" + "rawIndexableTextContent" : "An array containing the X, Y, and Z components of the vector. ", + "summary" : "An array containing the X, Y, and Z components of the vector.", + "title" : "components" }, { "headings" : [ @@ -3765,64 +3818,61 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/identity" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_(_:_:)-6eeco" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "The identity quaternion (i.e. no rotation). ", - "summary" : "The identity quaternion (i.e. no rotation).", - "title" : "identity" + "rawIndexableTextContent" : "Returns whether the leftmost plane has the lower value. This provides a stable order when sorting collections of planes. ", + "summary" : "Returns whether the leftmost plane has the lower value. This provides a stable order when sorting collections of planes.", + "title" : "<(_:_:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rectangle(width:height:color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a closed rectangular path. The width of the rectangle. The height of the rectangle. An optional Color to apply to the path’s points.", - "summary" : "Creates a closed rectangular path.", - "title" : "rectangle(width:height:color:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/empty" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Encodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An empty path. ", - "summary" : "An empty path.", - "title" : "empty" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Encodable Implementations" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/degrees(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-6176" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates an angle from a degrees value. The angle in degrees.", - "summary" : "Creates an angle from a degrees value.", - "title" : "degrees(_:)" + "rawIndexableTextContent" : "Computes the convex hull of a set of points. Discussion Parameters points: An set of points to compute the hull around. material: An optional material to apply to the mesh.", + "summary" : "Computes the convex hull of a set of points.", + "title" : "convexHull(of:material:)" }, { "headings" : [ @@ -3832,29 +3882,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(start:end:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a line segment with a start and end point. The start of the line segment. The end of the line segment.", - "summary" : "Creates a line segment with a start and end point.", - "title" : "init(start:end:)" + "rawIndexableTextContent" : "Inherited from Comparable....(_:_:). ", + "summary" : "Inherited from Comparable....(_:_:).", + "title" : "...(_:_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/triangulate()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/origin" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Splits all polygons in the mesh into triangles. Return Value A new mesh containing the triangles.", - "summary" : "Splits all polygons in the mesh into triangles.", - "title" : "triangulate()" + "rawIndexableTextContent" : "An arbitrary point on the line selected as the origin. ", + "summary" : "An arbitrary point on the line selected as the origin.", + "title" : "origin" }, { "headings" : [ @@ -3864,13 +3914,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/pitch" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/center" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The angle of rotation around the X-axis. ", - "summary" : "The angle of rotation around the X-axis.", - "title" : "pitch" + "rawIndexableTextContent" : "The center of the bounds. If the bounds is empty this will return the zero vector. ", + "summary" : "The center of the bounds. If the bounds is empty this will return the zero vector.", + "title" : "center" }, { "headings" : [ @@ -3880,13 +3930,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scaled(by:)-5p6di" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable....(_:_:). ", - "summary" : "Inherited from Comparable....(_:_:).", - "title" : "...(_:_:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -3896,13 +3946,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:)-7xdsm" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*(_:_:)-55zcf" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", - "summary" : "Inherited from Comparable....(_:).", - "title" : "...(_:)" + "rawIndexableTextContent" : "Combines two rotations to get the cumulative rotation. ", + "summary" : "Combines two rotations to get the cumulative rotation.", + "title" : "*(_:_:)" }, { "headings" : [ @@ -3912,29 +3962,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "rawIndexableTextContent" : "Inherited from AdditiveArithmetic.+=(_:_:). ", + "summary" : "Inherited from AdditiveArithmetic.+=(_:_:).", + "title" : "+=(_:_:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:)-14arr" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Equatable Implementations" + "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", + "summary" : "Inherited from Comparable....(_:).", + "title" : "...(_:)" }, { "headings" : [ @@ -3944,13 +3994,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/origin" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/transform(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An arbitrary point on the line selected as the origin. ", - "summary" : "An arbitrary point on the line selected as the origin.", - "title" : "origin" + "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", + "summary" : "Transform the value in place.", + "title" : "transform(by:)" }, { "headings" : [ @@ -3960,13 +4010,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/red" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/translated(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "red" + "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", + "summary" : "Returns a translated copy of the value.", + "title" : "translated(by:)" }, { "headings" : [ @@ -3976,61 +4026,61 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/w" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cylinder(radius:height:slices:poleDetail:faces:wrapMode:material:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The perpendicular distance from the world origin to the plane. ", - "summary" : "The perpendicular distance from the world origin to the plane.", - "title" : "w" + "rawIndexableTextContent" : "Creates a cylindrical mesh. The radius of the cylinder. The height of the cylinder. The number of vertical slices that make up the cylinder. Optionally add extra detail around poles to prevent texture warping. The direction of the generated polygon faces. The way that texture coordinates are calculated for the cylinder. The optional material for the mesh.", + "summary" : "Creates a cylindrical mesh.", + "title" : "cylinder(radius:height:slices:poleDetail:faces:wrapMode:material:)" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/faceNormal" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_=(_:_:)-j6oq" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The face normal for the path. Discussion If path is non-planar then this returns an average\/approximate normal.", - "summary" : "The face normal for the path.", - "title" : "faceNormal" + "rawIndexableTextContent" : "Inherited from Comparable.<=(_:_:). ", + "summary" : "Inherited from Comparable.<=(_:_:).", + "title" : "<=(_:_:)" }, { "headings" : [ - "Overview" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-8izj" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Euclid is a library for creating and manipulating 3D geometry using techniques such as extruding or “lathing” 2D paths to create solid 3D shapes, and CSG (Constructive Solid Geometry) to combine or subtract those shapes from one another. Overview Euclid is the underlying implementation for the open source ShapeScript scripting language and ShapeScript macOS app. Anything you can build in ShapeScript can be replicated programmatically in Swift using this library. If you would like to support the development of Euclid, please consider buying a copy of ShapeScript (the app itself is free, but there is an in-app purchase to unlock some features). You can also donate directly to the project via PayPal: Note: Euclid is a fairly complex piece of code, at a fairly early stage of development. You should expect some bugs and breaking changes over the first few releases, and the documentation is a little sparse. Please report any issues you encounter, and I will do my best to fix them.", - "summary" : "Euclid is a library for creating and manipulating 3D geometry using techniques such as extruding or “lathing” 2D paths to create solid 3D shapes, and CSG (Constructive Solid Geometry) to combine or subtract those shapes from one another.", - "title" : "Euclid" + "rawIndexableTextContent" : "Creates a Rotation from a simd quaternion. A simd quaternion.", + "summary" : "Creates a Rotation from a simd quaternion.", + "title" : "init(_:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scale(by:)-89xwv" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Transformable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Transformable Implementations" }, { "headings" : [ @@ -4040,32 +4090,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*=(_:_:)-7u9hf" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "rawIndexableTextContent" : "Multiplies the rotation angle by the specified value. ", + "summary" : "Multiplies the rotation angle by the specified value.", + "title" : "*=(_:_:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/isNormalized" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Encodable-Implementations" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "A Boolean value that indicates whether the quaternion has a length of 1. ", - "summary" : "A Boolean value that indicates whether the quaternion has a length of 1.", - "title" : "isNormalized" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Encodable Implementations" }, { "headings" : [ @@ -4075,16 +4122,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/\/=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Divides the components of the vector by the specified value. ", - "summary" : "Divides the components of the vector by the specified value.", - "title" : "\/=(_:_:)" + "rawIndexableTextContent" : "Inherited from Comparable....(_:_:). ", + "summary" : "Inherited from Comparable....(_:_:).", + "title" : "...(_:_:)" }, { "headings" : [ @@ -4094,29 +4138,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/mapColors(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_=(_:_:)-9rm6o" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Return a copy of the polygon with transformed vertex colors A closure to be applied to each color in the path.", - "summary" : "Return a copy of the polygon with transformed vertex colors", - "title" : "mapColors(_:)" + "rawIndexableTextContent" : "Inherited from Comparable.>=(_:_:). ", + "summary" : "Inherited from Comparable.>=(_:_:).", + "title" : ">=(_:_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersects(_:)-95v17" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/*=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a Boolean value that indicates whether the two bounds intersect. The bounds to compare. Return Value true if the bounds intersect, and false otherwise.", - "summary" : "Returns a Boolean value that indicates whether the two bounds intersect.", - "title" : "intersects(_:)" + "rawIndexableTextContent" : "Transform the value in place. ", + "summary" : "Transform the value in place.", + "title" : "*=(_:_:)" }, { "headings" : [ @@ -4126,29 +4170,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/RealityKitMaterialProvider" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/union(_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "15.0", - "name" : "iOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "12.0", - "name" : "macOS", - "unavailable" : false - } - ], - "rawIndexableTextContent" : "A closure that converts a RealityKit material to a Euclid material. A RealityKit material to convert. Return Value A Euclid Material.", - "summary" : "A closure that converts a RealityKit material to a Euclid material.", - "title" : "Mesh.RealityKitMaterialProvider" + "rawIndexableTextContent" : "Creates a new bounds that contains both the specified bounds and this one. The other bounds to be included. Return Value The combined bounds.", + "summary" : "Creates a new bounds that contains both the specified bounds and this one.", + "title" : "union(_:)" }, { "headings" : [ @@ -4158,13 +4186,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/corners" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "rawIndexableTextContent" : "The points that make up the corners of the bounds. ", + "summary" : "The points that make up the corners of the bounds.", + "title" : "corners" }, { "headings" : [ @@ -4174,29 +4202,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transform(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(origin:direction:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", - "summary" : "Transform the value in place.", - "title" : "transform(by:)" + "rawIndexableTextContent" : "Creates a line from an origin and direction. An arbitrary point on the line selected as the origin. The direction of the line, emanating from the origin.", + "summary" : "Creates a line from an origin and direction.", + "title" : "init(origin:direction:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/distance(from:)-3eglz" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:_:_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the distance between the vector (representing a position in space) from the specified line. The line to compare with. Return Value The absolute perpendicular distance between the point and line.", - "summary" : "Returns the distance between the vector (representing a position in space) from the specified line.", - "title" : "distance(from:)" + "rawIndexableTextContent" : "Creates a new vertex. The position of the vertex in 3D space. The surface normal for the vertex (defaults to zero). The optional texture coordinates for the vertex (defaults to zero). The optional vertex color (defaults to white).", + "summary" : "Creates a new vertex.", + "title" : "init(_:_:_:_:)" }, { "headings" : [ @@ -4206,13 +4234,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/Decodable-Implementations" }, "type" : "topLevelPage" }, "rawIndexableTextContent" : "", "summary" : "", - "title" : "Equatable Implementations" + "title" : "Decodable Implementations" }, { "headings" : [ @@ -4222,13 +4250,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/orange" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotated(by:)-76uyz" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "orange" + "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", + "summary" : "Returns a rotated copy of the value.", + "title" : "rotated(by:)" }, { "headings" : [ @@ -4238,61 +4266,46 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(roll:yaw:pitch:)" - }, - "type" : "topLevelPage" - }, - "rawIndexableTextContent" : "Creates a rotation from Euler angles applied in roll\/yaw\/pitch order. The angle of rotation around the Z axis. This is applied first. The angle of rotation around the Y axis. This is applied second. The angle of rotation around the X axis. This is applied last.", - "summary" : "Creates a rotation from Euler angles applied in roll\/yaw\/pitch order.", - "title" : "init(roll:yaw:pitch:)" - }, - { - "headings" : [ - - ], - "kind" : "article", - "location" : { - "reference" : { - "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Bounded-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(submeshes:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Bounded Implementations" + "rawIndexableTextContent" : "Creates a composite mesh from an array of submeshes. An array of meshes.", + "summary" : "Creates a composite mesh from an array of submeshes.", + "title" : "init(submeshes:)" }, { "headings" : [ - "Return Value" + "Return Value", + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/containsPoint(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/symmetricDifference(_:isCancelled:)-swift.method" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a Boolean value that indicates if the specified point is inside the mesh. The point to compare. Return Value true if the point lies inside the mesh, and false otherwise.", - "summary" : "Returns a Boolean value that indicates if the specified point is inside the mesh.", - "title" : "containsPoint(_:)" + "rawIndexableTextContent" : "Returns a new mesh reprenting only the volume exclusively occupied by one shape or the other, but not both. Return Value A new mesh representing the XOR of the meshes. Discussion Parameters mesh: The mesh to be XORed with this one. isCancelled: Callback used to cancel the operation.", + "summary" : "Returns a new mesh reprenting only the volume exclusively occupied by one shape or the other, but not both.", + "title" : "symmetricDifference(_:isCancelled:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new line segment by decoding from the given decoder. The decoder to read data from.", - "summary" : "Creates a new line segment by decoding from the given decoder.", - "title" : "init(from:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ @@ -4302,13 +4315,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-29v7y" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "The face generation policy for Euclid to use when creating a mesh. ", + "summary" : "The face generation policy for Euclid to use when creating a mesh.", + "title" : "Mesh.Faces" }, { "headings" : [ @@ -4318,13 +4331,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/merge(_:ensureConvex:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/distance(from:)-5p7ko" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Merges this polygon with another, removing redundant vertices where possible. The polygon to merge with. A Boolean indicating is the resultant polygon must be convex. Return Value The combined polygon, or nil if the polygons can’t be merged.", - "summary" : "Merges this polygon with another, removing redundant vertices where possible.", - "title" : "merge(_:ensureConvex:)" + "rawIndexableTextContent" : "Returns the distance between the vector (representing a position in space) from the specified plane. The plane to compare with. Return Value The distance between the point and the plane. The value is positive if the point lies in front of the plane, and negative if behind.", + "summary" : "Returns the distance between the vector (representing a position in space) from the specified plane.", + "title" : "distance(from:)" }, { "headings" : [ @@ -4334,29 +4347,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/\/=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An angle or 2D rotation. ", - "summary" : "An angle or 2D rotation.", - "title" : "Angle" + "rawIndexableTextContent" : "Divides the components of the vector by the value you provide. ", + "summary" : "Divides the components of the vector by the value you provide.", + "title" : "\/=(_:_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/sin(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-98mbu" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes the trigonometric sine of an angle. The angle to calculate the sine for. Return Value The trigonometric sine of the angle.", - "summary" : "Computes the trigonometric sine of an angle.", - "title" : "sin(_:)" + "rawIndexableTextContent" : "Returns a transformed copy of the value. ", + "summary" : "Returns a transformed copy of the value.", + "title" : "*(_:_:)" }, { "headings" : [ @@ -4366,48 +4379,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(start:end:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "rawIndexableTextContent" : "Creates a line segment with a start and end point. The start of the line segment. The end of the line segment.", + "summary" : "Creates a line segment with a start and end point.", + "title" : "init(start:end:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/twoPi" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Angle representing a full rotation. ", - "summary" : "Angle representing a full rotation.", - "title" : "twoPi" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-b3v3" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersects(_:)-95v17" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Creates a Euclid Quaternion from a SceneKit quaternion. The SCNQuaternion to convert.", - "summary" : "Creates a Euclid Quaternion from a SceneKit quaternion.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Returns a Boolean value that indicates whether the two bounds intersect. The bounds to compare. Return Value true if the bounds intersect, and false otherwise.", + "summary" : "Returns a Boolean value that indicates whether the two bounds intersect.", + "title" : "intersects(_:)" }, { "headings" : [ @@ -4417,13 +4427,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(_:texcoord:color:isCurved:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scale(by:)-7pxnt" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a path point. The location of the path point. An optional texture coordinate for this path point. An optional vertex color for this path point. A Boolean indicating if point should be curved or sharp.", - "summary" : "Creates a path point.", - "title" : "init(_:texcoord:color:isCurved:)" + "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ @@ -4433,13 +4443,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/*(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_(_:_:)-3fd8h" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. ", - "summary" : "Returns a transformed copy of the value.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "Inherited from Comparable.>(_:_:). ", + "summary" : "Inherited from Comparable.>(_:_:).", + "title" : ">(_:_:)" }, { "headings" : [ @@ -4449,29 +4459,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:material:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/roll(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a mesh from a SceneKit geometry, with the material you provide. The SCNGeometry to convert. A Mesh.Material to apply to the geometry, replacing any existing materials. Pass nil to use the default Euclid material.", - "summary" : "Creates a mesh from a SceneKit geometry, with the material you provide.", - "title" : "init(_:material:)" + "rawIndexableTextContent" : "Creates a rotation around the Z axis. The angle to rotate by.", + "summary" : "Creates a rotation around the Z axis.", + "title" : "roll(_:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/transform(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/containsPoint(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", - "summary" : "Transform the value in place.", - "title" : "transform(by:)" + "rawIndexableTextContent" : "Returns a Boolean value that indicates if the specified point is within the bounds. The point to compare. Return Value true if the point lies inside the bounds, and false otherwise.", + "summary" : "Returns a Boolean value that indicates if the specified point is within the bounds.", + "title" : "containsPoint(_:)" }, { "headings" : [ @@ -4481,13 +4491,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/mapTexcoords(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*(_:_:)-2drke" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Return a copy of the polygon with transformed texture coordinates A closure to be applied to each texcoord in the polygon.", - "summary" : "Return a copy of the polygon with transformed texture coordinates", - "title" : "mapTexcoords(_:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Returns a quaternion with its components multiplied by the specified value. ", + "summary" : "Returns a quaternion with its components multiplied by the specified value.", + "title" : "*(_:_:)" }, { "headings" : [ @@ -4497,13 +4510,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transformed(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasVertexColors" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", - "summary" : "Returns a transformed copy of the value.", - "title" : "transformed(by:)" + "rawIndexableTextContent" : "A Boolean value that indicates whether the polygon includes vertex colors. ", + "summary" : "A Boolean value that indicates whether the polygon includes vertex colors.", + "title" : "hasVertexColors" }, { "headings" : [ @@ -4513,45 +4526,48 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(axis:angle:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable....(_:_:). ", - "summary" : "Inherited from Comparable....(_:_:).", - "title" : "...(_:_:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Creates a quaternion from an axis and angle. A vector defining the axis of rotation. The angle of rotation around the axis.", + "summary" : "Creates a quaternion from an axis and angle.", + "title" : "init(axis:angle:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/length" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersection(with:)-7s1sd" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The magnitude of the vector. ", - "summary" : "The magnitude of the vector.", - "title" : "length" + "rawIndexableTextContent" : "Returns the point where the specified plane intersects the line. The plane to compare with. Return Value The point of intersection, or nil if the line and plane are parallel (don’t intersect).", + "summary" : "Returns the point where the specified plane intersects the line.", + "title" : "intersection(with:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curve(_:_:_:texcoord:color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a curved path point at the specified X, Y and Z coordinates. The X coordinate of the path point. The Y coordinate of the path point. The Z coordinate of the path point. An optional texture coordinate for this path point. An optional vertex color for this path point.", - "summary" : "Creates a curved path point at the specified X, Y and Z coordinates.", - "title" : "curve(_:_:_:texcoord:color:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ @@ -4561,13 +4577,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/with(material:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Deprecated. ", + "summary" : "Deprecated.", + "title" : "with(material:)" }, { "headings" : [ @@ -4577,12 +4596,15 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new transform by decoding from the given decoder. The decoder to read data from.", - "summary" : "Creates a new transform by decoding from the given decoder.", + "platforms" : [ + + ], + "rawIndexableTextContent" : "Creates a new quaternion by decoding from the given decoder. The decoder to read data from.", + "summary" : "Creates a new quaternion by decoding from the given decoder.", "title" : "init(from:)" }, { @@ -4593,29 +4615,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotate(by:)-7073s" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotate(by:)-r7j4" }, "type" : "topLevelPage" }, + "platforms" : [ + + ], "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", "summary" : "Rotate the value in place.", "title" : "rotate(by:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-6nlm" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/clip(to:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new vector from a CoreGraphics size. the CoreGraphics size.", - "summary" : "Creates a new vector from a CoreGraphics size.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Clip polygon to the specified plane The Plane to clip the polygon to. Return Value An array of the polygon fragments that lie in front of the plane.", + "summary" : "Clip polygon to the specified plane", + "title" : "clip(to:)" }, { "headings" : [ @@ -4625,29 +4650,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasVertexColors" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/color" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A Boolean value that indicates whether the polygon includes vertex colors. ", - "summary" : "A Boolean value that indicates whether the polygon includes vertex colors.", - "title" : "hasVertexColors" + "rawIndexableTextContent" : "The color of the path point (optional). ", + "summary" : "The color of the path point (optional).", + "title" : "color" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scale(by:)-1hyw0" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/cross(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "Computes the cross-product of this vector and another. The vector with which to compute the cross product. Return Value Returns a vector that is orthogonal to the two vectors used to compute the cross product.", + "summary" : "Computes the cross-product of this vector and another.", + "title" : "cross(_:)" }, { "headings" : [ @@ -4657,30 +4682,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:)-25eby" - }, - "type" : "topLevelPage" - }, - "rawIndexableTextContent" : "Creates a color from a CoreGraphics CGColor. The CoreGraphics color instance.", - "summary" : "Creates a color from a CoreGraphics CGColor.", - "title" : "init(_:)" - }, - { - "headings" : [ - "Return Value", - "Discussion" - ], - "kind" : "symbol", - "location" : { - "reference" : { - "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/difference(_:isCancelled:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/lerp(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Efficiently gets the difference between multiple meshes. Return Value A new mesh representing the difference between the meshes. Discussion Parameters meshes: An ordered collection of meshes. All but the first will be subtracted from the first. isCancelled: Callback used to cancel the operation.", - "summary" : "Efficiently gets the difference between multiple meshes.", - "title" : "difference(_:isCancelled:)" + "rawIndexableTextContent" : "Linearly interpolate between this vector and another. The vector to interpolate towards. The normalized extent of interpolation, from 0 to 1.", + "summary" : "Linearly interpolate between this vector and another.", + "title" : "lerp(_:_:)" }, { "headings" : [ @@ -4690,29 +4698,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/atan2(y:x:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/edgeVertices" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates an angle representing the trigonometric arc tangent of the vector you provide. Discussion Parameters y: The Y component of the input vector x: The X component of the input vector", - "summary" : "Creates an angle representing the trigonometric arc tangent of the vector you provide.", - "title" : "atan2(y:x:)" + "rawIndexableTextContent" : "An array of vertices suitable for constructing a set of edge polygons for the path. Discussion Returns an empty array if the path has subpaths.", + "summary" : "An array of vertices suitable for constructing a set of edge polygons for the path.", + "title" : "edgeVertices" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Decodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/roll" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Decodable Implementations" + "rawIndexableTextContent" : "The angle of rotation around the Z-axis. ", + "summary" : "The angle of rotation around the Z-axis.", + "title" : "roll" }, { "headings" : [ @@ -4722,29 +4730,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/orderedEdges" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(by:)-55r4j" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the ordered array of polygon edges. ", - "summary" : "Returns the ordered array of polygon edges.", - "title" : "orderedEdges" + "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-75on2" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes the convex hull of a set of vertices. Discussion Parameters vertices: A set of vertices to compute the hull around. material: An optional material to apply to the mesh.", - "summary" : "Computes the convex hull of a set of vertices.", - "title" : "convexHull(of:material:)" + "rawIndexableTextContent" : "The size or scale component of the transform. ", + "summary" : "The size or scale component of the transform.", + "title" : "scale" }, { "headings" : [ @@ -4754,13 +4762,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/\/=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scale(by:)-mpk5" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Divides the rotation angle by the specified value. ", - "summary" : "Divides the rotation angle by the specified value.", - "title" : "\/=(_:_:)" + "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ @@ -4770,13 +4778,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/isFlipped" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/plane" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Does the transform apply a mirror operation (negative scale)? ", - "summary" : "Does the transform apply a mirror operation (negative scale)?", - "title" : "isFlipped" + "rawIndexableTextContent" : "The plane upon which all path points lie. Will be nil for non-planar paths. ", + "summary" : "The plane upon which all path points lie. Will be nil for non-planar paths.", + "title" : "plane" }, { "headings" : [ @@ -4786,61 +4794,62 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/AdditiveArithmetic-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Decodable-Implementations" }, "type" : "topLevelPage" }, "rawIndexableTextContent" : "", "summary" : "", - "title" : "AdditiveArithmetic Implementations" + "title" : "Decodable Implementations" }, { "headings" : [ - + "Return Value", + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transform(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersection(_:isCancelled:)-swift.type.method" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a transform from the current position, scale and orientation of a SceneKit node. The SCNNode from which to determine the transform.", - "summary" : "Creates a transform from the current position, scale and orientation of a SceneKit node.", - "title" : "transform(from:)" + "rawIndexableTextContent" : "Efficiently computes the intersection of multiple meshes. Return Value A new mesh representing the intersection of the meshes. Discussion Parameters meshes: A collection of meshes to be intersected. isCancelled: Callback used to cancel the operation.", + "summary" : "Efficiently computes the intersection of multiple meshes.", + "title" : "intersection(_:isCancelled:)" }, { "headings" : [ - "Discussion" + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-4hvi3" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersection(with:)-2nysu" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes the convex hull of a set of paths. Discussion Parameters paths: A set of paths to compute the hull around. material: An optional material to apply to the mesh.", - "summary" : "Computes the convex hull of a set of paths.", - "title" : "convexHull(of:material:)" + "rawIndexableTextContent" : "Returns the point where the specified line intersects this one. The line to compare with. Return Value The point of intersection, or nil if the lines don’t intersect.", + "summary" : "Returns the point where the specified line intersects this one.", + "title" : "intersection(with:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/translate(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/inverted()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", - "summary" : "Translate the value in place.", - "title" : "translate(by:)" + "rawIndexableTextContent" : "Flips the polygon along its plane and reverses the order and surface normals of the vertices. Return Value The inverted polygon.", + "summary" : "Flips the polygon along its plane and reverses the order and surface normals of the vertices.", + "title" : "inverted()" }, { "headings" : [ @@ -4850,100 +4859,99 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/default" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/undirectedEdges" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The default face generation behavior. Context-dependent. ", - "summary" : "The default face generation behavior. Context-dependent.", - "title" : "Mesh.Faces.default" + "rawIndexableTextContent" : "An unordered set of polygon edges. The direction of each edge is normalized relative to the origin to simplify edge-equality comparisons. ", + "summary" : "An unordered set of polygon edges. The direction of each edge is normalized relative to the origin to simplify edge-equality comparisons.", + "title" : "undirectedEdges" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/tessellate(maxSides:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/\/(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Splits all polygons in the mesh that are concave or have more than the specified number of sides into two or more convex polygons. The maximum number of sides each polygon may have. Return Value A new mesh containing the convex polygons.", - "summary" : "Splits all polygons in the mesh that are concave or have more than the specified number of sides into two or more convex polygons.", - "title" : "tessellate(maxSides:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Returns a quaternion with its components divided by the specified value. ", + "summary" : "Returns a quaternion with its components divided by the specified value.", + "title" : "\/(_:_:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(polygons:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Deprecated. ", - "summary" : "Deprecated.", - "title" : "init(polygons:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Deprecated. ", - "summary" : "Deprecated.", - "title" : "init(_:_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ - "Return Value" + ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/edges(intersecting:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Transformable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes a set of edges where the mesh intersects a plane. A Plane to test against the mesh. Return Value A Set of LineSegment representing the polygon edges intersecting the plane.", - "summary" : "Computes a set of edges where the mesh intersects a plane.", - "title" : "edges(intersecting:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Transformable Implementations" }, { "headings" : [ - "Return Value", - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/union(_:isCancelled:)-swift.method" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/isIdentity" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a new mesh representing the combined volume of the mesh parameter and the receiver, with inner faces removed. Return Value A new mesh representing the union of the input meshes. Discussion Parameters mesh: The mesh to form a union with. isCancelled: Callback used to cancel the operation.", - "summary" : "Returns a new mesh representing the combined volume of the mesh parameter and the receiver, with inner faces removed.", - "title" : "union(_:isCancelled:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Quaternion has no effect. ", + "summary" : "Quaternion has no effect.", + "title" : "isIdentity" }, { "headings" : [ @@ -4953,13 +4961,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-7r7et" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/inverted()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a Vector from a simd vector 2. A simd vector.", - "summary" : "Creates a Vector from a simd vector 2.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Flip the direction of the line segment ", + "summary" : "Flip the direction of the line segment", + "title" : "inverted()" }, { "headings" : [ @@ -4969,29 +4977,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materials:)-22brv" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/*=(_:_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "15.0", - "name" : "iOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "12.0", - "name" : "macOS", - "unavailable" : false - } - ], - "rawIndexableTextContent" : "Creates a mesh from a RealityKit MeshDescriptor with optional material. The MeshDescriptor to convert into a mesh. An array of materials to apply to the mesh.", - "summary" : "Creates a mesh from a RealityKit MeshDescriptor with optional material.", - "title" : "init(_:materials:)" + "rawIndexableTextContent" : "Transform the value in place. ", + "summary" : "Transform the value in place.", + "title" : "*=(_:_:)" }, { "headings" : [ @@ -5001,13 +4993,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-94kks" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from AdditiveArithmetic.+(_:). ", - "summary" : "Inherited from AdditiveArithmetic.+(_:).", - "title" : "+(_:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -5017,29 +5009,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_(_:_:)-9688a" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "rawIndexableTextContent" : "Inherited from Comparable.>(_:_:). ", + "summary" : "Inherited from Comparable.>(_:_:).", + "title" : ">(_:_:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersection(with:)-1tffl" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An infinite 2D plane in 3D space. ", - "summary" : "An infinite 2D plane in 3D space.", - "title" : "Plane" + "rawIndexableTextContent" : "Returns the point where the specified plane intersects the line segment. The plane to compare with. Return Value The point of intersection, or nil if the line segment and plane don’t intersect.", + "summary" : "Returns the point where the specified plane intersects the line segment.", + "title" : "intersection(with:)" }, { "headings" : [ @@ -5049,45 +5041,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scale(by:)-677dp" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scale(by:)-1hyw0" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", + "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", "summary" : "Scale the value in place.", "title" : "scale(by:)" }, { "headings" : [ - ], - "kind" : "article", - "location" : { - "reference" : { - "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Decodable-Implementations" - }, - "type" : "topLevelPage" - }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Decodable Implementations" - }, - { - "headings" : [ - "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/circle(radius:segments:color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-19ukh" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a closed circular path. The distance from the center of the circle to each point used to approximate its shape. The number of line segments used to approximate the circle. An optional Color to apply to the path’s points. Discussion Because the circle is approximated using line segments, its radius is not uniform. The radius specified is the outer radius, i.e. the radius at the corners of the polygon.", - "summary" : "Creates a closed circular path.", - "title" : "circle(radius:segments:color:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -5097,29 +5073,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(radians:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/!=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates an angle from a radians value. The angle in radians.", - "summary" : "Creates an angle from a radians value.", - "title" : "init(radians:)" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/yaw" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Decodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The angle of rotation around the Y-axis. ", - "summary" : "The angle of rotation around the Y-axis.", - "title" : "yaw" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Decodable Implementations" }, { "headings" : [ @@ -5145,29 +5121,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/materials" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transformed(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "All materials used by the mesh. The array may contain nil if some or all of the mesh uses the default material. ", - "summary" : "All materials used by the mesh. The array may contain nil if some or all of the mesh uses the default material.", - "title" : "materials" + "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", + "summary" : "Returns a transformed copy of the value.", + "title" : "transformed(by:)" }, { "headings" : [ - "Discussion" + "Overview" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-91swk" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes the convex hull of a set of line segments. Discussion Parameters edges: A set of line segments to compute the hull around. material: An optional material to apply to the mesh.", - "summary" : "Computes the convex hull of a set of line segments.", - "title" : "convexHull(of:material:)" + "rawIndexableTextContent" : "Euclid is a library for creating and manipulating 3D geometry using techniques such as extruding or “lathing” 2D paths to create solid 3D shapes, and CSG (Constructive Solid Geometry) to combine or subtract those shapes from one another. Overview Euclid is the underlying implementation for the open source ShapeScript scripting language and ShapeScript macOS app. Anything you can build in ShapeScript can be replicated programmatically in Swift using this library. If you would like to support the development of Euclid, please consider buying a copy of ShapeScript (the app itself is free, but there is an in-app purchase to unlock some features). You can also donate directly to the project via PayPal: Note: Euclid is a fairly complex piece of code, at a fairly early stage of development. You should expect some bugs and breaking changes over the first few releases, and the documentation is a little sparse. Please report any issues you encounter, and I will do my best to fix them.", + "summary" : "Euclid is a library for creating and manipulating 3D geometry using techniques such as extruding or “lathing” 2D paths to create solid 3D shapes, and CSG (Constructive Solid Geometry) to combine or subtract those shapes from one another.", + "title" : "Euclid" }, { "headings" : [ @@ -5177,13 +5153,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:_:_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-37r1v" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Create a color from RGB values and optional alpha component The red component of the color, from 0 to 1. The green component of the color, from 0 to 1. The blue component of the color, from 0 to 1. The alpha component of the color. Defaults to 1 (fully opaque)", - "summary" : "Create a color from RGB values and optional alpha component", - "title" : "init(_:_:_:_:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -5193,61 +5169,62 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/transform(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/angle" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", - "summary" : "Transform the value in place.", - "title" : "transform(by:)" + "rawIndexableTextContent" : "The angle of rotation. ", + "summary" : "The angle of rotation.", + "title" : "angle" }, { "headings" : [ - + "Return Value", + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/translated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/difference(_:isCancelled:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", - "summary" : "Returns a translated copy of the value.", - "title" : "translated(by:)" + "rawIndexableTextContent" : "Efficiently gets the difference between multiple meshes. Return Value A new mesh representing the difference between the meshes. Discussion Parameters meshes: An ordered collection of meshes. All but the first will be subtracted from the first. isCancelled: Callback used to cancel the operation.", + "summary" : "Efficiently gets the difference between multiple meshes.", + "title" : "difference(_:isCancelled:)" }, { "headings" : [ - + "Return Value" ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/distance(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Equatable Implementations" + "rawIndexableTextContent" : "Returns the distance between a point and the plane. The point to compare with. Return Value The distance between the point and the plane. The value is positive if the point lies in front of the plane, and negative if behind.", + "summary" : "Returns the distance between a point and the plane.", + "title" : "distance(from:)" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scale(by:)-55ayx" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(_:material:)-8gsiw" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "Creates a polygon from a set of vertex positions. A collection of Vector positions for the polygon vertices. An optional Polygon.Material to use for the polygon. Discussion Vertex normals will be set to match the overall face normal of the polygon. Texture coordinates will be set to zero. Vertex colors will be defaulted to white.", + "summary" : "Creates a polygon from a set of vertex positions.", + "title" : "init(_:material:)" }, { "headings" : [ @@ -5257,13 +5234,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scale(by:)-4egi6" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/magenta" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "magenta" }, { "headings" : [ @@ -5273,7 +5250,7 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotate(by:)-16elu" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotate(by:)-3uymx" }, "type" : "topLevelPage" }, @@ -5292,29 +5269,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curve(_:texcoord:color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a curved path point at the specified position. The location of the path point. The texture coordinate corresponding to this path point. An optional vertex color for this path point.", - "summary" : "Creates a curved path point at the specified position.", - "title" : "curve(_:texcoord:color:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Subtracts the quaternion rotation on the right from the one on the left. ", + "summary" : "Subtracts the quaternion rotation on the right from the one on the left.", + "title" : "-=(_:_:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Transformable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/*(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Transformable Implementations" + "rawIndexableTextContent" : "Returns a transformed copy of the value. ", + "summary" : "Returns a transformed copy of the value.", + "title" : "*(_:_:)" }, { "headings" : [ @@ -5324,13 +5304,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/a" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scale(by:)-89xwv" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The alpha component of the color. ", - "summary" : "The alpha component of the color.", - "title" : "a" + "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ @@ -5340,13 +5320,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:)-7go25" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/formIntersection(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a vertex from a path point. The path point to create the vertex from.", - "summary" : "Creates a vertex from a path point.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Reduces the bounds to contain just the intersection of itself and the specified bounds. The bounds with which to intersect.", + "summary" : "Reduces the bounds to contain just the intersection of itself and the specified bounds.", + "title" : "formIntersection(_:)" }, { "headings" : [ @@ -5356,29 +5336,30 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotate(by:)-15yni" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*=(_:_:)-3ur4e" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "Transform the value in place. ", + "summary" : "Transform the value in place.", + "title" : "*=(_:_:)" }, { "headings" : [ - + "Return Value", + "Discussion" ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Transformable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/makeWatertight()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Transformable Implementations" + "rawIndexableTextContent" : "Removes hairline cracks by inserting additional vertices without altering the shape. Return Value A new mesh with new vertices inserted if needed. Discussion This method is not always successful. Check isWatertight after to verify.", + "summary" : "Removes hairline cracks by inserting additional vertices without altering the shape.", + "title" : "makeWatertight()" }, { "headings" : [ @@ -5388,16 +5369,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/yaw" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/translated(by:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "The angle of rotation around the Y-axis. ", - "summary" : "The angle of rotation around the Y-axis.", - "title" : "yaw" + "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", + "summary" : "Returns a translated copy of the value.", + "title" : "translated(by:)" }, { "headings" : [ @@ -5407,13 +5385,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scale(by:)-758tv" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotate(by:)-3m9le" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ @@ -5423,32 +5401,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/y" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/+=(_:_:)" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "The quaternion Y component. ", - "summary" : "The quaternion Y component.", - "title" : "y" + "rawIndexableTextContent" : "Adds the quaternion rotation on the right to the one on the left. ", + "summary" : "Adds the quaternion rotation on the right to the one on the left.", + "title" : "+=(_:_:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/texcoord" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Decodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The texture coordinate of the path point (optional). If omitted, will be inferred automatically. ", - "summary" : "The texture coordinate of the path point (optional). If omitted, will be inferred automatically.", - "title" : "texcoord" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Decodable Implementations" }, { "headings" : [ @@ -5458,16 +5436,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotate(by:)-577nk" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/length" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "The magnitude of the quaternion. ", + "summary" : "The magnitude of the quaternion.", + "title" : "length" }, { "headings" : [ @@ -5477,13 +5455,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/fill(_:faces:material:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/texcoord" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a mesh by filling a path to form one or more polygons. The shape to be filled. The direction the polygon faces. The optional material for the mesh.", - "summary" : "Creates a mesh by filling a path to form one or more polygons.", - "title" : "fill(_:faces:material:)" + "rawIndexableTextContent" : "The texture coordinate of the path point (optional). If omitted, will be inferred automatically. ", + "summary" : "The texture coordinate of the path point (optional). If omitted, will be inferred automatically.", + "title" : "texcoord" }, { "headings" : [ @@ -5493,13 +5471,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:)-3s6ak" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cubeMapped()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", - "summary" : "Inherited from Comparable....(_:).", - "title" : "...(_:)" + "rawIndexableTextContent" : "Return a copy of the mesh with cube-mapped texture coordinates. ", + "summary" : "Return a copy of the mesh with cube-mapped texture coordinates.", + "title" : "cubeMapped()" }, { "headings" : [ @@ -5509,16 +5487,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotate(by:)-3uymx" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scale(by:)-2v2ef" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ @@ -5528,16 +5503,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/z" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotate(by:)-1umln" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "The quaternion Z component. ", - "summary" : "The quaternion Z component.", - "title" : "z" + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ @@ -5547,13 +5522,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/inverted()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotation" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Flip the direction of the line segment ", - "summary" : "Flip the direction of the line segment", - "title" : "inverted()" + "rawIndexableTextContent" : "The rotation or orientation component of the transform. ", + "summary" : "The rotation or orientation component of the transform.", + "title" : "rotation" }, { "headings" : [ @@ -5563,13 +5538,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/normal" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/formUnion(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A surface normal vector, perpendicular to the plane. ", - "summary" : "A surface normal vector, perpendicular to the plane.", - "title" : "normal" + "rawIndexableTextContent" : "Expands this bounds (if necessary) to contain the specified bounds. The bounds to be included.", + "summary" : "Expands this bounds (if necessary) to contain the specified bounds.", + "title" : "formUnion(_:)" }, { "headings" : [ @@ -5579,13 +5554,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/isIdentity" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Rotation has no effect. ", - "summary" : "Rotation has no effect.", - "title" : "isIdentity" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Returns the difference between two quaternion rotations,. ", + "summary" : "Returns the difference between two quaternion rotations,.", + "title" : "-(_:_:)" }, { "headings" : [ @@ -5595,32 +5573,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/angle" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/hash(into:)" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "The angle of rotation. ", - "summary" : "The angle of rotation.", - "title" : "angle" + "rawIndexableTextContent" : "Inherited from Hashable.hash(into:). ", + "summary" : "Inherited from Hashable.hash(into:).", + "title" : "hash(into:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/union(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(radians:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new bounds that contains both the specified bounds and this one. The other bounds to be included. Return Value The combined bounds.", - "summary" : "Creates a new bounds that contains both the specified bounds and this one.", - "title" : "union(_:)" + "rawIndexableTextContent" : "Creates an angle from a radians value. The angle in radians.", + "summary" : "Creates an angle from a radians value.", + "title" : "init(radians:)" }, { "headings" : [ @@ -5630,13 +5608,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/translate(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", - "summary" : "Translate the value in place.", - "title" : "translate(by:)" + "rawIndexableTextContent" : "Returns a transformed copy of the value. ", + "summary" : "Returns a transformed copy of the value.", + "title" : "*(_:_:)" }, { "headings" : [ @@ -5646,45 +5624,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/direction" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the componentwise sum of two vectors. ", - "summary" : "Returns the componentwise sum of two vectors.", - "title" : "+(_:_:)" + "rawIndexableTextContent" : "The normalized direction of the line. ", + "summary" : "The normalized direction of the line.", + "title" : "direction" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/isEmpty" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/atan2(y:x:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A Boolean value that indicates whether the bounds is empty (has zero volume). ", - "summary" : "A Boolean value that indicates whether the bounds is empty (has zero volume).", - "title" : "isEmpty" + "rawIndexableTextContent" : "Creates an angle representing the trigonometric arc tangent of the vector you provide. Discussion Parameters y: The Y component of the input vector x: The X component of the input vector", + "summary" : "Creates an angle representing the trigonometric arc tangent of the vector you provide.", + "title" : "atan2(y:x:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/roll(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a rotation around the Z axis. The angle to rotate by.", - "summary" : "Creates a rotation around the Z axis.", - "title" : "roll(_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ @@ -5694,13 +5672,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/default" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/identity" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The default wrap behavior. Context-dependent. ", - "summary" : "The default wrap behavior. Context-dependent.", - "title" : "Mesh.WrapMode.default" + "rawIndexableTextContent" : "The identity transform (i.e. no transform). ", + "summary" : "The identity transform (i.e. no transform).", + "title" : "identity" }, { "headings" : [ @@ -5710,13 +5688,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/inverted()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/triangulate()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Flips the face direction and vertex normals of all polygons within the mesh. Return Value The inverted mesh.", - "summary" : "Flips the face direction and vertex normals of all polygons within the mesh.", - "title" : "inverted()" + "rawIndexableTextContent" : "Splits all polygons in the mesh into triangles. Return Value A new mesh containing the triangles.", + "summary" : "Splits all polygons in the mesh into triangles.", + "title" : "triangulate()" }, { "headings" : [ @@ -5726,13 +5704,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/polygon(radius:sides:color:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new vector by decoding from the given decoder. The decoder to read data from.", - "summary" : "Creates a new vector by decoding from the given decoder.", - "title" : "init(from:)" + "rawIndexableTextContent" : "Creates a closed regular polygon. The distance from the center of the polygon to each point. The number of sides on the polygon. An optional Color to apply to the path’s points.", + "summary" : "Creates a closed regular polygon.", + "title" : "polygon(radius:sides:color:)" }, { "headings" : [ @@ -5742,61 +5720,61 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transformed(by:)-21ah6" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/plane" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", - "summary" : "Returns a transformed copy of the value.", - "title" : "transformed(by:)" + "rawIndexableTextContent" : "The plane on which all vertices lie. ", + "summary" : "The plane on which all vertices lie.", + "title" : "plane" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Decodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scale(by:)-6c0wl" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Decodable Implementations" + "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:depth:twist:sections:faces:material:isCancelled:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Bounded-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Efficiently extrudes an array of paths along their respective face normals, avoiding duplicate work. The array of paths to extrude in order to create the mesh. The depth of the extrusion. Angular twist to apply along the extrusion. Number of sections to create along extrusion. The direction of the generated polygon faces. The optional material for the mesh.", - "summary" : "Efficiently extrudes an array of paths along their respective face normals, avoiding duplicate work.", - "title" : "extrude(_:depth:twist:sections:faces:material:isCancelled:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Bounded Implementations" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:)-49h2f" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-5ztum" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", - "summary" : "Inherited from Comparable....(_:).", - "title" : "...(_:)" + "rawIndexableTextContent" : "Computes the convex hull of a set of path points. Discussion Parameters points: A set of path points to compute the hull around. material: An optional material to apply to the mesh. The curvature of the point is currently ignored when calculating hull surface normals.", + "summary" : "Computes the convex hull of a set of path points.", + "title" : "convexHull(of:material:)" }, { "headings" : [ @@ -5806,13 +5784,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(normal:pointOnPlane:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/\/=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a plane from a point and surface normal. The surface normal of the plane. An arbitrary point on the plane.", - "summary" : "Creates a plane from a point and surface normal.", - "title" : "init(normal:pointOnPlane:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Divides the components of the vector by the specified value. ", + "summary" : "Divides the components of the vector by the specified value.", + "title" : "\/=(_:_:)" }, { "headings" : [ @@ -5822,13 +5803,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/isZero" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The texture wrapping mode to use when generating a mesh. ", - "summary" : "The texture wrapping mode to use when generating a mesh.", - "title" : "Mesh.WrapMode" + "rawIndexableTextContent" : "The angle is zero (or close to zero). ", + "summary" : "The angle is zero (or close to zero).", + "title" : "isZero" }, { "headings" : [ @@ -5838,13 +5819,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/encode(to:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(roll:yaw:pitch:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Encodes this line segment into the given encoder. The encoder to write data to.", - "summary" : "Encodes this line segment into the given encoder.", - "title" : "encode(to:)" + "rawIndexableTextContent" : "Creates a rotation from Euler angles applied in roll\/yaw\/pitch order. The angle of rotation around the Z axis. This is applied first. The angle of rotation around the Y axis. This is applied second. The angle of rotation around the X axis. This is applied last.", + "summary" : "Creates a rotation from Euler angles applied in roll\/yaw\/pitch order.", + "title" : "init(roll:yaw:pitch:)" }, { "headings" : [ @@ -5854,64 +5835,48 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(axis:angle:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/roll(_:)" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "Creates a quaternion from an axis and angle. A vector defining the axis of rotation. The angle of rotation around the axis.", - "summary" : "Creates a quaternion from an axis and angle.", - "title" : "init(axis:angle:)" - }, - { - "headings" : [ - - ], - "kind" : "symbol", - "location" : { - "reference" : { - "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(_:)-55t4p" - }, - "type" : "topLevelPage" - }, - "rawIndexableTextContent" : "Creates a scale transform. A vector scale factor apply.", - "summary" : "Creates a scale transform.", - "title" : "scale(_:)" + "rawIndexableTextContent" : "Creates a quaternion representing a rotation around the Z axis. The angle to rotate by.", + "summary" : "Creates a quaternion representing a rotation around the Z axis.", + "title" : "roll(_:)" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(stlData:materialLookup:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-356zr" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Create a mesh from STL data. Discussion Parameters stlData: binary or ASCII STL file data materialLookup: A closure to map STL facet colors to Euclid materials. Use nil for default mapping.", - "summary" : "Create a mesh from STL data.", - "title" : "init(stlData:materialLookup:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/clip(to:fill:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Clip mesh to the specified plane and optionally fill sheared faces with specified material. Discussion Parameters plane: The plane to clip the mesh to fill: The material to fill the sheared face(s) with. Specifying nil for the fill material will leave the sheared face unfilled.", - "summary" : "Clip mesh to the specified plane and optionally fill sheared faces with specified material.", - "title" : "clip(to:fill:)" + "rawIndexableTextContent" : "Creates a new polygon by decoding from the given decoder. The decoder to read data from.", + "summary" : "Creates a new polygon by decoding from the given decoder.", + "title" : "init(from:)" }, { "headings" : [ @@ -5921,13 +5886,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-5bu0o" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. ", - "summary" : "Returns a transformed copy of the value.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "Creates a path from a set of line segments. A set ofLineSegment to convert to a path.", + "summary" : "Creates a path from a set of line segments.", + "title" : "init(_:)" }, { "headings" : [ @@ -5937,30 +5902,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-1dtbr" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/components" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Returns an array containing the red, green, blue, and alpha components of the color. ", + "summary" : "Returns an array containing the red, green, blue, and alpha components of the color.", + "title" : "components" }, { "headings" : [ - "Return Value", - "Discussion" + ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/lerp(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Transformable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Linearly interpolates between two vertices. The vertex to interpolate towards. The unit value that indicates the distance between of this vertex and the target vertex. Return Value A new vertex with values interpolated between the two vertices. Discussion Interpolation is applied to the texture coordinate, normal and color, as well as the position.", - "summary" : "Linearly interpolates between two vertices.", - "title" : "lerp(_:_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Transformable Implementations" }, { "headings" : [ @@ -5970,45 +5934,30 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-cys2" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/translate(by:)" }, "type" : "topLevelPage" }, - "platforms" : [ - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "13.0", - "name" : "iOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "10.15", - "name" : "macOS", - "unavailable" : false - } - ], - "rawIndexableTextContent" : "Creates a EuclidTransform from a RealityKit Transform. The RealityKit transform to convert into a Euclid transform.", - "summary" : "Creates a EuclidTransform from a RealityKit Transform.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", + "summary" : "Translate the value in place.", + "title" : "translate(by:)" }, { "headings" : [ - + "Return Value", + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/point(_:_:_:texcoord:color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/union(_:isCancelled:)-swift.type.method" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a corner path point at the specified X, Y and Z coordinates. The X coordinate of the path point. The Y coordinate of the path point. The Z coordinate of the path point (optional - defaults to zero). An optional texture coordinate for this path point. An optional vertex color for this path point.", - "summary" : "Creates a corner path point at the specified X, Y and Z coordinates.", - "title" : "point(_:_:_:texcoord:color:)" + "rawIndexableTextContent" : "Efficiently forms a union from multiple meshes. Return Value A new mesh representing the union of the input meshes. Discussion Parameters meshes: A collection of meshes to be unioned. isCancelled: Callback used to cancel the operation.", + "summary" : "Efficiently forms a union from multiple meshes.", + "title" : "union(_:isCancelled:)" }, { "headings" : [ @@ -6018,29 +5967,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/.._(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasVertexColors" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable...<(_:_:). ", - "summary" : "Inherited from Comparable...<(_:_:).", - "title" : "..<(_:_:)" + "rawIndexableTextContent" : "A Boolean value that indicates whether the mesh includes vertex colors. ", + "summary" : "A Boolean value that indicates whether the mesh includes vertex colors.", + "title" : "hasVertexColors" }, { "headings" : [ - + "Overview" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*(_:_:)-2ew65" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the product of a numeric multiplier and an angle. ", - "summary" : "Returns the product of a numeric multiplier and an angle.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "An axially-aligned bounding box in 3D space. Overview Used for efficient intersection elimination between more complex shapes.", + "summary" : "An axially-aligned bounding box in 3D space.", + "title" : "Bounds" }, { "headings" : [ @@ -6050,29 +5999,59 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-5s4mt" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotated(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a Vector from a simd vector 3. A simd vector.", - "summary" : "Creates a Vector from a simd vector 3.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", + "summary" : "Returns a rotated copy of the value.", + "title" : "rotated(by:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/dot(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorDomain" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes the dot-product of this vector and another. The vector with which to compute the dot product. Return Value The dot product of the two vectors.", - "summary" : "Computes the dot-product of this vector and another.", - "title" : "dot(_:)" + "platforms" : [ + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "8.0", + "name" : "iOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "10.10", + "name" : "macOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "9.0", + "name" : "tvOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "2.0", + "name" : "watchOS", + "unavailable" : false + } + ], + "rawIndexableTextContent" : "Inherited from CustomNSError.errorDomain. ", + "summary" : "Inherited from CustomNSError.errorDomain.", + "title" : "errorDomain" }, { "headings" : [ @@ -6082,29 +6061,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isNormalized" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-1dtbr" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A Boolean value that indicates whether the vector has a length of 1. ", - "summary" : "A Boolean value that indicates whether the vector has a length of 1.", - "title" : "isNormalized" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/CancellationHandler" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The face generation policy for Euclid to use when creating a mesh. ", - "summary" : "The face generation policy for Euclid to use when creating a mesh.", - "title" : "Mesh.Faces" + "rawIndexableTextContent" : "Callback used to cancel a long-running operation. Return Value true if operation should be cancelled, or false otherwise.", + "summary" : "Callback used to cancel a long-running operation.", + "title" : "Mesh.CancellationHandler" }, { "headings" : [ @@ -6114,13 +6093,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Encodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Decodable-Implementations" }, "type" : "topLevelPage" }, "rawIndexableTextContent" : "", "summary" : "", - "title" : "Encodable Implementations" + "title" : "Decodable Implementations" }, { "headings" : [ @@ -6130,13 +6109,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/texcoord" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/sphere(radius:slices:stacks:poleDetail:faces:wrapMode:material:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Texture coordinates for the vertex. Set this to zero if you are not using a texture map. ", - "summary" : "Texture coordinates for the vertex. Set this to zero if you are not using a texture map.", - "title" : "texcoord" + "rawIndexableTextContent" : "Creates a spherical mesh. The radius of the sphere. The number of vertical slices that make up the sphere. The number of horizontal stacks that make up the sphere. Optionally add extra detail around poles to prevent texture warping The direction the polygon faces. The way that texture coordinates are calculated for the sphere. The optional material for the mesh.", + "summary" : "Creates a spherical mesh.", + "title" : "sphere(radius:slices:stacks:poleDetail:faces:wrapMode:material:)" }, { "headings" : [ @@ -6146,13 +6125,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/shrink" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/point(_:texcoord:color:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Texture is shrink-wrapped. ", - "summary" : "Texture is shrink-wrapped.", - "title" : "Mesh.WrapMode.shrink" + "rawIndexableTextContent" : "Creates a corner path point at the specified position. The location of the path point. An optional texture coordinate for this path point. An optional vertex color for this path point.", + "summary" : "Creates a corner path point at the specified position.", + "title" : "point(_:texcoord:color:)" }, { "headings" : [ @@ -6162,45 +6141,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:depth:twist:sections:faces:material:isCancelled:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from AdditiveArithmetic.-=(_:_:). ", - "summary" : "Inherited from AdditiveArithmetic.-=(_:_:).", - "title" : "-=(_:_:)" + "rawIndexableTextContent" : "Efficiently extrudes an array of paths along their respective face normals, avoiding duplicate work. The array of paths to extrude in order to create the mesh. The depth of the extrusion. Angular twist to apply along the extrusion. Number of sections to create along extrusion. The direction of the generated polygon faces. The optional material for the mesh.", + "summary" : "Efficiently extrudes an array of paths along their respective face normals, avoiding duplicate work.", + "title" : "extrude(_:depth:twist:sections:faces:material:isCancelled:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Decodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/.._(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Decodable Implementations" + "rawIndexableTextContent" : "Inherited from Comparable...<(_:). ", + "summary" : "Inherited from Comparable...<(_:).", + "title" : "..<(_:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/edges(intersecting:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from AdditiveArithmetic.+(_:). ", - "summary" : "Inherited from AdditiveArithmetic.+(_:).", - "title" : "+(_:)" + "rawIndexableTextContent" : "Computes a set of edges where the mesh intersects a plane. A Plane to test against the mesh. Return Value A Set of LineSegment representing the polygon edges intersecting the plane.", + "summary" : "Computes a set of edges where the mesh intersects a plane.", + "title" : "edges(intersecting:)" }, { "headings" : [ @@ -6210,13 +6189,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/pitch" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Alignment mode to use when extruding along a path. ", - "summary" : "Alignment mode to use when extruding along a path.", - "title" : "Path.Alignment" + "rawIndexableTextContent" : "The angle of rotation around the X-axis. ", + "summary" : "The angle of rotation around the X-axis.", + "title" : "pitch" }, { "headings" : [ @@ -6226,13 +6205,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/zero" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotate(by:)-7y2vv" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A zero-length vector. ", - "summary" : "A zero-length vector.", - "title" : "zero" + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ @@ -6242,13 +6221,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*=(_:_:)-3ur4e" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cube(center:size:faces:wrapMode:material:)-eado" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. ", - "summary" : "Transform the value in place.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "Creates an axis-aligned cubical mesh. The center point of the mesh. The size of the mesh. The direction of the generated polygon faces. The way that texture coordinates are calculated for the cube. The optional material for the mesh.", + "summary" : "Creates an axis-aligned cubical mesh.", + "title" : "cube(center:size:faces:wrapMode:material:)" }, { "headings" : [ @@ -6258,16 +6237,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/zero" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/isIdentity" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "The zero quaternion. ", - "summary" : "The zero quaternion.", - "title" : "zero" + "rawIndexableTextContent" : "Rotation has no effect. ", + "summary" : "Rotation has no effect.", + "title" : "isIdentity" }, { "headings" : [ @@ -6277,13 +6253,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Material" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scale(by:)-3en6y" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Material used by the mesh polygons. See Polygon.Material for details. ", - "summary" : "Material used by the mesh polygons. See Polygon.Material for details.", - "title" : "Mesh.Material" + "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ @@ -6293,13 +6269,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/points" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-27eol" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The array of points that makes up this path. ", - "summary" : "The array of points that makes up this path.", - "title" : "points" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Creates a Quaternion from a simd quaternion. A simd quaternion.", + "summary" : "Creates a Quaternion from a simd quaternion.", + "title" : "init(_:)" }, { "headings" : [ @@ -6309,29 +6288,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_(_:_:)-1aqv9" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotate(by:)-2ix6y" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns whether the leftmost angle has the lower value. ", - "summary" : "Returns whether the leftmost angle has the lower value.", - "title" : "<(_:_:)" + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Encodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(subpaths:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Encodable Implementations" + "rawIndexableTextContent" : "Creates a composite path from an array of subpaths. An array of paths.", + "summary" : "Creates a composite path from an array of subpaths.", + "title" : "init(subpaths:)" }, { "headings" : [ @@ -6341,32 +6320,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*=(_:_:)-5ic2j" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/axis" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "Multiplies the quaternion rotation on the left by the one on the right. ", - "summary" : "Multiplies the quaternion rotation on the left by the one on the right.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "The axis of rotation. ", + "summary" : "The axis of rotation.", + "title" : "axis" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Hashable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/min" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Hashable Implementations" + "rawIndexableTextContent" : "The minimum coordinate of the bounds. ", + "summary" : "The minimum coordinate of the bounds.", + "title" : "min" }, { "headings" : [ @@ -6376,51 +6355,46 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*(_:_:)-305tn" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scale(by:)-8g7t0" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Returns the product of two quaternions (i.e. the effect of rotating the left by the right). ", - "summary" : "Returns the product of two quaternions (i.e. the effect of rotating the left by the right).", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/MaterialProvider" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Transformable-Implementations" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : " ", + "rawIndexableTextContent" : "", "summary" : "", - "title" : "Mesh.MaterialProvider" + "title" : "Transformable Implementations" }, { "headings" : [ - "Return Value" + "Return Value", + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/containsPoint(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/triangulate()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a Boolean value that indicates whether a point lies inside the polygon, on the same plane. The point to test. Return Value true if the point lies inside the polygon and false otherwise.", - "summary" : "Returns a Boolean value that indicates whether a point lies inside the polygon, on the same plane.", - "title" : "containsPoint(_:)" + "rawIndexableTextContent" : "Tessellates the polygon into triangles. Return Value An array of triangles. Discussion If the polygon is already a triangle then it is returned unchanged.", + "summary" : "Tessellates the polygon into triangles.", + "title" : "triangulate()" }, { "headings" : [ @@ -6430,16 +6404,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersect(_:isCancelled:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(by:)-9i9s9" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "intersect(_:isCancelled:)" + "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ @@ -6449,13 +6420,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersection(with:)-2u7vo" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/inset(by:)-4gk62" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the intersection point between the specified line segment and this one. The line segment to compare with. Return Value The point of intersection, or nil if the line segments don’t intersect.", - "summary" : "Returns the intersection point between the specified line segment and this one.", - "title" : "intersection(with:)" + "rawIndexableTextContent" : "Returns a new bounds inset by the specified amount. The amount to inset the bounds by. Use a negative value to expand the bounds. Return Value The inset bounds.", + "summary" : "Returns a new bounds inset by the specified amount.", + "title" : "inset(by:)" }, { "headings" : [ @@ -6465,13 +6436,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/offset" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The translation or position component of the transform. ", - "summary" : "The translation or position component of the transform.", - "title" : "offset" + "rawIndexableTextContent" : "Creates a new line from the specified line segment. A segment somewhere on the line.", + "summary" : "Creates a new line from the specified line segment.", + "title" : "init(_:)" }, { "headings" : [ @@ -6481,13 +6452,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/transformed(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/bounds" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", - "summary" : "Returns a transformed copy of the value.", - "title" : "transformed(by:)" + "rawIndexableTextContent" : "The bounds of all the path’s points. ", + "summary" : "The bounds of all the path’s points.", + "title" : "bounds" }, { "headings" : [ @@ -6497,16 +6468,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/subtract(_:isCancelled:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/material-swift.property" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "subtract(_:isCancelled:)" + "rawIndexableTextContent" : "An optional Polygon.Material associated with the polygon. ", + "summary" : "An optional Polygon.Material associated with the polygon.", + "title" : "material" }, { "headings" : [ @@ -6516,13 +6484,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scaled(by:)-3shbk" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/front" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Generate front faces. ", + "summary" : "Generate front faces.", + "title" : "Mesh.Faces.front" }, { "headings" : [ @@ -6532,13 +6500,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/yaw(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/!=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a rotation around the Y axis. The angle to rotate by.", - "summary" : "Creates a rotation around the Y axis.", - "title" : "yaw(_:)" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ @@ -6548,29 +6516,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-b3v3" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Creates a Euclid Quaternion from a SceneKit quaternion. The SCNQuaternion to convert.", + "summary" : "Creates a Euclid Quaternion from a SceneKit quaternion.", + "title" : "init(_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/inverted()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_=(_:_:)-8q2nt" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Flips the polygon along its plane and reverses the order and surface normals of the vertices. Return Value The inverted polygon.", - "summary" : "Flips the polygon along its plane and reverses the order and surface normals of the vertices.", - "title" : "inverted()" + "rawIndexableTextContent" : "Inherited from Comparable.<=(_:_:). ", + "summary" : "Inherited from Comparable.<=(_:_:).", + "title" : "<=(_:_:)" }, { "headings" : [ @@ -6580,45 +6551,48 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(submeshes:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_=(_:_:)-9s7pp" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a composite mesh from an array of submeshes. An array of meshes.", - "summary" : "Creates a composite mesh from an array of submeshes.", - "title" : "init(submeshes:)" + "rawIndexableTextContent" : "Inherited from Comparable.>=(_:_:). ", + "summary" : "Inherited from Comparable.>=(_:_:).", + "title" : ">=(_:_:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/transformed(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/detessellate()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", - "summary" : "Returns a transformed copy of the value.", - "title" : "transformed(by:)" + "rawIndexableTextContent" : "Merges any coplanar polygons that share one or more edges. Return Value A new mesh containing the merged (possibly non-convex) polygons.", + "summary" : "Merges any coplanar polygons that share one or more edges.", + "title" : "detessellate()" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/b" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/normalized()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The blue component of the color. ", - "summary" : "The blue component of the color.", - "title" : "b" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Returns the normalized quaternion. Return Value The normalized quaternion (with a length of 1) or zero if the length is 0.", + "summary" : "Returns the normalized quaternion.", + "title" : "normalized()" }, { "headings" : [ @@ -6628,29 +6602,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(origin:direction:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotate(by:)-93ypi" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a line from an origin and direction. An arbitrary point on the line selected as the origin. The direction of the line, emanating from the origin.", - "summary" : "Creates a line from an origin and direction.", - "title" : "init(origin:direction:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:)-4yucl" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Encodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", - "summary" : "Inherited from Comparable....(_:).", - "title" : "...(_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Encodable Implementations" }, { "headings" : [ @@ -6660,80 +6637,80 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasVertexNormals" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/loft(_:faces:material:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A Boolean value that indicates whether the mesh includes vertex normals that differ from the face normal. ", - "summary" : "A Boolean value that indicates whether the mesh includes vertex normals that differ from the face normal.", - "title" : "hasVertexNormals" + "rawIndexableTextContent" : "Creates a mesh by connecting a series of 3D paths representing the cross sections. The paths to connect. The direction of the generated polygon faces. The optional material for the mesh.", + "summary" : "Creates a mesh by connecting a series of 3D paths representing the cross sections.", + "title" : "loft(_:faces:material:)" }, { "headings" : [ - + "Overview" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/lerp(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Linearly interpolate between this vector and another. The vector to interpolate towards. The normalized extent of interpolation, from 0 to 1.", - "summary" : "Linearly interpolate between this vector and another.", - "title" : "lerp(_:_:)" + "rawIndexableTextContent" : "An orientation or rotation in 3D space. Overview A rotation can be converted to and from an axis vector and angle, or a set of 3 Euler angles (pitch, yaw and roll).", + "summary" : "An orientation or rotation in 3D space.", + "title" : "Rotation" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Decodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/ellipse(width:height:segments:color:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Decodable Implementations" + "rawIndexableTextContent" : "Creates a closed elliptical path. The horizontal diameter of the ellipse. The vertical diameter of the ellipse. The number of line segments used to approximate the ellipse. An optional Color to apply to the path’s points.", + "summary" : "Creates a closed elliptical path.", + "title" : "ellipse(width:height:segments:color:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/dot(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/MaterialProvider" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "Computes the dot-product of this quaternion and another. The quaternion with which to compute the dot product. Return Value The dot product of the two quaternions.", - "summary" : "Computes the dot-product of this quaternion and another.", - "title" : "dot(_:)" + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "Mesh.MaterialProvider" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-27jri" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Bounded-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a bounds from a collection of points. A collection of points that the bounds contains.", - "summary" : "Creates a bounds from a collection of points.", - "title" : "init(_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Bounded Implementations" }, { "headings" : [ @@ -6743,13 +6720,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-5mcy5" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/translate(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a vector with its components multiplied by the specified value. ", - "summary" : "Returns a vector with its components multiplied by the specified value.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", + "summary" : "Translate the value in place.", + "title" : "translate(by:)" }, { "headings" : [ @@ -6759,13 +6736,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/.._(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/objString()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable...<(_:_:). ", - "summary" : "Inherited from Comparable...<(_:_:).", - "title" : "..<(_:_:)" + "rawIndexableTextContent" : "Return Wavefront OBJ string data for the mesh. ", + "summary" : "Return Wavefront OBJ string data for the mesh.", + "title" : "objString()" }, { "headings" : [ @@ -6775,16 +6752,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/x" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materialLookup:)-7p5hd" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "The quaternion X component. ", - "summary" : "The quaternion X component.", - "title" : "x" + "rawIndexableTextContent" : "Creates a mesh from a SceneKit geometry, with optional material mapping. The SCNGeometry to convert into a mesh. An optional closure to map SceneKit materials to Euclid materials. If omitted, the SCNMaterial will be directly used as the mesh material.", + "summary" : "Creates a mesh from a SceneKit geometry, with optional material mapping.", + "title" : "init(_:materialLookup:)" }, { "headings" : [ @@ -6794,13 +6768,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cubeMapped()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/acos(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Return a copy of the mesh with cube-mapped texture coordinates. ", - "summary" : "Return a copy of the mesh with cube-mapped texture coordinates.", - "title" : "cubeMapped()" + "rawIndexableTextContent" : "Creates an angle representing the trigonometric arc cosine of the value you provide. The cosine value to use to calculate the angle.", + "summary" : "Creates an angle representing the trigonometric arc cosine of the value you provide.", + "title" : "acos(_:)" }, { "headings" : [ @@ -6810,45 +6784,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:)-14arr" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", - "summary" : "Inherited from Comparable....(_:).", - "title" : "...(_:)" + "rawIndexableTextContent" : "Returns the inverse angle. ", + "summary" : "Returns the inverse angle.", + "title" : "-(_:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Encodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:depth:twist:sections:faces:material:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Encodable Implementations" + "rawIndexableTextContent" : "Creates a mesh by extruding a path along its face normal. The path to extrude in order to create the mesh. The depth of the extrusion. Angular twist to apply along the extrusion. Number of sections to create along extrusion. The direction of the generated polygon faces. The optional material for the mesh.", + "summary" : "Creates a mesh by extruding a path along its face normal.", + "title" : "extrude(_:depth:twist:sections:faces:material:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/transform(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/cos(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", - "summary" : "Transform the value in place.", - "title" : "transform(by:)" + "rawIndexableTextContent" : "Computes the trigonometric cosine of an angle. The angle to calculate the cosine for. Return Value The trigonometric cosine of the angle.", + "summary" : "Computes the trigonometric cosine of an angle.", + "title" : "cos(_:)" }, { "headings" : [ @@ -6858,13 +6832,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(axis:angle:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A vertex represents a corner of a Polygon or a point on the surface of a Mesh. ", - "summary" : "A vertex represents a corner of a Polygon or a point on the surface of a Mesh.", - "title" : "Vertex" + "rawIndexableTextContent" : "Creates a rotation from an axis and angle. A vector defining the axis of rotation. The angle of rotation around the axis.", + "summary" : "Creates a rotation from an axis and angle.", + "title" : "init(axis:angle:)" }, { "headings" : [ @@ -6874,13 +6848,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scale(by:)-2v2ef" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/back" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "Generate back faces. ", + "summary" : "Generate back faces.", + "title" : "Mesh.Faces.back" }, { "headings" : [ @@ -6890,13 +6864,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/transform(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/transformed(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", - "summary" : "Transform the value in place.", - "title" : "transform(by:)" + "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", + "summary" : "Returns a transformed copy of the value.", + "title" : "transformed(by:)" }, { "headings" : [ @@ -6906,29 +6880,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/orderedEdges" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Efficiently strokes a collection of line segments (useful for drawing wireframes). A collection of LineSegment to stroke. The line width of the strokes. The number of sides to use for the cross-sectional shape of the stroked mesh. The optional material for the mesh.", - "summary" : "Efficiently strokes a collection of line segments (useful for drawing wireframes).", - "title" : "stroke(_:width:detail:material:)" + "rawIndexableTextContent" : "Returns the ordered array of polygon edges. ", + "summary" : "Returns the ordered array of polygon edges.", + "title" : "orderedEdges" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_(_:_:)-9688a" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Encodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable.>(_:_:). ", - "summary" : "Inherited from Comparable.>(_:_:).", - "title" : ">(_:_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Encodable Implementations" }, { "headings" : [ @@ -6938,13 +6912,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/*(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_=(_:_:)-5nk27" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. ", - "summary" : "Returns a transformed copy of the value.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "Inherited from Comparable.>=(_:_:). ", + "summary" : "Inherited from Comparable.>=(_:_:).", + "title" : ">=(_:_:)" }, { "headings" : [ @@ -6954,13 +6928,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounded\/bounds" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cylinderMapped()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The bounds of the object. ", - "summary" : "The bounds of the object.", - "title" : "bounds" + "rawIndexableTextContent" : "Return a copy of the mesh with cylindrically-mapped texture coordinates. ", + "summary" : "Return a copy of the mesh with cylindrically-mapped texture coordinates.", + "title" : "cylinderMapped()" }, { "headings" : [ @@ -6970,32 +6944,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/lengthSquared" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-6epo6" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "The square of the length of the quaternion. This is less expensive to compute than the length itself. ", - "summary" : "The square of the length of the quaternion. This is less expensive to compute than the length itself.", - "title" : "lengthSquared" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ - + "Overview" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/fill(_:faces:material:isCancelled:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Efficiently fills an array of paths, avoiding unecessary work if there are duplicates. The array of paths to be filled. The direction the polygon faces. The optional material for the mesh.", - "summary" : "Efficiently fills an array of paths, avoiding unecessary work if there are duplicates.", - "title" : "fill(_:faces:material:isCancelled:)" + "rawIndexableTextContent" : "A path made up of a sequence of straight line segments between points. Overview A Path can be either open (a polyline) or closed (a polygon), but should not be self-intersecting or otherwise degenerate. A path may be formed from multiple subpaths, which can be accessed via the subpaths property. A closed Path can be converted to one or more Polygons, but it can also be used for other purposes, such as defining a cross-section or profile of a 3D shape. Paths are typically 2-dimensional, but because PathPoint positions have a Z coordinate, they are not required to be. Even a flat Path (where all points lie on the same plane) can be translated or rotated so that its points do not necessarily lie on the XY plane.", + "summary" : "A path made up of a sequence of straight line segments between points.", + "title" : "Path" }, { "headings" : [ @@ -7005,13 +6976,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/translate(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/lengthSquared" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", - "summary" : "Translate the value in place.", - "title" : "translate(by:)" + "rawIndexableTextContent" : "The square of the length of the vector. This is less expensive to compute than the length itself. ", + "summary" : "The square of the length of the vector. This is less expensive to compute than the length itself.", + "title" : "lengthSquared" }, { "headings" : [ @@ -7021,29 +6992,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Encodable-Implementations" }, "type" : "topLevelPage" }, "rawIndexableTextContent" : "", "summary" : "", - "title" : "Equatable Implementations" + "title" : "Encodable Implementations" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/dot(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An infinite line in 3D space. ", - "summary" : "An infinite line in 3D space.", - "title" : "Line" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Computes the dot-product of this quaternion and another. The quaternion with which to compute the dot product. Return Value The dot product of the two quaternions.", + "summary" : "Computes the dot-product of this quaternion and another.", + "title" : "dot(_:)" }, { "headings" : [ @@ -7053,32 +7027,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/identity" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/translated(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The identity rotation (i.e. no rotation). ", - "summary" : "The identity rotation (i.e. no rotation).", - "title" : "identity" + "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", + "summary" : "Returns a translated copy of the value.", + "title" : "translated(by:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(cgPath:detail:color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/normalized()" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "init(cgPath:detail:color:)" + "rawIndexableTextContent" : "Returns a normalized vector. Return Value The normalized vector (with a length of 1) or the zero vector if the length is 0.", + "summary" : "Returns a normalized vector.", + "title" : "normalized()" }, { "headings" : [ @@ -7088,13 +7059,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:)-8feph" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_=(_:_:)-1oq2t" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", - "summary" : "Inherited from Comparable....(_:).", - "title" : "...(_:)" + "rawIndexableTextContent" : "Inherited from Comparable.<=(_:_:). ", + "summary" : "Inherited from Comparable.<=(_:_:).", + "title" : "<=(_:_:)" }, { "headings" : [ @@ -7104,13 +7075,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/translate(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/xz" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", - "summary" : "Translate the value in place.", - "title" : "translate(by:)" + "rawIndexableTextContent" : "A plane located at the origin, aligned with the X and Z axes. ", + "summary" : "A plane located at the origin, aligned with the X and Z axes.", + "title" : "xz" }, { "headings" : [ @@ -7120,13 +7091,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/transformed(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/radians" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", - "summary" : "Returns a transformed copy of the value.", - "title" : "transformed(by:)" + "rawIndexableTextContent" : "The angle in radians. ", + "summary" : "The angle in radians.", + "title" : "radians" }, { "headings" : [ @@ -7136,16 +7107,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotate(by:)-5a3iz" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/z" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "The Z component of the vector. ", + "summary" : "The Z component of the vector.", + "title" : "z" }, { "headings" : [ @@ -7155,13 +7123,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_=(_:_:)-375to" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-4eop9" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable.<=(_:_:). ", - "summary" : "Inherited from Comparable.<=(_:_:).", - "title" : "<=(_:_:)" + "rawIndexableTextContent" : "Creates a vector from a CoreGraphics CGPoint. the CoreGraphics point.", + "summary" : "Creates a vector from a CoreGraphics CGPoint.", + "title" : "init(_:)" }, { "headings" : [ @@ -7171,45 +7139,48 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cylinderMapped()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/r" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Return a copy of the mesh with cylindrically-mapped texture coordinates. ", - "summary" : "Return a copy of the mesh with cylindrically-mapped texture coordinates.", - "title" : "cylinderMapped()" + "rawIndexableTextContent" : "The red component of the color. ", + "summary" : "The red component of the color.", + "title" : "r" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/encode(to:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/faceNormal" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Encodes this polygon into the given encoder. The encoder to write data to.", - "summary" : "Encodes this polygon into the given encoder.", - "title" : "encode(to:)" + "rawIndexableTextContent" : "The face normal for the path. Discussion If path is non-planar then this returns an average\/approximate normal.", + "summary" : "The face normal for the path.", + "title" : "faceNormal" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Encodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Encodable Implementations" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Returns the reverse quaternion rotation. ", + "summary" : "Returns the reverse quaternion rotation.", + "title" : "-(_:)" }, { "headings" : [ @@ -7219,13 +7190,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/*(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/\/=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. ", - "summary" : "Returns a transformed copy of the value.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "Divides the rotation angle by the specified value. ", + "summary" : "Divides the rotation angle by the specified value.", + "title" : "\/=(_:_:)" }, { "headings" : [ @@ -7235,16 +7206,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-fyhx" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Alignment" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Creates a quaternion from raw components. An array of 4 floating-point values.", - "summary" : "Creates a quaternion from raw components.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Alignment mode to use when extruding along a path. ", + "summary" : "Alignment mode to use when extruding along a path.", + "title" : "Mesh.Alignment" }, { "headings" : [ @@ -7254,13 +7222,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materialLookup:)-7p5hd" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/x" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a mesh from a SceneKit geometry, with optional material mapping. The SCNGeometry to convert into a mesh. An optional closure to map SceneKit materials to Euclid materials. If omitted, the SCNMaterial will be directly used as the mesh material.", - "summary" : "Creates a mesh from a SceneKit geometry, with optional material mapping.", - "title" : "init(_:materialLookup:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "The quaternion X component. ", + "summary" : "The quaternion X component.", + "title" : "x" }, { "headings" : [ @@ -7270,16 +7241,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:)-7go25" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Creates a new quaternion by decoding from the given decoder. The decoder to read data from.", - "summary" : "Creates a new quaternion by decoding from the given decoder.", - "title" : "init(from:)" + "rawIndexableTextContent" : "Creates a vertex from a path point. The path point to create the vertex from.", + "summary" : "Creates a vertex from a path point.", + "title" : "init(_:)" }, { "headings" : [ @@ -7289,29 +7257,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/hash(into:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:)-3s6ak" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Hashable.hash(into:). ", - "summary" : "Inherited from Hashable.hash(into:).", - "title" : "hash(into:)" + "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", + "summary" : "Inherited from Comparable....(_:).", + "title" : "...(_:)" }, { "headings" : [ - "Overview" + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(min:max:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A color in RGBA format. Overview Color can be used as a material or as a color.", - "summary" : "A color in RGBA format.", - "title" : "Color" + "rawIndexableTextContent" : "Creates a bounds with min and max coordinates. The minimum coordinate value. The maximum coordinate value. Discussion If the value for max is less than the value for min, the bounds is considered to be empty.", + "summary" : "Creates a bounds with min and max coordinates.", + "title" : "init(min:max:)" }, { "headings" : [ @@ -7321,29 +7289,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scale(by:)-mpk5" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-fyhx" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Creates a quaternion from raw components. An array of 4 floating-point values.", + "summary" : "Creates a quaternion from raw components.", + "title" : "init(_:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/*=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Encodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. ", - "summary" : "Transform the value in place.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Encodable Implementations" }, { "headings" : [ @@ -7353,13 +7324,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/axis" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_=(_:_:)-5dvuy" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The axis of rotation. ", - "summary" : "The axis of rotation.", - "title" : "axis" + "rawIndexableTextContent" : "Inherited from Comparable.>=(_:_:). ", + "summary" : "Inherited from Comparable.>=(_:_:).", + "title" : ">=(_:_:)" }, { "headings" : [ @@ -7369,29 +7340,30 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:detail:color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-9vwak" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a Path from a CGPath. The returned path may contain nested subpaths. The CoreGraphics path to convert. The number of line segments used to approximate cubic or quadratic bezier curves. An optional Color to apply to the path vertices.", - "summary" : "Creates a Path from a CGPath. The returned path may contain nested subpaths.", - "title" : "init(_:detail:color:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ - + "Return Value", + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/isConvex" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/merge(_:)-swift.method" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A Boolean value that indicates whether the polygon is convex. ", - "summary" : "A Boolean value that indicates whether the polygon is convex.", - "title" : "isConvex" + "rawIndexableTextContent" : "Merges the polygons from two meshes. The mesh to merge with this one. Return Value A new mesh that includes all polygons from both meshes. Discussion No attempt is made to deduplicate or join meshes. Polygons are neither split nor removed.", + "summary" : "Merges the polygons from two meshes.", + "title" : "merge(_:)" }, { "headings" : [ @@ -7401,13 +7373,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/position" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the difference between two angles. ", - "summary" : "Returns the difference between two angles.", - "title" : "-(_:_:)" + "rawIndexableTextContent" : "The position of the path point. ", + "summary" : "The position of the path point.", + "title" : "position" }, { "headings" : [ @@ -7417,93 +7389,93 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:)-5517j" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/!=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new vertex from a position with default values for normal, texcoord and color. The position of the vertex in 3D space.", - "summary" : "Creates a new vertex from a position with default values for normal, texcoord and color.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scale(by:)-1h2f7" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersection(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "Creates a new bounds representing the intersection between the specified bounds and this one. The bounds with which to intersect. Return Value The combined bounds, which may be empty if the bounds don’t intersect.", + "summary" : "Creates a new bounds representing the intersection between the specified bounds and this one.", + "title" : "intersection(_:)" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/edgeVertices" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/bounds" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An array of vertices suitable for constructing a set of edge polygons for the path. Discussion Returns an empty array if the path has subpaths.", - "summary" : "An array of vertices suitable for constructing a set of edge polygons for the path.", - "title" : "edgeVertices" + "rawIndexableTextContent" : "The bounds of the mesh. ", + "summary" : "The bounds of the mesh.", + "title" : "bounds" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/cos(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/mapVertexColors(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes the trigonometric cosine of an angle. The angle to calculate the cosine for. Return Value The trigonometric cosine of the angle.", - "summary" : "Computes the trigonometric cosine of an angle.", - "title" : "cos(_:)" + "rawIndexableTextContent" : "Return a copy of the polygon with transformed vertex colors A closure to be applied to each vertex color in the polygon.", + "summary" : "Return a copy of the polygon with transformed vertex colors", + "title" : "mapVertexColors(_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersects(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/isCurved" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a Boolean value that indicates whether two line segements intersect. The line segment to compare with. Return Value true if the line segments intersect and false otherwise.", - "summary" : "Returns a Boolean value that indicates whether two line segements intersect.", - "title" : "intersects(_:)" + "rawIndexableTextContent" : "A Boolean indicating whether the point is curved or sharp. ", + "summary" : "A Boolean indicating whether the point is curved or sharp.", + "title" : "isCurved" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/isWatertight" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-5n3j" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A Boolean value that indicates whether the mesh is watertight, meaning that every edge is attached to two polygons (or a multiple of two). Discussion A value of true doesn’t guarantee that mesh is not self-intersecting or inside-out.", - "summary" : "A Boolean value that indicates whether the mesh is watertight, meaning that every edge is attached to two polygons (or a multiple of two).", - "title" : "isWatertight" + "rawIndexableTextContent" : "Creates a Vector from a simd vector 3. A simd vector.", + "summary" : "Creates a Vector from a simd vector 3.", + "title" : "init(_:)" }, { "headings" : [ @@ -7513,48 +7485,48 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotation(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/inverted()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a rotation transform. A rotation to apply.", - "summary" : "Creates a rotation transform.", - "title" : "rotation(_:)" + "rawIndexableTextContent" : "Returns the flip-side of the plane. ", + "summary" : "Returns the flip-side of the plane.", + "title" : "inverted()" }, { "headings" : [ - "Overview" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-99vxt" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "An orientation or rotation in 3D space. Overview A quaternion can be created from a from a Rotation matrix, or directly from an axis vector and angle, or a from a set of 3 Euler angles (pitch, yaw and roll). In addition to being more compact than a 3x3 rotation matrix, quaternions also avoid a problem known as gymbal lock.", - "summary" : "An orientation or rotation in 3D space.", - "title" : "Quaternion" + "rawIndexableTextContent" : "Creates a Quaternion from a simd quaternion. A simd quaternion.", + "summary" : "Creates a Quaternion from a simd quaternion.", + "title" : "init(_:)" }, { "headings" : [ - + "Overview" ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Encodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Encodable Implementations" + "rawIndexableTextContent" : "A point along a path. Overview A path point can represent a sharp corner or a curve, and has a position, and optionally a texcoord and\/or color, but no normal. The isCurved property indicates if the point is sharp or smooth, allowing the normal to be computed automatically.", + "summary" : "A point along a path.", + "title" : "PathPoint" }, { "headings" : [ @@ -7564,65 +7536,61 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/acos(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates an angle representing the trigonometric arc cosine of the value you provide. The cosine value to use to calculate the angle.", - "summary" : "Creates an angle representing the trigonometric arc cosine of the value you provide.", - "title" : "acos(_:)" + "rawIndexableTextContent" : "Inherited from Comparable....(_:_:). ", + "summary" : "Inherited from Comparable....(_:_:).", + "title" : "...(_:_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/slerp(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/points" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Performs a spherical interpolation between two quaternions. A quaternion to interpolate with. The normalized extent of interpolation, from 0 to 1. Return Value The interpolated quaternion.", - "summary" : "Performs a spherical interpolation between two quaternions.", - "title" : "slerp(_:_:)" + "rawIndexableTextContent" : "The array of points that makes up this path. ", + "summary" : "The array of points that makes up this path.", + "title" : "points" }, { "headings" : [ - "Return Value", - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/triangulate()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Material-swift.typealias" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Tessellates the polygon into triangles. Return Value An array of triangles. Discussion If the polygon is already a triangle then it is returned unchanged.", - "summary" : "Tessellates the polygon into triangles.", - "title" : "triangulate()" + "rawIndexableTextContent" : "Material used by a given polygon. This can be any type that conforms to Hashable, but encoding\/decoding is only supported for the following types: Color, String, Int, Data or any NSSecureCodable type. ", + "summary" : "Material used by a given polygon. This can be any type that conforms to Hashable, but encoding\/decoding is only supported for the following types: Color, String, Int, Data or any NSSecureCodable type.", + "title" : "Polygon.Material" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/translated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/CustomNSError-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", - "summary" : "Returns a translated copy of the value.", - "title" : "translated(by:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "CustomNSError Implementations" }, { "headings" : [ @@ -7632,13 +7600,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/translate(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-3c0eo" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", - "summary" : "Translate the value in place.", - "title" : "translate(by:)" + "rawIndexableTextContent" : "Creates a closed path from a polygon. A Polygon to convert to a path.", + "summary" : "Creates a closed path from a polygon.", + "title" : "init(_:)" }, { "headings" : [ @@ -7648,29 +7616,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/*=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:)-8feph" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. ", - "summary" : "Transform the value in place.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", + "summary" : "Inherited from Comparable....(_:).", + "title" : "...(_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersects(_:)-7br6p" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/clear" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a Boolean value that indicates if the bounds intersects the specified plane. The plane to compare. Return Value true if the plane intersects the bounds, and false otherwise.", - "summary" : "Returns a Boolean value that indicates if the bounds intersects the specified plane.", - "title" : "intersects(_:)" + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "clear" }, { "headings" : [ @@ -7680,29 +7648,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/isZero" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(roll:yaw:pitch:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The angle is zero (or close to zero). ", - "summary" : "The angle is zero (or close to zero).", - "title" : "isZero" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Creates a rotation from Euler angles applied in roll\/yaw\/pitch order. The angle of rotation around the Z axis. This is applied first. The angle of rotation around the Y axis. This is applied second. The angle of rotation around the X axis. This is applied last.", + "summary" : "Creates a rotation from Euler angles applied in roll\/yaw\/pitch order.", + "title" : "init(roll:yaw:pitch:)" }, { "headings" : [ - "Discussion" + ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/Error-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a bounds from two points. The first point. The second point. Discussion Unlike the init(min:max:) constructor, the order of the points doesn’t matter.", - "summary" : "Creates a bounds from two points.", - "title" : "init(_:_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Error Implementations" }, { "headings" : [ @@ -7712,45 +7683,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:)-7d8un" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/twoPi" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a color from an NSColor. The NSColor to convert.", - "summary" : "Creates a color from an NSColor.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Angle representing a full rotation. ", + "summary" : "Angle representing a full rotation.", + "title" : "twoPi" }, { "headings" : [ - + "Overview" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/components" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An array containing the X, Y, and Z components of the vector. ", - "summary" : "An array containing the X, Y, and Z components of the vector.", - "title" : "components" + "rawIndexableTextContent" : "A color in RGBA format. Overview Color can be used as a material or as a color.", + "summary" : "A color in RGBA format.", + "title" : "Color" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_=(_:_:)-j6oq" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/faceVertices" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable.<=(_:_:). ", - "summary" : "Inherited from Comparable.<=(_:_:).", - "title" : "<=(_:_:)" + "rawIndexableTextContent" : "An array of vertices suitable for constructing a polygon from the path. Discussion Vertices include normals and uv coordinates normalized to the bounding rectangle of the path. Returns nil if path is not closed, or has subpaths.", + "summary" : "An array of vertices suitable for constructing a polygon from the path.", + "title" : "faceVertices" }, { "headings" : [ @@ -7760,29 +7731,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/withColor(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/end" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Replace\/remove path point colors. The color to apply to each point in the path.", - "summary" : "Replace\/remove path point colors.", - "title" : "withColor(_:)" + "rawIndexableTextContent" : "The end point of the line segment. ", + "summary" : "The end point of the line segment.", + "title" : "end" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stlData(colorLookup:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/!=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Return binary STL data for the mesh. A closure to map Euclid materials to STL facet colors. Use nil for default mapping. Return Value A Euclid Color value.", - "summary" : "Return binary STL data for the mesh.", - "title" : "stlData(colorLookup:)" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ @@ -7792,13 +7763,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/bounds" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a vector from the values you provide. The X component of the vector. The Y component of the vector. The Z component of the vector.", - "summary" : "Creates a vector from the values you provide.", - "title" : "init(_:_:_:)" + "rawIndexableTextContent" : "The bounding box containing the line segment. ", + "summary" : "The bounding box containing the line segment.", + "title" : "bounds" }, { "headings" : [ @@ -7808,13 +7779,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(subpaths:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-83oy3" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a composite path from an array of subpaths. An array of paths.", - "summary" : "Creates a composite path from an array of subpaths.", - "title" : "init(subpaths:)" + "rawIndexableTextContent" : "Creates a transform from a SceneKit transform matrix. The SCNMatrix4 from which to determine the transform.", + "summary" : "Creates a transform from a SceneKit transform matrix.", + "title" : "init(_:)" }, { "headings" : [ @@ -7824,13 +7795,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/black" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/*(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "black" + "rawIndexableTextContent" : "Returns a transformed copy of the value. ", + "summary" : "Returns a transformed copy of the value.", + "title" : "*(_:_:)" }, { "headings" : [ @@ -7840,13 +7811,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/area" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-r54o" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the area of the polygon. ", - "summary" : "Returns the area of the polygon.", - "title" : "area" + "rawIndexableTextContent" : "Creates a bounds from a collection of bounds. A collection of existing bounds that the bounds contains.", + "summary" : "Creates a bounds from a collection of bounds.", + "title" : "init(_:)" }, { "headings" : [ @@ -7856,29 +7827,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/xor(_:isCancelled:)-swift.type.method" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a color from a luminance value and optional alpha component. The luminance value, from 0 to 1. The alpha component. Defaults to 1 (fully opaque)", - "summary" : "Creates a color from a luminance value and optional alpha component.", - "title" : "init(_:_:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "xor(_:isCancelled:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Decodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/withAlpha(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Decodable Implementations" + "rawIndexableTextContent" : "Creates a copy of the color updated with the specified alpha. ", + "summary" : "Creates a copy of the color updated with the specified alpha.", + "title" : "withAlpha(_:)" }, { "headings" : [ @@ -7888,13 +7862,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/translate(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/!=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", - "summary" : "Translate the value in place.", - "title" : "translate(by:)" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ @@ -7904,16 +7878,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(bounds:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/pitch" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "Deprecated. ", - "summary" : "Deprecated.", - "title" : "init(bounds:)" + "rawIndexableTextContent" : "The angle of rotation around the X-axis. ", + "summary" : "The angle of rotation around the X-axis.", + "title" : "pitch" }, { "headings" : [ @@ -7923,13 +7897,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/*=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(pitch:yaw:roll:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. ", - "summary" : "Transform the value in place.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "Creates a rotation from Euler angles applied in pitch\/yaw\/roll order. The angle of rotation around the X axis. This is applied first. The angle of rotation around the Y axis. This is applied second. The angle of rotation around the Z axis. This is applied last.", + "summary" : "Creates a rotation from Euler angles applied in pitch\/yaw\/roll order.", + "title" : "init(pitch:yaw:roll:)" }, { "headings" : [ @@ -7939,16 +7913,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*=(_:_:)-lsgo" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/angle(with:)-9sfg1" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Multiplies the components of the quaternion by the specified value. ", - "summary" : "Multiplies the components of the quaternion by the specified value.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "Returns the angle between this vector and the specified plane. The plane to compare with.", + "summary" : "Returns the angle between this vector and the specified plane.", + "title" : "angle(with:)" }, { "headings" : [ @@ -7958,13 +7929,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/offset(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", - "summary" : "Returns a rotated copy of the value.", - "title" : "rotated(by:)" + "rawIndexableTextContent" : "Creates a offset transform. An offset distance.", + "summary" : "Creates a offset transform.", + "title" : "offset(_:)" }, { "headings" : [ @@ -7974,13 +7945,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Decodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Encodable-Implementations" }, "type" : "topLevelPage" }, "rawIndexableTextContent" : "", "summary" : "", - "title" : "Decodable Implementations" + "title" : "Encodable Implementations" }, { "headings" : [ @@ -7990,29 +7961,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_=(_:_:)-1oq2t" - }, - "type" : "topLevelPage" - }, - "rawIndexableTextContent" : "Inherited from Comparable.<=(_:_:). ", - "summary" : "Inherited from Comparable.<=(_:_:).", - "title" : "<=(_:_:)" - }, - { - "headings" : [ - - ], - "kind" : "article", - "location" : { - "reference" : { - "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(url:materialLookup:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Equatable Implementations" + "rawIndexableTextContent" : "Loads a mesh from a file, with optional material mapping. The URL of the file to be loaded. A closure to map format-specific materials to Euclid materials. Use nil for default mapping.", + "summary" : "Loads a mesh from a file, with optional material mapping.", + "title" : "init(url:materialLookup:)" }, { "headings" : [ @@ -8022,45 +7977,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(_:)-7a30s" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from AdditiveArithmetic.-=(_:_:). ", - "summary" : "Inherited from AdditiveArithmetic.-=(_:_:).", - "title" : "-=(_:_:)" + "rawIndexableTextContent" : "Creates a uniform scale transform. A uniform scale factor to apply.", + "summary" : "Creates a uniform scale transform.", + "title" : "scale(_:)" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(_:material:)-9mns5" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotated(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a polygon from an array of vertices. An array of Vertex that make up the polygon. An optional Polygon.Material to use for the polygon. Discussion A polygon can be convex or concave, but vertices must be coplanar and non-degenerate. Vertices are assumed to be in anti-clockwise order for the purpose of deriving the face normal.", - "summary" : "Creates a polygon from an array of vertices.", - "title" : "init(_:material:)" + "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", + "summary" : "Returns a rotated copy of the value.", + "title" : "rotated(by:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/normalized()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rectangle(width:height:color:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a normalized vector. Return Value The normalized vector (with a length of 1) or the zero vector if the length is 0.", - "summary" : "Returns a normalized vector.", - "title" : "normalized()" + "rawIndexableTextContent" : "Creates a closed rectangular path. The width of the rectangle. The height of the rectangle. An optional Color to apply to the path’s points.", + "summary" : "Creates a closed rectangular path.", + "title" : "rectangle(width:height:color:)" }, { "headings" : [ @@ -8070,13 +8025,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotation" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/translate(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The rotation or orientation component of the transform. ", - "summary" : "The rotation or orientation component of the transform.", - "title" : "rotation" + "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", + "summary" : "Translate the value in place.", + "title" : "translate(by:)" }, { "headings" : [ @@ -8086,16 +8041,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotate(by:)-hj8h" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/.._(_:_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "Inherited from Comparable...<(_:_:). ", + "summary" : "Inherited from Comparable...<(_:_:).", + "title" : "..<(_:_:)" }, { "headings" : [ @@ -8105,13 +8057,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Encodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Decodable-Implementations" }, "type" : "topLevelPage" }, "rawIndexableTextContent" : "", "summary" : "", - "title" : "Encodable Implementations" + "title" : "Decodable Implementations" }, { "headings" : [ @@ -8121,45 +8073,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/latheProfile" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*(_:_:)-5fe82" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Cropped and flattened version of path suitable for lathing around the Y axis. ", - "summary" : "Cropped and flattened version of path suitable for lathing around the Y axis.", - "title" : "latheProfile" + "rawIndexableTextContent" : "Returns a rotation multiplied by the specified value. ", + "summary" : "Returns a rotation multiplied by the specified value.", + "title" : "*(_:_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/distance(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/withoutTexcoords()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the distance between a point and the plane. The point to compare with. Return Value The distance between the point and the plane. The value is positive if the point lies in front of the plane, and negative if behind.", - "summary" : "Returns the distance between a point and the plane.", - "title" : "distance(from:)" + "rawIndexableTextContent" : "Return a copy of the polygon without texture coordinates ", + "summary" : "Return a copy of the polygon without texture coordinates", + "title" : "withoutTexcoords()" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/STLColorProvider" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "rawIndexableTextContent" : "A closure that maps a Euclid material to an STL facet color. A Euclid material to convert, or nil for the default material. Return Value A Euclid Color value.", + "summary" : "A closure that maps a Euclid material to an STL facet color.", + "title" : "Mesh.STLColorProvider" }, { "headings" : [ @@ -8169,13 +8121,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_(_:_:)-3fd8h" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/default" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable.>(_:_:). ", - "summary" : "Inherited from Comparable.>(_:_:).", - "title" : ">(_:_:)" + "rawIndexableTextContent" : "The default wrap behavior. Context-dependent. ", + "summary" : "The default wrap behavior. Context-dependent.", + "title" : "Mesh.WrapMode.default" }, { "headings" : [ @@ -8185,13 +8137,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/\/(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/.._(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a rotation divided by the specified value. ", - "summary" : "Returns a rotation divided by the specified value.", - "title" : "\/(_:_:)" + "rawIndexableTextContent" : "Inherited from Comparable...<(_:_:). ", + "summary" : "Inherited from Comparable...<(_:_:).", + "title" : "..<(_:_:)" }, { "headings" : [ @@ -8201,13 +8153,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scale(by:)-8g7t0" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/one" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "A vector with all coordinates set to 1. ", + "summary" : "A vector with all coordinates set to 1.", + "title" : "one" }, { "headings" : [ @@ -8217,43 +8169,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorDomain" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/y" }, "type" : "topLevelPage" }, - "platforms" : [ - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "8.0", - "name" : "iOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "10.10", - "name" : "macOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "9.0", - "name" : "tvOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "2.0", - "name" : "watchOS", - "unavailable" : false - } - ], - "rawIndexableTextContent" : "Inherited from CustomNSError.errorDomain. ", - "summary" : "Inherited from CustomNSError.errorDomain.", - "title" : "errorDomain" + "rawIndexableTextContent" : "The Y component of the vector. ", + "summary" : "The Y component of the vector.", + "title" : "y" }, { "headings" : [ @@ -8263,13 +8185,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/xy" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/!=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A plane located at the origin, aligned with the X and Y axes. ", - "summary" : "A plane located at the origin, aligned with the X and Y axes.", - "title" : "xy" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ @@ -8279,13 +8201,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scale(by:)-3en6y" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/min(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "Returns a new vector that represents the mininum of the components of the two vectors. ", + "summary" : "Returns a new vector that represents the mininum of the components of the two vectors.", + "title" : "min(_:_:)" }, { "headings" : [ @@ -8295,13 +8217,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:isCancelled:)-85o14" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new vertex by decoding from the given decoder. The decoder to read data from.", - "summary" : "Creates a new vertex by decoding from the given decoder.", - "title" : "init(from:)" + "rawIndexableTextContent" : "Creates a mesh by stroking a path with the line width, detail, and material you provide. The path to stroke. The line width of the stroke. The number of sides to use for the cross-sectional shape of the stroked mesh. The optional material for the mesh.", + "summary" : "Creates a mesh by stroking a path with the line width, detail, and material you provide.", + "title" : "stroke(_:width:detail:material:isCancelled:)" }, { "headings" : [ @@ -8311,13 +8233,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-7e3o7" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/encode(to:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Encodes this plane into the given encoder. The encoder to write data to.", + "summary" : "Encodes this plane into the given encoder.", + "title" : "encode(to:)" }, { "headings" : [ @@ -8327,13 +8249,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/radians(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/translated(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates an angle from a radians value. The angle in radians.", - "summary" : "Creates an angle from a radians value.", - "title" : "radians(_:)" + "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", + "summary" : "Returns a translated copy of the value.", + "title" : "translated(by:)" }, { "headings" : [ @@ -8343,16 +8265,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/w" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/uniqueEdges" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "The quaternion W component. ", - "summary" : "The quaternion W component.", - "title" : "w" + "rawIndexableTextContent" : "The unique polygon edges in the mesh. The direction of each edge is normalized relative to the origin to simplify edge-equality comparisons. ", + "summary" : "The unique polygon edges in the mesh. The direction of each edge is normalized relative to the origin to simplify edge-equality comparisons.", + "title" : "uniqueEdges" }, { "headings" : [ @@ -8362,45 +8281,33 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_(_:_:)-9obdn" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns whether the leftmost vector has the lower value. This provides a stable order when sorting collections of vectors. ", - "summary" : "Returns whether the leftmost vector has the lower value. This provides a stable order when sorting collections of vectors.", - "title" : "<(_:_:)" - }, - { - "headings" : [ + "platforms" : [ ], - "kind" : "symbol", - "location" : { - "reference" : { - "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/encode(to:)" - }, - "type" : "topLevelPage" - }, - "rawIndexableTextContent" : "Encodes this rotation into the given encoder. The encoder to write data to.", - "summary" : "Encodes this rotation into the given encoder.", - "title" : "encode(to:)" + "rawIndexableTextContent" : "Deprecated. ", + "summary" : "Deprecated.", + "title" : "init(_:_:)" }, { "headings" : [ + "Return Value", "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(shape:material:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stencil(_:isCancelled:)-swift.type.method" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a single polygon from a path. Discussion Parameters shape: The Path to convert to a polygon. material: An optional Polygon.Material to apply to the polygon. Path may be convex or concave, but must be closed, planar and non-degenerate, and must not include subpaths. For a non-planar path, or one with subpaths, use facePolygons(material:).", - "summary" : "Creates a single polygon from a path.", - "title" : "init(shape:material:)" + "rawIndexableTextContent" : "Efficiently performs a stencil with multiple meshes. Return Value A new mesh representing the result of stencilling. Discussion Parameters meshes: An ordered collection of meshes. All but the first will be stencilled onto the first. isCancelled: Callback used to cancel the operation.", + "summary" : "Efficiently performs a stencil with multiple meshes.", + "title" : "stencil(_:isCancelled:)" }, { "headings" : [ @@ -8410,48 +8317,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/isIdentity" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withTexcoord(_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Quaternion has no effect. ", - "summary" : "Quaternion has no effect.", - "title" : "isIdentity" + "rawIndexableTextContent" : "Creates a copy of the vertex with the specified texture coordinate. The texture coordinate to apply to the vertex.", + "summary" : "Creates a copy of the vertex with the specified texture coordinate.", + "title" : "withTexcoord(_:)" }, { "headings" : [ - + "Overview" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_(_:_:)-6eeco" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns whether the leftmost plane has the lower value. This provides a stable order when sorting collections of planes. ", - "summary" : "Returns whether the leftmost plane has the lower value. This provides a stable order when sorting collections of planes.", - "title" : "<(_:_:)" + "rawIndexableTextContent" : "A polygon in 3D space. Overview A polygon must be composed of three or more vertices, and those vertices must all lie on the same plane. The edges of a polygon can be either convex or concave, but not self-intersecting.", + "summary" : "A polygon in 3D space.", + "title" : "Polygon" }, { "headings" : [ - + "Overview" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/withoutTexcoords()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Return a copy of the polygon without texture coordinates ", - "summary" : "Return a copy of the polygon without texture coordinates", - "title" : "withoutTexcoords()" + "rawIndexableTextContent" : "A 3D surface made of polygons. Overview A mesh surface can be convex or concave, and can have zero volume (for example, a flat shape such as a square) but shouldn’t contain holes or exposed back-faces. The result of CSG operations on meshes that have holes or exposed back-faces is undefined.", + "summary" : "A 3D surface made of polygons.", + "title" : "Mesh" }, { "headings" : [ @@ -8461,13 +8365,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/encode(to:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/.._(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Encodes this mesh into the given encoder. The encoder to write data to.", - "summary" : "Encodes this mesh into the given encoder.", - "title" : "encode(to:)" + "rawIndexableTextContent" : "Inherited from Comparable...<(_:_:). ", + "summary" : "Inherited from Comparable...<(_:_:).", + "title" : "..<(_:_:)" }, { "headings" : [ @@ -8477,29 +8381,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scale(by:)-2pycj" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/materials" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "All materials used by the mesh. The array may contain nil if some or all of the mesh uses the default material. ", + "summary" : "All materials used by the mesh. The array may contain nil if some or all of the mesh uses the default material.", + "title" : "materials" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/SCNMaterialProvider" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The size or scale component of the transform. ", - "summary" : "The size or scale component of the transform.", - "title" : "scale" + "rawIndexableTextContent" : "A closure that maps a SceneKit material to a Euclid material. An SCNMaterial material to convert. Return Value A Mesh.Material instance, or nil for the default material.", + "summary" : "A closure that maps a SceneKit material to a Euclid material.", + "title" : "Mesh.SCNMaterialProvider" }, { "headings" : [ @@ -8509,13 +8413,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Encodable-Implementations" }, "type" : "topLevelPage" }, "rawIndexableTextContent" : "", "summary" : "", - "title" : "Equatable Implementations" + "title" : "Encodable Implementations" }, { "headings" : [ @@ -8525,13 +8429,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/text(_:font:width:detail:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isOne" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates an array of glyph contours from a string and font you provide. The text to convert. The font to use for the text. The optional width at which to line-wrap the text. The number line segments used to approximate glyph curves.", - "summary" : "Creates an array of glyph contours from a string and font you provide.", - "title" : "text(_:font:width:detail:)" + "rawIndexableTextContent" : "All vector components are one (or close to one) in length. ", + "summary" : "All vector components are one (or close to one) in length.", + "title" : "isOne" }, { "headings" : [ @@ -8541,13 +8445,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/translate(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitZ" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", - "summary" : "Translate the value in place.", - "title" : "translate(by:)" + "rawIndexableTextContent" : "A vector of length 1 along the Z axis. ", + "summary" : "A vector of length 1 along the Z axis.", + "title" : "unitZ" }, { "headings" : [ @@ -8557,16 +8461,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/zero" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "Returns the reverse quaternion rotation. ", - "summary" : "Returns the reverse quaternion rotation.", - "title" : "-(_:)" + "rawIndexableTextContent" : "The zero quaternion. ", + "summary" : "The zero quaternion.", + "title" : "zero" }, { "headings" : [ @@ -8576,16 +8480,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/xor(_:isCancelled:)-swift.method" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/!=(_:_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "xor(_:isCancelled:)" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ @@ -8595,13 +8496,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/default" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-cys2" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Use default alignment heuristic for the given path. ", - "summary" : "Use default alignment heuristic for the given path.", - "title" : "Path.Alignment.default" + "platforms" : [ + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "13.0", + "name" : "iOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "10.15", + "name" : "macOS", + "unavailable" : false + } + ], + "rawIndexableTextContent" : "Creates a EuclidTransform from a RealityKit Transform. The RealityKit transform to convert into a Euclid transform.", + "summary" : "Creates a EuclidTransform from a RealityKit Transform.", + "title" : "init(_:)" }, { "headings" : [ @@ -8611,13 +8528,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-7hvb3" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "platforms" : [ + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "13.0", + "name" : "iOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "10.15", + "name" : "macOS", + "unavailable" : false + } + ], + "rawIndexableTextContent" : "Creates a EuclidTransform from a simd matrix. The simd matrix to convert into a Euclid transform.", + "summary" : "Creates a EuclidTransform from a simd matrix.", + "title" : "init(_:)" }, { "headings" : [ @@ -8627,13 +8560,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(url:ignoringTransforms:materialLookup:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/orange" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Loads a mesh from a file using any format supported by SceneKit, with optional material mapping. The URL of the file to be loaded. Should node transforms from the input file be ignored. An optional closure to map the SceneKit materials to Euclid materials. If omitted, the SCNMaterial will be directly used as the mesh material.", - "summary" : "Loads a mesh from a file using any format supported by SceneKit, with optional material mapping.", - "title" : "init(url:ignoringTransforms:materialLookup:)" + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "orange" }, { "headings" : [ @@ -8643,29 +8576,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from AdditiveArithmetic.+=(_:_:). ", - "summary" : "Inherited from AdditiveArithmetic.+=(_:_:).", - "title" : "+=(_:_:)" + "rawIndexableTextContent" : "Inherited from AdditiveArithmetic.-=(_:_:). ", + "summary" : "Inherited from AdditiveArithmetic.-=(_:_:).", + "title" : "-=(_:_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/closed()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/yaw" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Closes the path by joining last point to first. Return Value A new path, or self if the path is already closed, or cannot be closed.", - "summary" : "Closes the path by joining last point to first.", - "title" : "closed()" + "rawIndexableTextContent" : "The angle of rotation around the Y-axis. ", + "summary" : "The angle of rotation around the Y-axis.", + "title" : "yaw" }, { "headings" : [ @@ -8675,16 +8608,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/+(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/z" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "Returns the sum of two quaternion rotations. ", - "summary" : "Returns the sum of two quaternion rotations.", - "title" : "+(_:_:)" + "rawIndexableTextContent" : "The quaternion Z component. ", + "summary" : "The quaternion Z component.", + "title" : "z" }, { "headings" : [ @@ -8694,13 +8627,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new angle by decoding from the given decoder. The decoder to read data from.", - "summary" : "Creates a new angle by decoding from the given decoder.", - "title" : "init(from:)" + "rawIndexableTextContent" : "Creates a path point from a vertex. The vertex to create the point from.", + "summary" : "Creates a path point from a vertex.", + "title" : "init(_:)" }, { "headings" : [ @@ -8710,29 +8643,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/encode(to:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/pitch(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Encodes this bounds into the given encoder. The encoder to write data to.", - "summary" : "Encodes this bounds into the given encoder.", - "title" : "encode(to:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Creates a quaternion representing a rotation around the X axis. The angle to rotate by.", + "summary" : "Creates a quaternion representing a rotation around the X axis.", + "title" : "pitch(_:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withTexcoord(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Transformable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a copy of the vertex with the specified texture coordinate. The texture coordinate to apply to the vertex.", - "summary" : "Creates a copy of the vertex with the specified texture coordinate.", - "title" : "withTexcoord(_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Transformable Implementations" }, { "headings" : [ @@ -8742,16 +8678,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/xor(_:isCancelled:)-swift.type.method" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/with(color:)" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "xor(_:isCancelled:)" + "rawIndexableTextContent" : "Deprecated. ", + "summary" : "Deprecated.", + "title" : "with(color:)" }, { "headings" : [ @@ -8761,13 +8697,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/white" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/*=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "white" + "rawIndexableTextContent" : "Transform the value in place. ", + "summary" : "Transform the value in place.", + "title" : "*=(_:_:)" }, { "headings" : [ @@ -8777,13 +8713,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/.._(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/isIdentity" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable...<(_:). ", - "summary" : "Inherited from Comparable...<(_:).", - "title" : "..<(_:)" + "rawIndexableTextContent" : "Transform has no effect. ", + "summary" : "Transform has no effect.", + "title" : "isIdentity" }, { "headings" : [ @@ -8793,13 +8729,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-r54o" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/empty" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a bounds from a collection of bounds. A collection of existing bounds that the bounds contains.", - "summary" : "Creates a bounds from a collection of bounds.", - "title" : "init(_:)" + "rawIndexableTextContent" : "An empty mesh. ", + "summary" : "An empty mesh.", + "title" : "empty" }, { "headings" : [ @@ -8809,13 +8745,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_(_:_:)-2si4j" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/isClosed" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns whether the leftmost line segment has the lower value. This provides a stable order when sorting collections of line segments. ", - "summary" : "Returns whether the leftmost line segment has the lower value. This provides a stable order when sorting collections of line segments.", - "title" : "<(_:_:)" + "rawIndexableTextContent" : "Indicates whether the path is a closed path. ", + "summary" : "Indicates whether the path is a closed path.", + "title" : "isClosed" }, { "headings" : [ @@ -8825,13 +8761,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/formIntersection(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/transformed(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Reduces the bounds to contain just the intersection of itself and the specified bounds. The bounds with which to intersect.", - "summary" : "Reduces the bounds to contain just the intersection of itself and the specified bounds.", - "title" : "formIntersection(_:)" + "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", + "summary" : "Returns a transformed copy of the value.", + "title" : "transformed(by:)" }, { "headings" : [ @@ -8841,13 +8777,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/blue" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/degrees" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "blue" + "rawIndexableTextContent" : "The angle in degrees. ", + "summary" : "The angle in degrees.", + "title" : "degrees" }, { "headings" : [ @@ -8857,13 +8793,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*(_:_:)-8l78z" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasVertexNormals" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the product of an angle and numeric multiplier. ", - "summary" : "Returns the product of an angle and numeric multiplier.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "A Boolean value that indicates whether the polygon includes vertex normals that differ from the face normal. ", + "summary" : "A Boolean value that indicates whether the polygon includes vertex normals that differ from the face normal.", + "title" : "hasVertexNormals" }, { "headings" : [ @@ -8873,13 +8809,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(url:ignoringTransforms:materialLookup:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a path point from a vertex. The vertex to create the point from.", - "summary" : "Creates a path point from a vertex.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Loads a mesh from a file using any format supported by SceneKit, with optional material mapping. The URL of the file to be loaded. Should node transforms from the input file be ignored. An optional closure to map the SceneKit materials to Euclid materials. If omitted, the SCNMaterial will be directly used as the mesh material.", + "summary" : "Loads a mesh from a file using any format supported by SceneKit, with optional material mapping.", + "title" : "init(url:ignoringTransforms:materialLookup:)" }, { "headings" : [ @@ -8889,13 +8825,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_=(_:_:)-9rm6o" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/\/(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable.>=(_:_:). ", - "summary" : "Inherited from Comparable.>=(_:_:).", - "title" : ">=(_:_:)" + "rawIndexableTextContent" : "Returns the angle divided by a numeric denominator. ", + "summary" : "Returns the angle divided by a numeric denominator.", + "title" : "\/(_:_:)" }, { "headings" : [ @@ -8905,29 +8841,48 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(stlString:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotate(by:)-l48f" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Create a mesh from an STL string. ASCII STL string data.", - "summary" : "Create a mesh from an STL string.", - "title" : "init(stlString:)" + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Encodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/roll" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Encodable Implementations" + "platforms" : [ + + ], + "rawIndexableTextContent" : "The angle of rotation around the Z-axis. ", + "summary" : "The angle of rotation around the Z-axis.", + "title" : "roll" + }, + { + "headings" : [ + + ], + "kind" : "symbol", + "location" : { + "reference" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*=(_:_:)-68kkw" + }, + "type" : "topLevelPage" + }, + "rawIndexableTextContent" : "Combines with the specified rotation. ", + "summary" : "Combines with the specified rotation.", + "title" : "*=(_:_:)" }, { "headings" : [ @@ -8937,45 +8892,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*(_:_:)-55zcf" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/extrusionContours(along:twist:align:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Combines two rotations to get the cumulative rotation. ", - "summary" : "Combines two rotations to get the cumulative rotation.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "Creates an array of contours by extruding one path along another path. The path along which to extrude the shape. Angular twist to apply along the extrusion. The alignment mode to use for the extruded shape.", + "summary" : "Creates an array of contours by extruding one path along another path.", + "title" : "extrusionContours(along:twist:align:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/Error-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/*=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Error Implementations" + "rawIndexableTextContent" : "Transform the value in place. ", + "summary" : "Transform the value in place.", + "title" : "*=(_:_:)" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cone(radius:height:slices:stacks:poleDetail:addDetailAtBottomPole:faces:wrapMode:material:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/write(to:materialLookup:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a conical mesh. The radius of the cone. The height of the cone. The number of vertical slices that make up the cone. The number of horizontal stacks that make up the cone. Optionally add extra detail around top pole to prevent texture warping. Whether detail should be added at bottom pole. The direction of the generated polygon faces. The way that texture coordinates are calculated for the cone. The optional material for the mesh. Discussion The default nil value for poleDetail will derive value automatically. Use zero instead if you wish to add no extra detail at the poles.", - "summary" : "Creates a conical mesh.", - "title" : "cone(radius:height:slices:stacks:poleDetail:addDetailAtBottomPole:faces:wrapMode:material:)" + "rawIndexableTextContent" : "Saves a mesh to a file, with optional material mapping. The URL of the file to be written. A closure to map Euclid materials to format-appropriate materials. Use nil for default mapping.", + "summary" : "Saves a mesh to a file, with optional material mapping.", + "title" : "write(to:materialLookup:)" }, { "headings" : [ @@ -8985,13 +8940,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Decodable-Implementations" }, "type" : "topLevelPage" }, "rawIndexableTextContent" : "", "summary" : "", - "title" : "Equatable Implementations" + "title" : "Decodable Implementations" }, { "headings" : [ @@ -9001,13 +8956,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/yz" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/!=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A plane located at the origin, aligned with the Y and Z axes. ", - "summary" : "A plane located at the origin, aligned with the Y and Z axes.", - "title" : "yz" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ @@ -9017,13 +8972,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasTexcoords" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A Boolean value that indicates whether the polygon includes texture coordinates. ", - "summary" : "A Boolean value that indicates whether the polygon includes texture coordinates.", - "title" : "hasTexcoords" + "rawIndexableTextContent" : "A finite line segment in 3D space. ", + "summary" : "A finite line segment in 3D space.", + "title" : "LineSegment" }, { "headings" : [ @@ -9033,29 +8988,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/atan(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withoutTexcoords()" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates an angle representing the trigonometric arc tangent of the value you provide. The tangent value to use to calculate the angle.", - "summary" : "Creates an angle representing the trigonometric arc tangent of the value you provide.", - "title" : "atan(_:)" + "rawIndexableTextContent" : "Return a copy of the mesh without texture coordinates. ", + "summary" : "Return a copy of the mesh without texture coordinates.", + "title" : "withoutTexcoords()" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Comparable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotate(by:)-1l9u5" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Comparable Implementations" + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ @@ -9065,45 +9020,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/pi" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scale(by:)-9pjki" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Angle representing a half-rotation. ", - "summary" : "Angle representing a half-rotation.", - "title" : "pi" + "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/line(_:color:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Equatable Implementations" + "rawIndexableTextContent" : "Creates a linear path from a line segment. The LineSegment defining the path. An optional Color to apply to the path’s points.", + "summary" : "Creates a linear path from a line segment.", + "title" : "line(_:color:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Comparable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/start" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Comparable Implementations" + "rawIndexableTextContent" : "The starting point of the line segment. ", + "summary" : "The starting point of the line segment.", + "title" : "start" }, { "headings" : [ @@ -9113,29 +9068,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/.._(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/blue" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable...<(_:). ", - "summary" : "Inherited from Comparable...<(_:).", - "title" : "..<(_:)" + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "blue" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/y" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Equatable Implementations" + "platforms" : [ + + ], + "rawIndexableTextContent" : "The quaternion Y component. ", + "summary" : "The quaternion Y component.", + "title" : "y" }, { "headings" : [ @@ -9145,29 +9103,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/translate(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotated(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", - "summary" : "Translate the value in place.", - "title" : "translate(by:)" + "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", + "summary" : "Returns a rotated copy of the value.", + "title" : "rotated(by:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/.._(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Encodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable...<(_:). ", - "summary" : "Inherited from Comparable...<(_:).", - "title" : "..<(_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Encodable Implementations" }, { "headings" : [ @@ -9177,13 +9135,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:)-732z3" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/translated(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", - "summary" : "Inherited from Comparable....(_:).", - "title" : "...(_:)" + "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", + "summary" : "Returns a translated copy of the value.", + "title" : "translated(by:)" }, { "headings" : [ @@ -9193,13 +9151,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/encode(to:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/black" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Encodes this line into the given encoder. The encoder to write data to.", - "summary" : "Encodes this line into the given encoder.", - "title" : "encode(to:)" + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "black" }, { "headings" : [ @@ -9209,7 +9167,7 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/Encodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Encodable-Implementations" }, "type" : "topLevelPage" }, @@ -9225,61 +9183,64 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/polygons" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/degrees(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The polygons that make up the mesh. ", - "summary" : "The polygons that make up the mesh.", - "title" : "polygons" + "rawIndexableTextContent" : "Creates an angle from a degrees value. The angle in degrees.", + "summary" : "Creates an angle from a degrees value.", + "title" : "degrees(_:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Comparable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:)-5517j" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Comparable Implementations" + "rawIndexableTextContent" : "Creates a new vertex from a position with default values for normal, texcoord and color. The position of the vertex in 3D space.", + "summary" : "Creates a new vertex from a position with default values for normal, texcoord and color.", + "title" : "init(_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/project(onto:)-rksk" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/encode(to:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the nearest point on the specified line to the vector (representing a position in space). The line to project onto. Return Value The nearest point in 3D space that lies on the line.", - "summary" : "Returns the nearest point on the specified line to the vector (representing a position in space).", - "title" : "project(onto:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Encodes this quaternion into the given encoder. The encoder to write data to.", + "summary" : "Encodes this quaternion into the given encoder.", + "title" : "encode(to:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-68leo" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Transformable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a rotation from a SceneKit quaternion. The SCNQuaternion to convert.", - "summary" : "Creates a rotation from a SceneKit quaternion.", - "title" : "init(_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Transformable Implementations" }, { "headings" : [ @@ -9289,29 +9250,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotate(by:)-3m9le" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/green" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "green" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(yaw:pitch:roll:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(_:material:)-9mns5" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a rotation from Euler angles applied in yaw\/pitch\/roll order. The angle of rotation around the Y axis. This is applied first. The angle of rotation around the X axis. This is applied second. The angle of rotation around the Z axis. This is applied last.", - "summary" : "Creates a rotation from Euler angles applied in yaw\/pitch\/roll order.", - "title" : "init(yaw:pitch:roll:)" + "rawIndexableTextContent" : "Creates a polygon from an array of vertices. An array of Vertex that make up the polygon. An optional Polygon.Material to use for the polygon. Discussion A polygon can be convex or concave, but vertices must be coplanar and non-degenerate. Vertices are assumed to be in anti-clockwise order for the purpose of deriving the face normal.", + "summary" : "Creates a polygon from an array of vertices.", + "title" : "init(_:material:)" }, { "headings" : [ @@ -9321,13 +9282,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*=(_:_:)-7u9hf" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Multiplies the rotation angle by the specified value. ", - "summary" : "Multiplies the rotation angle by the specified value.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "Returns the componentwise sum of two vectors. ", + "summary" : "Returns the componentwise sum of two vectors.", + "title" : "+(_:_:)" }, { "headings" : [ @@ -9337,29 +9298,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/text(_:font:width:detail:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new line by decoding from the given decoder. The decoder to read data from.", - "summary" : "Creates a new line by decoding from the given decoder.", - "title" : "init(from:)" + "rawIndexableTextContent" : "Creates an array of glyph contours from a string and font you provide. The text to convert. The font to use for the text. The optional width at which to line-wrap the text. The number line segments used to approximate glyph curves.", + "summary" : "Creates an array of glyph contours from a string and font you provide.", + "title" : "text(_:font:width:detail:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(degrees:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersects(_:)-7br6p" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates an Angle from a degrees value. The angle in degrees.", - "summary" : "Creates an Angle from a degrees value.", - "title" : "init(degrees:)" + "rawIndexableTextContent" : "Returns a Boolean value that indicates if the bounds intersects the specified plane. The plane to compare. Return Value true if the plane intersects the bounds, and false otherwise.", + "summary" : "Returns a Boolean value that indicates if the bounds intersects the specified plane.", + "title" : "intersects(_:)" }, { "headings" : [ @@ -9369,13 +9330,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/translated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isZero" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", - "summary" : "Returns a translated copy of the value.", - "title" : "translated(by:)" + "rawIndexableTextContent" : "All vector components are zero (or close to zero) in length. ", + "summary" : "All vector components are zero (or close to zero) in length.", + "title" : "isZero" }, { "headings" : [ @@ -9385,61 +9346,67 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/CancellationHandler" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/containsPoint(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Callback used to cancel a long-running operation. Return Value true if operation should be cancelled, or false otherwise.", - "summary" : "Callback used to cancel a long-running operation.", - "title" : "Mesh.CancellationHandler" + "rawIndexableTextContent" : "Returns a Boolean value that indicates whether the specified point lies on the line segment. The point to test. Return Value true if the point lies on the line segment and false otherwise.", + "summary" : "Returns a Boolean value that indicates whether the specified point lies on the line segment.", + "title" : "containsPoint(_:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Encodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/w" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Encodable Implementations" + "platforms" : [ + + ], + "rawIndexableTextContent" : "The quaternion W component. ", + "summary" : "The quaternion W component.", + "title" : "w" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/subpaths" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/\/(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An array of the subpaths that make up the path. Discussion For paths without nested subpaths, this will return an array containing only self.", - "summary" : "An array of the subpaths that make up the path.", - "title" : "subpaths" + "rawIndexableTextContent" : "Returns a rotation divided by the specified value. ", + "summary" : "Returns a rotation divided by the specified value.", + "title" : "\/(_:_:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Hashable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-7xa5o" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Hashable Implementations" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Creates a quaternion from a rotation matrix. A rotation matrix.", + "summary" : "Creates a quaternion from a rotation matrix.", + "title" : "init(_:)" }, { "headings" : [ @@ -9449,29 +9416,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:_:_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitY" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new vertex. The position of the vertex in 3D space. The surface normal for the vertex (defaults to zero). The optional texture coordinates for the vertex (defaults to zero). The optional vertex color (defaults to white).", - "summary" : "Creates a new vertex.", - "title" : "init(_:_:_:_:)" + "rawIndexableTextContent" : "A vector of length 1 along the Y axis. ", + "summary" : "A vector of length 1 along the Y axis.", + "title" : "unitY" }, { "headings" : [ - "Overview" + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/curve(_:detail:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A 3D surface made of polygons. Overview A mesh surface can be convex or concave, and can have zero volume (for example, a flat shape such as a square) but shouldn’t contain holes or exposed back-faces. The result of CSG operations on meshes that have holes or exposed back-faces is undefined.", - "summary" : "A 3D surface made of polygons.", - "title" : "Mesh" + "rawIndexableTextContent" : "Creates a quadratic bezier spline. The control points for the curve. The number of line segments used to approximate curved sections. Discussion The method takes an array of PathPoint and a detail argument. Normally, the isCurved property is used to calculate surface normals (for lighting purposes), but with the curve(_:detail:) method it actually affects the shape of the Path. A sequence of regular (non-curved) PathPoints creates sharp corners in the Path as normal, but curved points are treated as off-curve Bezier control points. The method uses second-order (quadratic) Bezier curves, where each curve has two on-curve end points and a single off-curve control point. If two curved PathPoint are used in sequence then an on-curve point is interpolated between them. It is therefore possible to create curves entirely out of curved (off-curve) control points. This approach to curve generation is based on the popular TrueType (TTF) font system, and provides a good balance between simplicity and flexibility. For more complex curves, on macOS and iOS you can create Euclid Path from a CGPath by using the CGPath.paths() extension method. CGPath supports cubic bezier curves as well as quadratic, and has convenience constructors for rounded rectangles and other shapes.", + "summary" : "Creates a quadratic bezier spline.", + "title" : "curve(_:detail:)" }, { "headings" : [ @@ -9481,45 +9448,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:)-7xdsm" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new identity rotation. ", - "summary" : "Creates a new identity rotation.", - "title" : "init()" + "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", + "summary" : "Inherited from Comparable....(_:).", + "title" : "...(_:)" }, { "headings" : [ - "Overview" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/atan(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An orientation or rotation in 3D space. Overview A rotation can be converted to and from an axis vector and angle, or a set of 3 Euler angles (pitch, yaw and roll).", - "summary" : "An orientation or rotation in 3D space.", - "title" : "Rotation" + "rawIndexableTextContent" : "Creates an angle representing the trigonometric arc tangent of the value you provide. The tangent value to use to calculate the angle.", + "summary" : "Creates an angle representing the trigonometric arc tangent of the value you provide.", + "title" : "atan(_:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Decodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/zero" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Decodable Implementations" + "rawIndexableTextContent" : "Angle representing a zero (identity) rotation. ", + "summary" : "Angle representing a zero (identity) rotation.", + "title" : "zero" }, { "headings" : [ @@ -9529,43 +9496,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorCode" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/translated(by:)" }, "type" : "topLevelPage" }, - "platforms" : [ - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "8.0", - "name" : "iOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "10.10", - "name" : "macOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "9.0", - "name" : "tvOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "2.0", - "name" : "watchOS", - "unavailable" : false - } - ], - "rawIndexableTextContent" : "Inherited from CustomNSError.errorCode. ", - "summary" : "Inherited from CustomNSError.errorCode.", - "title" : "errorCode" + "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", + "summary" : "Returns a translated copy of the value.", + "title" : "translated(by:)" }, { "headings" : [ @@ -9575,13 +9512,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-4eop9" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_(_:_:)-filj" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a vector from a CoreGraphics CGPoint. the CoreGraphics point.", - "summary" : "Creates a vector from a CoreGraphics CGPoint.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Inherited from Comparable.>(_:_:). ", + "summary" : "Inherited from Comparable.>(_:_:).", + "title" : ">(_:_:)" }, { "headings" : [ @@ -9591,13 +9528,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/.._(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable...<(_:). ", - "summary" : "Inherited from Comparable...<(_:).", - "title" : "..<(_:)" + "rawIndexableTextContent" : "Input\/output error. ", + "summary" : "Input\/output error.", + "title" : "Mesh.IOError" }, { "headings" : [ @@ -9607,13 +9544,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-69m6m" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotate(by:)-7073s" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ @@ -9623,13 +9560,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotate(by:)-7y2vv" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/encode(to:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "Encodes this bounds into the given encoder. The encoder to write data to.", + "summary" : "Encodes this bounds into the given encoder.", + "title" : "encode(to:)" }, { "headings" : [ @@ -9639,32 +9576,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-5mcy5" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Returns the difference between two quaternion rotations,. ", - "summary" : "Returns the difference between two quaternion rotations,.", - "title" : "-(_:_:)" + "rawIndexableTextContent" : "Returns a vector with its components multiplied by the specified value. ", + "summary" : "Returns a vector with its components multiplied by the specified value.", + "title" : "*(_:_:)" }, { "headings" : [ - "Return Value" + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/distance(from:)-77i61" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/isWatertight" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the perpendicular distance from another line to this one. The line to compare. Return Value The perpendicular distance from the other line.", - "summary" : "Returns the perpendicular distance from another line to this one.", - "title" : "distance(from:)" + "rawIndexableTextContent" : "A Boolean value that indicates whether the mesh is watertight, meaning that every edge is attached to two polygons (or a multiple of two). Discussion A value of true doesn’t guarantee that mesh is not self-intersecting or inside-out.", + "summary" : "A Boolean value that indicates whether the mesh is watertight, meaning that every edge is attached to two polygons (or a multiple of two).", + "title" : "isWatertight" }, { "headings" : [ @@ -9674,16 +9608,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(points:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Deprecated. ", - "summary" : "Deprecated.", - "title" : "init(points:)" + "rawIndexableTextContent" : "An infinite 2D plane in 3D space. ", + "summary" : "An infinite 2D plane in 3D space.", + "title" : "Plane" }, { "headings" : [ @@ -9693,13 +9624,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitX" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/withMaterial(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A vector of length 1 along the X axis. ", - "summary" : "A vector of length 1 along the X axis.", - "title" : "unitX" + "rawIndexableTextContent" : "Creates a copy of the polygon with the specified material. The replacement material, or nil to remove the material.", + "summary" : "Creates a copy of the polygon with the specified material.", + "title" : "withMaterial(_:)" }, { "headings" : [ @@ -9709,7 +9640,7 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Equatable-Implementations" }, "type" : "topLevelPage" }, @@ -9725,13 +9656,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/transform(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/*(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", - "summary" : "Transform the value in place.", - "title" : "transform(by:)" + "rawIndexableTextContent" : "Returns a transformed copy of the value. ", + "summary" : "Returns a transformed copy of the value.", + "title" : "*(_:_:)" }, { "headings" : [ @@ -9741,13 +9672,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-6epo6" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/!=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ @@ -9757,13 +9688,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*=(_:_:)-9l46a" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/transformed(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Multiplies the components of the vector by the specified value. ", - "summary" : "Multiplies the components of the vector by the specified value.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", + "summary" : "Returns a transformed copy of the value.", + "title" : "transformed(by:)" }, { "headings" : [ @@ -9773,13 +9704,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/withColor(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/!=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Replace\/remove point color. The color to apply to the point.", - "summary" : "Replace\/remove point color.", - "title" : "withColor(_:)" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ @@ -9789,63 +9720,61 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/none" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Do not generate texture coordinates. ", - "summary" : "Do not generate texture coordinates.", - "title" : "Mesh.WrapMode.none" + "rawIndexableTextContent" : "Creates a new angle by decoding from the given decoder. The decoder to read data from.", + "summary" : "Creates a new angle by decoding from the given decoder.", + "title" : "init(from:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/cross(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/transform(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes the cross-product of this vector and another. The vector with which to compute the cross product. Return Value Returns a vector that is orthogonal to the two vectors used to compute the cross product.", - "summary" : "Computes the cross-product of this vector and another.", - "title" : "cross(_:)" + "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", + "summary" : "Transform the value in place.", + "title" : "transform(by:)" }, { "headings" : [ - "Return Value", - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/union(_:isCancelled:)-swift.type.method" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/.._(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Efficiently forms a union from multiple meshes. Return Value A new mesh representing the union of the input meshes. Discussion Parameters meshes: A collection of meshes to be unioned. isCancelled: Callback used to cancel the operation.", - "summary" : "Efficiently forms a union from multiple meshes.", - "title" : "union(_:isCancelled:)" + "rawIndexableTextContent" : "Inherited from Comparable...<(_:). ", + "summary" : "Inherited from Comparable...<(_:).", + "title" : "..<(_:)" }, { "headings" : [ - "Return Value", - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/symmetricDifference(_:isCancelled:)-swift.type.method" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Efficiently XORs multiple meshes. Return Value A new mesh representing the XOR of the meshes. Discussion Parameters meshes: A collection of meshes to be XORed. isCancelled: Callback used to cancel the operation", - "summary" : "Efficiently XORs multiple meshes.", - "title" : "symmetricDifference(_:isCancelled:)" + "rawIndexableTextContent" : "A vertex represents a corner of a Polygon or a point on the surface of a Mesh. ", + "summary" : "A vertex represents a corner of a Polygon or a point on the surface of a Mesh.", + "title" : "Vertex" }, { "headings" : [ @@ -9855,16 +9784,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-99vxt" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/translate(by:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Creates a Quaternion from a simd quaternion. A simd quaternion.", - "summary" : "Creates a Quaternion from a simd quaternion.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", + "summary" : "Translate the value in place.", + "title" : "translate(by:)" }, { "headings" : [ @@ -9874,29 +9800,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-19jpq" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Returns the difference between two angles. ", + "summary" : "Returns the difference between two angles.", + "title" : "-(_:_:)" }, { "headings" : [ - "Overview" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scale(by:)-677dp" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A combined rotation, position, and scale that can be applied to a 3D object. Overview Working with intermediate transform objects instead of directly updating the vertex positions of a mesh is more efficient and avoids a buildup of rounding errors.", - "summary" : "A combined rotation, position, and scale that can be applied to a 3D object.", - "title" : "Transform" + "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ @@ -9906,32 +9832,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/lengthSquared" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/encode(to:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The square of the length of the vector. This is less expensive to compute than the length itself. ", - "summary" : "The square of the length of the vector. This is less expensive to compute than the length itself.", - "title" : "lengthSquared" + "rawIndexableTextContent" : "Encodes this vertex into the given encoder. The encoder to write data to.", + "summary" : "Encodes this vertex into the given encoder.", + "title" : "encode(to:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/AdditiveArithmetic-Implementations" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Subtracts the quaternion rotation on the right from the one on the left. ", - "summary" : "Subtracts the quaternion rotation on the right from the one on the left.", - "title" : "-=(_:_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "AdditiveArithmetic Implementations" }, { "headings" : [ @@ -9941,16 +9864,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotate(by:)-93ypi" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-7e3o7" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -9960,13 +9880,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/icosahedron(radius:faces:wrapMode:material:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/translate(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a sphere by subdividing an icosahedron. The radius of the icosahedron. The direction the polygon faces. The mode in which texture coordinates are wrapped around the mesh. The optional material for the mesh.", - "summary" : "Creates a sphere by subdividing an icosahedron.", - "title" : "icosahedron(radius:faces:wrapMode:material:)" + "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", + "summary" : "Translate the value in place.", + "title" : "translate(by:)" }, { "headings" : [ @@ -9976,29 +9896,30 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_=(_:_:)-9s7pp" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transform(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable.>=(_:_:). ", - "summary" : "Inherited from Comparable.>=(_:_:).", - "title" : ">=(_:_:)" + "rawIndexableTextContent" : "Creates a transform from the current position, scale and orientation of a SceneKit node. The SCNNode from which to determine the transform.", + "summary" : "Creates a transform from the current position, scale and orientation of a SceneKit node.", + "title" : "transform(from:)" }, { "headings" : [ - "Return Value" + "Return Value", + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersection(with:)-1tffl" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/merge(_:)-swift.type.method" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the point where the specified plane intersects the line segment. The plane to compare with. Return Value The point of intersection, or nil if the line segment and plane don’t intersect.", - "summary" : "Returns the point where the specified plane intersects the line segment.", - "title" : "intersection(with:)" + "rawIndexableTextContent" : "Creates a new mesh that is the combination of the polygons from all the specified meshes. The meshes to merge. Return Value A new mesh that includes all polygons from all meshes. Discussion No attempt is made to deduplicate or join meshes. Polygons are neither split nor removed.", + "summary" : "Creates a new mesh that is the combination of the polygons from all the specified meshes.", + "title" : "merge(_:)" }, { "headings" : [ @@ -10008,13 +9929,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stlString(name:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/*(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Return ASCII STL string data for the mesh. ", - "summary" : "Return ASCII STL string data for the mesh.", - "title" : "stlString(name:)" + "rawIndexableTextContent" : "Returns a transformed copy of the value. ", + "summary" : "Returns a transformed copy of the value.", + "title" : "*(_:_:)" }, { "headings" : [ @@ -10024,13 +9945,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:along:twist:align:faces:material:isCancelled:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotated(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a mesh by extruding one path along another path. The shape to extrude into a mesh. The path along which to extrude the shape. Angular twist to apply along the extrusion. The alignment mode to use for the extruded shape. The direction of the generated polygon faces. The optional material for the mesh.", - "summary" : "Creates a mesh by extruding one path along another path.", - "title" : "extrude(_:along:twist:align:faces:material:isCancelled:)" + "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", + "summary" : "Returns a rotated copy of the value.", + "title" : "rotated(by:)" }, { "headings" : [ @@ -10040,48 +9961,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Comparable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Equatable-Implementations" }, "type" : "topLevelPage" }, "rawIndexableTextContent" : "", "summary" : "", - "title" : "Comparable Implementations" + "title" : "Equatable Implementations" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/encode(to:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/dot(_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Encodes this quaternion into the given encoder. The encoder to write data to.", - "summary" : "Encodes this quaternion into the given encoder.", - "title" : "encode(to:)" + "rawIndexableTextContent" : "Computes the dot-product of this vector and another. The vector with which to compute the dot product. Return Value The dot product of the two vectors.", + "summary" : "Computes the dot-product of this vector and another.", + "title" : "dot(_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/distance(from:)-4o41" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/!=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the perpendicular distance of the line from a specified point. The point to compare. Return Value The absolute perpendicular distance between the point and line.", - "summary" : "Returns the perpendicular distance of the line from a specified point.", - "title" : "distance(from:)" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ @@ -10091,32 +10009,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotated(by:)-5mcqw" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/radians(_:)" }, "type" : "topLevelPage" }, - "platforms" : [ + "rawIndexableTextContent" : "Creates an angle from a radians value. The angle in radians.", + "summary" : "Creates an angle from a radians value.", + "title" : "radians(_:)" + }, + { + "headings" : [ ], - "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", - "summary" : "Returns a rotated copy of the value.", - "title" : "rotated(by:)" + "kind" : "symbol", + "location" : { + "reference" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/icosahedron(radius:faces:wrapMode:material:)" + }, + "type" : "topLevelPage" + }, + "rawIndexableTextContent" : "Creates a sphere by subdividing an icosahedron. The radius of the icosahedron. The direction the polygon faces. The mode in which texture coordinates are wrapped around the mesh. The optional material for the mesh.", + "summary" : "Creates a sphere by subdividing an icosahedron.", + "title" : "icosahedron(radius:faces:wrapMode:material:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-4jhkw" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a path from an array of path points. An array of PathPoint making up the path.", - "summary" : "Creates a path from an array of path points.", - "title" : "init(_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ @@ -10126,29 +10057,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/transformed(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curve(_:texcoord:color:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", - "summary" : "Returns a transformed copy of the value.", - "title" : "transformed(by:)" + "rawIndexableTextContent" : "Creates a curved path point at the specified position. The location of the path point. The texture coordinate corresponding to this path point. An optional vertex color for this path point.", + "summary" : "Creates a curved path point at the specified position.", + "title" : "curve(_:texcoord:color:)" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-84xdd" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotated(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Returns a rotated copy of the bounds. A quaternion to apply to the bounds. Discussion Because a bounds must be axially-aligned, rotating by an angle that is not a multiple of 90 degrees will result in the bounds being increased in size. Rotating it back again will not reduce the size, so this is a potentially irreversible operation. In general, after rotating a shape it is better to recalculate the bounds rather than trying to rotate the previous bounds.", + "summary" : "Returns a rotated copy of the bounds.", + "title" : "rotated(by:)" }, { "headings" : [ @@ -10158,13 +10089,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/size" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotate(by:)-16elu" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The size of the bounds. The minimum returned size is zero, even if max < min. ", - "summary" : "The size of the bounds. The minimum returned size is zero, even if max < min.", - "title" : "size" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ @@ -10174,13 +10108,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-94kks" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Creates a color from a luminance value and optional alpha component. The luminance value, from 0 to 1. The alpha component. Defaults to 1 (fully opaque)", + "summary" : "Creates a color from a luminance value and optional alpha component.", + "title" : "init(_:_:)" }, { "headings" : [ @@ -10190,13 +10124,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/transformed(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", - "summary" : "Returns a transformed copy of the value.", - "title" : "transformed(by:)" + "rawIndexableTextContent" : "Inherited from AdditiveArithmetic.+(_:). ", + "summary" : "Inherited from AdditiveArithmetic.+(_:).", + "title" : "+(_:)" }, { "headings" : [ @@ -10206,125 +10140,125 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Alignment" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/text(_:font:width:depth:detail:material:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Alignment mode to use when extruding along a path. ", - "summary" : "Alignment mode to use when extruding along a path.", - "title" : "Mesh.Alignment" + "rawIndexableTextContent" : "Creates an extruded text model from a string. The text to convert into a model The font to use for the text glyphs. The optional width at which to line-wrap the text. The depth of the extruded text. The number line segments used to approximate glyph curves. An optional material to apply to the mesh.", + "summary" : "Creates an extruded text model from a string.", + "title" : "text(_:font:width:depth:detail:material:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/AdditiveArithmetic-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/*(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "AdditiveArithmetic Implementations" + "rawIndexableTextContent" : "Returns a transformed copy of the value. ", + "summary" : "Returns a transformed copy of the value.", + "title" : "*(_:_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/STLColorProvider" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A closure that maps a Euclid material to an STL facet color. A Euclid material to convert, or nil for the default material. Return Value A Euclid Color value.", - "summary" : "A closure that maps a Euclid material to an STL facet color.", - "title" : "Mesh.STLColorProvider" + "rawIndexableTextContent" : "Protocol for transformable types. ", + "summary" : "Protocol for transformable types.", + "title" : "Transformable" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Decodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/zero" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Decodable Implementations" + "rawIndexableTextContent" : "A zero-length vector. ", + "summary" : "A zero-length vector.", + "title" : "zero" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-5ztum" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/\/(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes the convex hull of a set of path points. Discussion Parameters points: A set of path points to compute the hull around. material: An optional material to apply to the mesh. The curvature of the point is currently ignored when calculating hull surface normals.", - "summary" : "Computes the convex hull of a set of path points.", - "title" : "convexHull(of:material:)" + "rawIndexableTextContent" : "Returns a vector with its components divided by the specified value. ", + "summary" : "Returns a vector with its components divided by the specified value.", + "title" : "\/(_:_:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Encodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/transform(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Encodable Implementations" + "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", + "summary" : "Transform the value in place.", + "title" : "transform(by:)" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:)-53lhy" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/encode(to:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a color from an array of component values. Discussion The number of values specified determines how each value is interpreted. The following patterns are supported (R = red, G = green, B = blue, A = alpha, L = luminance): L LA RGB RGBA", - "summary" : "Creates a color from an array of component values.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Encodes this mesh into the given encoder. The encoder to write data to.", + "summary" : "Encodes this mesh into the given encoder.", + "title" : "encode(to:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*(_:_:)-5fe82" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/sin(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a rotation multiplied by the specified value. ", - "summary" : "Returns a rotation multiplied by the specified value.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "Computes the trigonometric sine of an angle. The angle to calculate the sine for. Return Value The trigonometric sine of the angle.", + "summary" : "Computes the trigonometric sine of an angle.", + "title" : "sin(_:)" }, { "headings" : [ @@ -10344,38 +10278,52 @@ }, { "headings" : [ - "Return Value" + "Return Value", + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/normalized()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stencil(_:isCancelled:)-swift.method" }, "type" : "topLevelPage" }, - "platforms" : [ + "rawIndexableTextContent" : "Returns a new mesh that retains the shape of the receiver, but with the intersecting area colored using material from the parameter. Return Value A new mesh representing the result of stencilling. Discussion Parameters mesh: The mesh to be stencilled onto this one. isCancelled: Callback used to cancel the operation.", + "summary" : "Returns a new mesh that retains the shape of the receiver, but with the intersecting area colored using material from the parameter.", + "title" : "stencil(_:isCancelled:)" + }, + { + "headings" : [ ], - "rawIndexableTextContent" : "Returns the normalized quaternion. Return Value The normalized quaternion (with a length of 1) or zero if the length is 0.", - "summary" : "Returns the normalized quaternion.", - "title" : "normalized()" + "kind" : "symbol", + "location" : { + "reference" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode" + }, + "type" : "topLevelPage" + }, + "rawIndexableTextContent" : "The texture wrapping mode to use when generating a mesh. ", + "summary" : "The texture wrapping mode to use when generating a mesh.", + "title" : "Mesh.WrapMode" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersection(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/yellow" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new bounds representing the intersection between the specified bounds and this one. The bounds with which to intersect. Return Value The combined bounds, which may be empty if the bounds don’t intersect.", - "summary" : "Creates a new bounds representing the intersection between the specified bounds and this one.", - "title" : "intersection(_:)" + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "yellow" }, { "headings" : [ @@ -10385,45 +10333,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/radians" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/encode(to:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The angle in radians. ", - "summary" : "The angle in radians.", - "title" : "radians" + "rawIndexableTextContent" : "Encodes the vector into the given encoder. The encoder to write data to.", + "summary" : "Encodes the vector into the given encoder.", + "title" : "encode(to:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Decodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotation(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Decodable Implementations" + "rawIndexableTextContent" : "Creates a rotation transform. A rotation to apply.", + "summary" : "Creates a rotation transform.", + "title" : "rotation(_:)" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-6176" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_(_:_:)-9obdn" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes the convex hull of a set of points. Discussion Parameters points: An set of points to compute the hull around. material: An optional material to apply to the mesh.", - "summary" : "Computes the convex hull of a set of points.", - "title" : "convexHull(of:material:)" + "rawIndexableTextContent" : "Returns whether the leftmost vector has the lower value. This provides a stable order when sorting collections of vectors. ", + "summary" : "Returns whether the leftmost vector has the lower value. This provides a stable order when sorting collections of vectors.", + "title" : "<(_:_:)" }, { "headings" : [ @@ -10433,13 +10381,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/pi" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new polygon by decoding from the given decoder. The decoder to read data from.", - "summary" : "Creates a new polygon by decoding from the given decoder.", - "title" : "init(from:)" + "rawIndexableTextContent" : "Angle representing a half-rotation. ", + "summary" : "Angle representing a half-rotation.", + "title" : "pi" }, { "headings" : [ @@ -10449,13 +10397,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isOne" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withTextureTransform(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "All vector components are one (or close to one) in length. ", - "summary" : "All vector components are one (or close to one) in length.", - "title" : "isOne" + "rawIndexableTextContent" : "Return a copy of the mesh with transformed texture coordinates. The transform to apply to the texture coordinates.", + "summary" : "Return a copy of the mesh with transformed texture coordinates.", + "title" : "withTextureTransform(_:)" }, { "headings" : [ @@ -10465,13 +10413,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/isFlipped" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new vector by decoding from the given decoder. The decoder to read data from.", - "summary" : "Creates a new vector by decoding from the given decoder.", - "title" : "init(from:)" + "rawIndexableTextContent" : "Does the transform apply a mirror operation (negative scale)? ", + "summary" : "Does the transform apply a mirror operation (negative scale)?", + "title" : "isFlipped" }, { "headings" : [ @@ -10496,19 +10444,19 @@ }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/project(onto:)-817o2" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-20sq4" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the nearest point on the specified plane to the vector (representing a position in space). The plane to project onto. Return Value The nearest point in 3D space that lies on the plane.", - "summary" : "Returns the nearest point on the specified plane to the vector (representing a position in space).", - "title" : "project(onto:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -10518,13 +10466,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitZ" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/xor(_:isCancelled:)-swift.method" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A vector of length 1 along the Z axis. ", - "summary" : "A vector of length 1 along the Z axis.", - "title" : "unitZ" + "platforms" : [ + + ], + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "xor(_:isCancelled:)" }, { "headings" : [ @@ -10534,13 +10485,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/identity" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/text(_:width:depth:detail:material:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The identity transform (i.e. no transform). ", - "summary" : "The identity transform (i.e. no transform).", - "title" : "identity" + "rawIndexableTextContent" : "Creates an extruded text model from an attributed string The text to convert into a model The optional width at which to line-wrap the text. The depth of the extruded text. The number line segments used to approximate glyph curves. Optional material to apply to the mesh.", + "summary" : "Creates an extruded text model from an attributed string", + "title" : "text(_:width:depth:detail:material:)" + }, + { + "headings" : [ + + ], + "kind" : "symbol", + "location" : { + "reference" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-69m6m" + }, + "type" : "topLevelPage" + }, + "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -10550,13 +10517,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Transformable-Implementations" }, "type" : "topLevelPage" }, "rawIndexableTextContent" : "", "summary" : "", - "title" : "Equatable Implementations" + "title" : "Transformable Implementations" + }, + { + "headings" : [ + + ], + "kind" : "symbol", + "location" : { + "reference" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/yz" + }, + "type" : "topLevelPage" + }, + "rawIndexableTextContent" : "A plane located at the origin, aligned with the Y and Z axes. ", + "summary" : "A plane located at the origin, aligned with the Y and Z axes.", + "title" : "yz" }, { "headings" : [ @@ -10566,13 +10549,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Equatable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Transformable-Implementations" }, "type" : "topLevelPage" }, "rawIndexableTextContent" : "", "summary" : "", - "title" : "Equatable Implementations" + "title" : "Transformable Implementations" }, { "headings" : [ @@ -10582,29 +10565,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/encode(to:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", - "summary" : "Returns a rotated copy of the value.", - "title" : "rotated(by:)" + "rawIndexableTextContent" : "Encodes this rotation into the given encoder. The encoder to write data to.", + "summary" : "Encodes this rotation into the given encoder.", + "title" : "encode(to:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/AdditiveArithmetic-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "AdditiveArithmetic Implementations" }, { "headings" : [ @@ -10614,32 +10597,49 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/pitch" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotate(by:)-5a3iz" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "The angle of rotation around the X-axis. ", - "summary" : "The angle of rotation around the X-axis.", - "title" : "pitch" + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/offset(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-91swk" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a offset transform. An offset distance.", - "summary" : "Creates a offset transform.", - "title" : "offset(_:)" + "rawIndexableTextContent" : "Computes the convex hull of a set of line segments. Discussion Parameters edges: A set of line segments to compute the hull around. material: An optional material to apply to the mesh.", + "summary" : "Computes the convex hull of a set of line segments.", + "title" : "convexHull(of:material:)" + }, + { + "headings" : [ + "Return Value", + "Discussion" + ], + "kind" : "symbol", + "location" : { + "reference" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/union(_:isCancelled:)-swift.method" + }, + "type" : "topLevelPage" + }, + "rawIndexableTextContent" : "Returns a new mesh representing the combined volume of the mesh parameter and the receiver, with inner faces removed. Return Value A new mesh representing the union of the input meshes. Discussion Parameters mesh: The mesh to form a union with. isCancelled: Callback used to cancel the operation.", + "summary" : "Returns a new mesh representing the combined volume of the mesh parameter and the receiver, with inner faces removed.", + "title" : "union(_:isCancelled:)" }, { "headings" : [ @@ -10649,13 +10649,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/objString()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withMaterial(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Return Wavefront OBJ string data for the mesh. ", - "summary" : "Return Wavefront OBJ string data for the mesh.", - "title" : "objString()" + "rawIndexableTextContent" : "Returns a copy of the mesh with the new material applied to all polygons. ", + "summary" : "Returns a copy of the mesh with the new material applied to all polygons.", + "title" : "withMaterial(_:)" }, { "headings" : [ @@ -10665,32 +10665,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/\/(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(cgPath:detail:color:)" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "Returns a quaternion with its components divided by the specified value. ", - "summary" : "Returns a quaternion with its components divided by the specified value.", - "title" : "\/(_:_:)" + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "init(cgPath:detail:color:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scale(by:)-9pjki" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersects(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "Returns a Boolean value that indicates whether the lines intersect. The line to compare with. Return Value true if the lines intersect and false otherwise.", + "summary" : "Returns a Boolean value that indicates whether the lines intersect.", + "title" : "intersects(_:)" }, { "headings" : [ @@ -10700,13 +10700,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/tube" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/hash(into:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Texture is tube-wrapped. ", - "summary" : "Texture is tube-wrapped.", - "title" : "Mesh.WrapMode.tube" + "rawIndexableTextContent" : "Inherited from Hashable.hash(into:). ", + "summary" : "Inherited from Hashable.hash(into:).", + "title" : "hash(into:)" }, { "headings" : [ @@ -10716,16 +10716,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotate(by:)-1umln" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*=(_:_:)-9l46a" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "Multiplies the components of the vector by the specified value. ", + "summary" : "Multiplies the components of the vector by the specified value.", + "title" : "*=(_:_:)" }, { "headings" : [ @@ -10735,13 +10732,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/pitch(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/mapColors(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a rotation around the X axis. The angle to rotate by.", - "summary" : "Creates a rotation around the X axis.", - "title" : "pitch(_:)" + "rawIndexableTextContent" : "Return a copy of the polygon with transformed vertex colors A closure to be applied to each color in the path.", + "summary" : "Return a copy of the polygon with transformed vertex colors", + "title" : "mapColors(_:)" }, { "headings" : [ @@ -10751,13 +10748,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotate(by:)-622p8" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_(_:_:)-2si4j" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "Returns whether the leftmost line segment has the lower value. This provides a stable order when sorting collections of line segments. ", + "summary" : "Returns whether the leftmost line segment has the lower value. This provides a stable order when sorting collections of line segments.", + "title" : "<(_:_:)" }, { "headings" : [ @@ -10767,13 +10764,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Protocol for transformable types. ", - "summary" : "Protocol for transformable types.", - "title" : "Transformable" + "rawIndexableTextContent" : "Returns the componentwise difference between two vectors. ", + "summary" : "Returns the componentwise difference between two vectors.", + "title" : "-(_:_:)" }, { "headings" : [ @@ -10783,29 +10780,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-7j4ql" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/identity" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a Rotation from a simd quaternion. A simd quaternion.", - "summary" : "Creates a Rotation from a simd quaternion.", - "title" : "init(_:)" + "rawIndexableTextContent" : "The identity rotation (i.e. no rotation). ", + "summary" : "The identity rotation (i.e. no rotation).", + "title" : "identity" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/asin(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/arc(angle:radius:segments:color:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates an angle representing the trigonometric arc sine of the value you provide. The sine value to use to calculate the angle.", - "summary" : "Creates an angle representing the trigonometric arc sine of the value you provide.", - "title" : "asin(_:)" + "rawIndexableTextContent" : "Creates a circular arc. The angular span of the arc, measured clockwise from vertical. Defaults to pi (180 degrees). The distance from the center of the arc to each point used to approximate its shape. The number of line segments used to approximate the circle. An optional Color to apply to the path’s points. Discussion Because the arc is approximated using line segments, its radius is not uniform. The radius specified is the outer radius, i.e. the radius at the end points.", + "summary" : "Creates a circular arc.", + "title" : "arc(angle:radius:segments:color:)" }, { "headings" : [ @@ -10815,13 +10812,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/position" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/*(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The position of the vertex. ", - "summary" : "The position of the vertex.", - "title" : "position" + "rawIndexableTextContent" : "Returns a transformed copy of the value. ", + "summary" : "Returns a transformed copy of the value.", + "title" : "*(_:_:)" }, { "headings" : [ @@ -10831,13 +10828,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withTextureTransform(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-350oy" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Return a copy of the mesh with transformed texture coordinates. The transform to apply to the texture coordinates.", - "summary" : "Return a copy of the mesh with transformed texture coordinates.", - "title" : "withTextureTransform(_:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -10847,13 +10844,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/frontAndBack" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the sum of two angles. ", - "summary" : "Returns the sum of two angles.", - "title" : "+(_:_:)" + "rawIndexableTextContent" : "Generate both the front and back faces. ", + "summary" : "Generate both the front and back faces.", + "title" : "Mesh.Faces.frontAndBack" }, { "headings" : [ @@ -10863,29 +10860,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/encode(to:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/default" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Encodes this plane into the given encoder. The encoder to write data to.", - "summary" : "Encodes this plane into the given encoder.", - "title" : "encode(to:)" + "rawIndexableTextContent" : "The default face generation behavior. Context-dependent. ", + "summary" : "The default face generation behavior. Context-dependent.", + "title" : "Mesh.Faces.default" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Decodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", - "summary" : "Returns a rotated copy of the value.", - "title" : "rotated(by:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Decodable Implementations" }, { "headings" : [ @@ -10895,13 +10892,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/r" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/!=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The red component of the color. ", - "summary" : "The red component of the color.", - "title" : "r" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ @@ -10915,7 +10912,7 @@ }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes a set of edges where the polygon intersects a plane. A Plane to test against the mesh. Return Value A Set of LineSegment representing the polygon edges intersecting the plane.", + "rawIndexableTextContent" : "Computes a set of edges where the polygon intersects a plane. The Plane to test against the polygon. Return Value A Set of LineSegment representing the polygon edges intersecting the plane.", "summary" : "Computes a set of edges where the polygon intersects a plane.", "title" : "edges(intersecting:)" }, @@ -10927,16 +10924,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/length" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Material" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "The magnitude of the quaternion. ", - "summary" : "The magnitude of the quaternion.", - "title" : "length" + "rawIndexableTextContent" : "Material used by the mesh polygons. See Polygon.Material for details. ", + "summary" : "Material used by the mesh polygons. See Polygon.Material for details.", + "title" : "Mesh.Material" }, { "headings" : [ @@ -10946,13 +10940,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/isClosed" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:material:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Indicates whether the path is a closed path. ", - "summary" : "Indicates whether the path is a closed path.", - "title" : "isClosed" + "rawIndexableTextContent" : "Creates a mesh from a SceneKit geometry, with the material you provide. The SCNGeometry to convert. A Mesh.Material to apply to the geometry, replacing any existing materials. Pass nil to use the default Euclid material.", + "summary" : "Creates a mesh from a SceneKit geometry, with the material you provide.", + "title" : "init(_:material:)" }, { "headings" : [ @@ -10962,13 +10956,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/*=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:along:twist:align:faces:material:isCancelled:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. ", - "summary" : "Transform the value in place.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "Creates a mesh by extruding one path along another path. The shape to extrude into a mesh. The path along which to extrude the shape. Angular twist to apply along the extrusion. The alignment mode to use for the extruded shape. The direction of the generated polygon faces. The optional material for the mesh.", + "summary" : "Creates a mesh by extruding one path along another path.", + "title" : "extrude(_:along:twist:align:faces:material:isCancelled:)" }, { "headings" : [ @@ -10978,13 +10972,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/encode(to:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/axis" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Encodes this angle into the given encoder. The encoder to write data to.", - "summary" : "Encodes this angle into the given encoder.", - "title" : "encode(to:)" + "rawIndexableTextContent" : "Align extruded cross-sections with the X, Y or Z axis (whichever is most perpendicular to the extrusion path). ", + "summary" : "Align extruded cross-sections with the X, Y or Z axis (whichever is most perpendicular to the extrusion path).", + "title" : "Path.Alignment.axis" }, { "headings" : [ @@ -10994,13 +10988,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/codableClasses" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scale(by:)-vnel" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Supported NSSecureCodable Material base classes. ", - "summary" : "Supported NSSecureCodable Material base classes.", - "title" : "codableClasses" + "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ @@ -11010,13 +11004,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/halfPi" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/translated(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Angle representing a quarter rotation. ", - "summary" : "Angle representing a quarter rotation.", - "title" : "halfPi" + "rawIndexableTextContent" : "Returns a translated copy of the value. An offset vector to apply to the value.", + "summary" : "Returns a translated copy of the value.", + "title" : "translated(by:)" }, { "headings" : [ @@ -11026,29 +11020,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*=(_:_:)-68kkw" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/transformed(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Combines with the specified rotation. ", - "summary" : "Combines with the specified rotation.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", + "summary" : "Returns a transformed copy of the value.", + "title" : "transformed(by:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curved(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/containsPoint(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Curve or uncurve the point. Whether the resultant point should be curved.", - "summary" : "Curve or uncurve the point.", - "title" : "curved(_:)" + "rawIndexableTextContent" : "Returns a Boolean value that indicates whether the specified point lies on the line. The point to test. Return Value true if the point lies on the line and false otherwise.", + "summary" : "Returns a Boolean value that indicates whether the specified point lies on the line.", + "title" : "containsPoint(_:)" }, { "headings" : [ @@ -11058,93 +11052,93 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scale(by:)-8ec9r" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/encode(to:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "Encodes this line into the given encoder. The encoder to write data to.", + "summary" : "Encodes this line into the given encoder.", + "title" : "encode(to:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/.._(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/Equatable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable...<(_:_:). ", - "summary" : "Inherited from Comparable...<(_:_:).", - "title" : "..<(_:_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Equatable Implementations" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cone(radius:height:slices:stacks:poleDetail:addDetailAtBottomPole:faces:wrapMode:material:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "rawIndexableTextContent" : "Creates a conical mesh. The radius of the cone. The height of the cone. The number of vertical slices that make up the cone. The number of horizontal stacks that make up the cone. Optionally add extra detail around top pole to prevent texture warping. Whether detail should be added at bottom pole. The direction of the generated polygon faces. The way that texture coordinates are calculated for the cone. The optional material for the mesh. Discussion The default nil value for poleDetail will derive value automatically. Use zero instead if you wish to add no extra detail at the poles.", + "summary" : "Creates a conical mesh.", + "title" : "cone(radius:height:slices:stacks:poleDetail:addDetailAtBottomPole:faces:wrapMode:material:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/encode(to:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Hashable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Encodes the vector into the given encoder. The encoder to write data to.", - "summary" : "Encodes the vector into the given encoder.", - "title" : "encode(to:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Hashable Implementations" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/distance(from:)-77i61" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", - "summary" : "Returns a rotated copy of the value.", - "title" : "rotated(by:)" + "rawIndexableTextContent" : "Returns the perpendicular distance from another line to this one. The line to compare. Return Value The perpendicular distance from the other line.", + "summary" : "Returns the perpendicular distance from another line to this one.", + "title" : "distance(from:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/slerp(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable....(_:_:). ", - "summary" : "Inherited from Comparable....(_:_:).", - "title" : "...(_:_:)" + "rawIndexableTextContent" : "Performs a spherical linear interpolation between two rotations. The rotation to interpolate towards. The normalized extent of interpolation, from 0 to 1. Return Value The interpolated rotation.", + "summary" : "Performs a spherical linear interpolation between two rotations.", + "title" : "slerp(_:_:)" }, { "headings" : [ @@ -11154,29 +11148,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-7hvb3" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/*(_:_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "13.0", - "name" : "iOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "10.15", - "name" : "macOS", - "unavailable" : false - } - ], - "rawIndexableTextContent" : "Creates a EuclidTransform from a simd matrix. The simd matrix to convert into a Euclid transform.", - "summary" : "Creates a EuclidTransform from a simd matrix.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Returns a transformed copy of the value. ", + "summary" : "Returns a transformed copy of the value.", + "title" : "*(_:_:)" }, { "headings" : [ @@ -11186,29 +11164,30 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/end" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/translate(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The end point of the line segment. ", - "summary" : "The end point of the line segment.", - "title" : "end" + "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", + "summary" : "Translate the value in place.", + "title" : "translate(by:)" }, { "headings" : [ - + "Return Value", + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/length" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/split(along:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The length of the line segment. ", - "summary" : "The length of the line segment.", - "title" : "length" + "rawIndexableTextContent" : "Split the polygon along a plane. The Plane to split the polygon along. Return Value A pair of arrays representing the polygon fragments in front of and behind the plane respectively. Discussion If the plane and polygon do not intersect, one of the returned arrays will be empty.", + "summary" : "Split the polygon along a plane.", + "title" : "split(along:)" }, { "headings" : [ @@ -11218,62 +11197,80 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/position" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/*=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The position of the path point. ", - "summary" : "The position of the path point.", - "title" : "position" + "rawIndexableTextContent" : "Transform the value in place. ", + "summary" : "Transform the value in place.", + "title" : "*=(_:_:)" }, { "headings" : [ - "Return Value", - "Discussion" + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/facePolygons(material:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/RealityKitMaterialProvider" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns one or more polygons needed to fill the path. An optional Polygon.Material to apply to the polygons. Return Value An array of polygons needed to fill the path, or an empty array if path is not closed. Discussion Polygon normals are calculated automatically based on the curvature of the path points. If the path points do not include textcoords, they will be calculated automatically based on the path point positions relative to the bounding rectangle of the path.", - "summary" : "Returns one or more polygons needed to fill the path.", - "title" : "facePolygons(material:)" + "platforms" : [ + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "15.0", + "name" : "iOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "12.0", + "name" : "macOS", + "unavailable" : false + } + ], + "rawIndexableTextContent" : "A closure that converts a RealityKit material to a Euclid material. A RealityKit material to convert. Return Value A Euclid Material.", + "summary" : "A closure that converts a RealityKit material to a Euclid material.", + "title" : "Mesh.RealityKitMaterialProvider" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Encodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/+(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Encodable Implementations" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Returns the sum of two quaternion rotations. ", + "summary" : "Returns the sum of two quaternion rotations.", + "title" : "+(_:_:)" }, { "headings" : [ - "Return Value" + ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-79olr" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Bounded-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes the point of intersection between a line and a plane. The Line to compare with. Return Value The point of intersection between the line and plane, or nil if they are parallel.", - "summary" : "Computes the point of intersection between a line and a plane.", - "title" : "intersection(with:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Bounded Implementations" }, { "headings" : [ @@ -11283,13 +11280,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from AdditiveArithmetic.+=(_:_:). ", - "summary" : "Inherited from AdditiveArithmetic.+=(_:_:).", - "title" : "+=(_:_:)" + "rawIndexableTextContent" : "Creates a new vector by decoding from the given decoder. The decoder to read data from.", + "summary" : "Creates a new vector by decoding from the given decoder.", + "title" : "init(from:)" }, { "headings" : [ @@ -11299,13 +11296,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/text(_:width:depth:detail:material:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-29v7y" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates an extruded text model from an attributed string The text to convert into a model The optional width at which to line-wrap the text. The depth of the extruded text. The number line segments used to approximate glyph curves. Optional material to apply to the mesh.", - "summary" : "Creates an extruded text model from an attributed string", - "title" : "text(_:width:depth:detail:material:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -11315,13 +11312,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/submeshes" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-8sjrv" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The distinct (disconnected) submeshes that make up the mesh. ", - "summary" : "The distinct (disconnected) submeshes that make up the mesh.", - "title" : "submeshes" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -11331,7 +11328,7 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/!=(_:_:)" }, "type" : "topLevelPage" }, @@ -11341,35 +11338,35 @@ }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/containsPoint(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/translate(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a Boolean value that indicates if the specified point is within the bounds. The point to compare. Return Value true if the point lies inside the bounds, and false otherwise.", - "summary" : "Returns a Boolean value that indicates if the specified point is within the bounds.", - "title" : "containsPoint(_:)" + "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", + "summary" : "Translate the value in place.", + "title" : "translate(by:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Transformable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:_:_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Transformable Implementations" + "rawIndexableTextContent" : "Create a color from RGB values and optional alpha component The red component of the color, from 0 to 1. The green component of the color, from 0 to 1. The blue component of the color, from 0 to 1. The alpha component of the color. Defaults to 1 (fully opaque)", + "summary" : "Create a color from RGB values and optional alpha component", + "title" : "init(_:_:_:_:)" }, { "headings" : [ @@ -11379,13 +11376,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_=(_:_:)-5nk27" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withNormal(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable.>=(_:_:). ", - "summary" : "Inherited from Comparable.>=(_:_:).", - "title" : ">=(_:_:)" + "rawIndexableTextContent" : "Creates a copy of the vertex with the specified normal. The normal value to apply to the vertex.", + "summary" : "Creates a copy of the vertex with the specified normal.", + "title" : "withNormal(_:)" }, { "headings" : [ @@ -11395,13 +11392,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasVertexColors" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/withColor(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A Boolean value that indicates whether the mesh includes vertex colors. ", - "summary" : "A Boolean value that indicates whether the mesh includes vertex colors.", - "title" : "hasVertexColors" + "rawIndexableTextContent" : "Replace\/remove point color. The color to apply to the point.", + "summary" : "Replace\/remove point color.", + "title" : "withColor(_:)" }, { "headings" : [ @@ -11411,15 +11408,12 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-27eol" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-27jri" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Creates a Quaternion from a simd quaternion. A simd quaternion.", - "summary" : "Creates a Quaternion from a simd quaternion.", + "rawIndexableTextContent" : "Creates a bounds from a collection of points. A collection of points that the bounds contains.", + "summary" : "Creates a bounds from a collection of points.", "title" : "init(_:)" }, { @@ -11430,29 +11424,35 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/translate(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*=(_:_:)-5ic2j" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", - "summary" : "Translate the value in place.", - "title" : "translate(by:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Multiplies the quaternion rotation on the left by the one on the right. ", + "summary" : "Multiplies the quaternion rotation on the left by the one on the right.", + "title" : "*=(_:_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/detriangulate()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/yaw" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Merges coplanar polygons that share one or more edges, provided the result will be convex. Return Value A new mesh containing the merged polygons.", - "summary" : "Merges coplanar polygons that share one or more edges, provided the result will be convex.", - "title" : "detriangulate()" + "platforms" : [ + + ], + "rawIndexableTextContent" : "The angle of rotation around the Y-axis. ", + "summary" : "The angle of rotation around the Y-axis.", + "title" : "yaw" }, { "headings" : [ @@ -11462,13 +11462,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/frontAndBack" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/red" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Generate both the front and back faces. ", - "summary" : "Generate both the front and back faces.", - "title" : "Mesh.Faces.frontAndBack" + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "red" }, { "headings" : [ @@ -11478,13 +11478,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/containsPoint(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/STLMaterialProvider" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a Boolean value that indicates whether the specified point lies on the line segment. The point to test. Return Value true if the point lies on the line segment and false otherwise.", - "summary" : "Returns a Boolean value that indicates whether the specified point lies on the line segment.", - "title" : "containsPoint(_:)" + "rawIndexableTextContent" : "A closure that maps an STL facet color to a Euclid material. A Euclid Color to convert, or nil for the default color. Return Value A Euclid Material value, or nil for the default material.", + "summary" : "A closure that maps an STL facet color to a Euclid material.", + "title" : "Mesh.STLMaterialProvider" }, { "headings" : [ @@ -11494,13 +11494,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/isPlanar" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "rawIndexableTextContent" : "Indicates whether all the path’s points lie on a single plane. ", + "summary" : "Indicates whether all the path’s points lie on a single plane.", + "title" : "isPlanar" }, { "headings" : [ @@ -11510,13 +11510,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/polygon(radius:sides:color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*=(_:_:)-lsgo" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a closed regular polygon. The distance from the center of the polygon to each point. The number of sides on the polygon. An optional Color to apply to the path’s points.", - "summary" : "Creates a closed regular polygon.", - "title" : "polygon(radius:sides:color:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Multiplies the components of the quaternion by the specified value. ", + "summary" : "Multiplies the components of the quaternion by the specified value.", + "title" : "*=(_:_:)" }, { "headings" : [ @@ -11526,45 +11529,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materialLookup:)-3drza" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scale(by:)-758tv" }, "type" : "topLevelPage" }, - "platforms" : [ - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "15.0", - "name" : "iOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "12.0", - "name" : "macOS", - "unavailable" : false - } - ], - "rawIndexableTextContent" : "Creates a mesh from a RealityKit ModelEntity with optional material mapping. The ModelEntity to convert into a mesh. An optional closure to map the RealityKit materials to Euclid materials.", - "summary" : "Creates a mesh from a RealityKit ModelEntity with optional material mapping.", - "title" : "init(_:materialLookup:)" + "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ - + "Overview" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/angle(with:)-9sfg1" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the angle between this vector and the specified plane. The plane to compare with.", - "summary" : "Returns the angle between this vector and the specified plane.", - "title" : "angle(with:)" + "rawIndexableTextContent" : "A distance or position in 3D space. Overview Euclid doesn’t have a 2D vector type. When working with primarily 2D shapes, such as Paths, you can omit the z component when constructing vector and it will default to zero.", + "summary" : "A distance or position in 3D space.", + "title" : "Vector" }, { "headings" : [ @@ -11574,13 +11561,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cube(center:size:faces:wrapMode:material:)-eado" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(normal:pointOnPlane:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates an axis-aligned cubical mesh. The center point of the mesh. The size of the mesh. The direction of the generated polygon faces. The way that texture coordinates are calculated for the cube. The optional material for the mesh.", - "summary" : "Creates an axis-aligned cubical mesh.", - "title" : "cube(center:size:faces:wrapMode:material:)" + "rawIndexableTextContent" : "Creates a plane from a point and surface normal. The surface normal of the plane. An arbitrary point on the plane.", + "summary" : "Creates a plane from a point and surface normal.", + "title" : "init(normal:pointOnPlane:)" }, { "headings" : [ @@ -11590,13 +11577,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/transform(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/none" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", - "summary" : "Transform the value in place.", - "title" : "transform(by:)" + "rawIndexableTextContent" : "Do not generate texture coordinates. ", + "summary" : "Do not generate texture coordinates.", + "title" : "Mesh.WrapMode.none" }, { "headings" : [ @@ -11606,13 +11593,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotated(by:)-76uyz" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-6axqe" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", - "summary" : "Returns a rotated copy of the value.", - "title" : "rotated(by:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -11622,13 +11609,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/yaw(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the componentwise difference between two vectors. ", - "summary" : "Returns the componentwise difference between two vectors.", - "title" : "-(_:_:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Creates a quaternion representing a rotation around the Y axis. The angle to rotate by.", + "summary" : "Creates a quaternion representing a rotation around the Y axis.", + "title" : "yaw(_:)" }, { "headings" : [ @@ -11638,13 +11628,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/encode(to:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Encodes this vertex into the given encoder. The encoder to write data to.", - "summary" : "Encodes this vertex into the given encoder.", - "title" : "encode(to:)" + "rawIndexableTextContent" : "An infinite line in 3D space. ", + "summary" : "An infinite line in 3D space.", + "title" : "Line" }, { "headings" : [ @@ -11654,12 +11644,12 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/transformed(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/transformed(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. A transform to apply to the value.", - "summary" : "Returns a transformed copy of the value.", + "rawIndexableTextContent" : "Returns a transformed copy of the mesh. A transform to apply to the mesh.", + "summary" : "Returns a transformed copy of the mesh.", "title" : "transformed(by:)" }, { @@ -11670,15 +11660,12 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-5w6mn" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Creates a rotation from a quaternion. A quaternion defining a rotation.", - "summary" : "Creates a rotation from a quaternion.", + "rawIndexableTextContent" : "Creates a new mesh from an array of polygons. The polygons making up the mesh.", + "summary" : "Creates a new mesh from an array of polygons.", "title" : "init(_:)" }, { @@ -11689,13 +11676,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:)-6c896" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/empty" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes the convex hull of a set of polygons. An array of polygons to compute the hull around.", - "summary" : "Computes the convex hull of a set of polygons.", - "title" : "convexHull(of:)" + "rawIndexableTextContent" : "An empty bounds. ", + "summary" : "An empty bounds.", + "title" : "empty" }, { "headings" : [ @@ -11705,13 +11692,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotate(by:)-l48f" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/encode(to:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "Encodes this path into the given encoder. The encoder to write data to.", + "summary" : "Encodes this path into the given encoder.", + "title" : "encode(to:)" }, { "headings" : [ @@ -11721,13 +11708,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/*=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/polygonsByMaterial" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. ", - "summary" : "Transform the value in place.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "The polygons in the mesh, grouped by material. ", + "summary" : "The polygons in the mesh, grouped by material.", + "title" : "polygonsByMaterial" }, { "headings" : [ @@ -11737,29 +11724,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/sphereMapped()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:)-7d8un" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Return a copy of the mesh with spherically-mapped texture coordinates. ", - "summary" : "Return a copy of the mesh with spherically-mapped texture coordinates.", - "title" : "sphereMapped()" + "rawIndexableTextContent" : "Creates a color from an NSColor. The NSColor to convert.", + "summary" : "Creates a color from an NSColor.", + "title" : "init(_:)" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Decodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotate(by:)-3ed6z" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Decodable Implementations" + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ @@ -11769,29 +11756,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotate(by:)-11t07" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasTexcoords" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "A Boolean value that indicates whether the mesh includes texture coordinates. ", + "summary" : "A Boolean value that indicates whether the mesh includes texture coordinates.", + "title" : "hasTexcoords" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/uniqueEdges" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/tessellate(maxSides:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The unique polygon edges in the mesh. The direction of each edge is normalized relative to the origin to simplify edge-equality comparisons. ", - "summary" : "The unique polygon edges in the mesh. The direction of each edge is normalized relative to the origin to simplify edge-equality comparisons.", - "title" : "uniqueEdges" + "rawIndexableTextContent" : "Splits a polygon into two or more convex polygons using the “ear clipping” method. The maximum number of sides each polygon may have. Return Value An array of convex polygons.", + "summary" : "Splits a polygon into two or more convex polygons using the “ear clipping” method.", + "title" : "tessellate(maxSides:)" }, { "headings" : [ @@ -11801,13 +11788,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/bounds" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/size" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The bounds of the mesh. ", - "summary" : "The bounds of the mesh.", - "title" : "bounds" + "rawIndexableTextContent" : "The size of the bounds. The minimum returned size is zero, even if max < min. ", + "summary" : "The size of the bounds. The minimum returned size is zero, even if max < min.", + "title" : "size" }, { "headings" : [ @@ -11817,16 +11804,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(polygon:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/encode(to:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : " ", - "summary" : "", - "title" : "init(polygon:)" + "rawIndexableTextContent" : "Encodes this angle into the given encoder. The encoder to write data to.", + "summary" : "Encodes this angle into the given encoder.", + "title" : "encode(to:)" }, { "headings" : [ @@ -11836,13 +11820,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable....(_:_:). ", - "summary" : "Inherited from Comparable....(_:_:).", - "title" : "...(_:_:)" + "rawIndexableTextContent" : "Creates a vector from the values you provide. The X component of the vector. The Y component of the vector. The Z component of the vector.", + "summary" : "Creates a vector from the values you provide.", + "title" : "init(_:_:_:)" }, { "headings" : [ @@ -11852,65 +11836,61 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/translate(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/offset" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", - "summary" : "Translate the value in place.", - "title" : "translate(by:)" + "rawIndexableTextContent" : "The translation or position component of the transform. ", + "summary" : "The translation or position component of the transform.", + "title" : "offset" }, { "headings" : [ - "Return Value", - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/split(along:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-5s4mt" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Split the mesh along a plane. The Plane to split the mesh along. Return Value A pair of meshes representing the parts in front of and behind the plane respectively. Discussion If the plane and mesh do not intersect, one of the returned meshes will be nil.", - "summary" : "Split the mesh along a plane.", - "title" : "split(along:)" + "rawIndexableTextContent" : "Creates a Vector from a simd vector 3. A simd vector.", + "summary" : "Creates a Vector from a simd vector 3.", + "title" : "init(_:)" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_=(_:_:)-8q2nt" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Decodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable.<=(_:_:). ", - "summary" : "Inherited from Comparable.<=(_:_:).", - "title" : "<=(_:_:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Decodable Implementations" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/with(color:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Decodable-Implementations" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Deprecated. ", - "summary" : "Deprecated.", - "title" : "with(color:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Decodable Implementations" }, { "headings" : [ @@ -11920,13 +11900,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/corners" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/direction" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The points that make up the corners of the bounds. ", - "summary" : "The points that make up the corners of the bounds.", - "title" : "corners" + "rawIndexableTextContent" : "The direction of the line segment as a normalized vector. ", + "summary" : "The direction of the line segment as a normalized vector.", + "title" : "direction" }, { "headings" : [ @@ -11936,13 +11916,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/*=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_(_:_:)-1aqv9" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Transform the value in place. ", - "summary" : "Transform the value in place.", - "title" : "*=(_:_:)" + "rawIndexableTextContent" : "Returns whether the leftmost angle has the lower value. ", + "summary" : "Returns whether the leftmost angle has the lower value.", + "title" : "<(_:_:)" }, { "headings" : [ @@ -11952,13 +11932,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns the inverse angle. ", - "summary" : "Returns the inverse angle.", - "title" : "-(_:)" + "rawIndexableTextContent" : "Creates a new plane by decoding from the given decoder. The decoder to read data from.", + "summary" : "Creates a new plane by decoding from the given decoder.", + "title" : "init(from:)" }, { "headings" : [ @@ -11968,82 +11948,77 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*(_:_:)-2drke" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/x" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Returns a quaternion with its components multiplied by the specified value. ", - "summary" : "Returns a quaternion with its components multiplied by the specified value.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "The X component of the vector. ", + "summary" : "The X component of the vector.", + "title" : "x" }, { "headings" : [ ], - "kind" : "symbol", + "kind" : "article", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/transformed(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Encodable-Implementations" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the mesh. A transform to apply to the mesh.", - "summary" : "Returns a transformed copy of the mesh.", - "title" : "transformed(by:)" + "rawIndexableTextContent" : "", + "summary" : "", + "title" : "Encodable Implementations" }, { "headings" : [ - "Return Value", - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/subtracting(_:isCancelled:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scale(by:)-8v4ag" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a new mesh created by subtracting the volume of the mesh parameter from the receiver. Return Value A new mesh representing the result of the subtraction. Discussion Parameters mesh: The mesh to subtract from this one. isCancelled: Callback used to cancel the operation.", - "summary" : "Returns a new mesh created by subtracting the volume of the mesh parameter from the receiver.", - "title" : "subtracting(_:isCancelled:)" + "rawIndexableTextContent" : "Scale the value in place. A uniform scale factor to apply to the value.", + "summary" : "Scale the value in place.", + "title" : "scale(by:)" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-5dvvh" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/clip(to:fill:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A vector scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Clip mesh to the specified plane and optionally fill sheared faces with specified material. Discussion Parameters plane: The plane to clip the mesh to fill: The material to fill the sheared face(s) with. Specifying nil for the fill material will leave the sheared face unfilled.", + "summary" : "Clip mesh to the specified plane and optionally fill sheared faces with specified material.", + "title" : "clip(to:fill:)" }, { "headings" : [ - "Return Value", - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersection(_:isCancelled:)-swift.method" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/normal" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a new mesh representing the volume shared by both the mesh parameter and the receiver. If these do not intersect, an empty mesh will be returned. Return Value A new mesh representing the intersection of the meshes. Discussion Parameters mesh: The mesh to be intersected with this one. isCancelled: Callback used to cancel the operation.", - "summary" : "Returns a new mesh representing the volume shared by both the mesh parameter and the receiver. If these do not intersect, an empty mesh will be returned.", - "title" : "intersection(_:isCancelled:)" + "rawIndexableTextContent" : "The surface normal of the vertex, used to calculate lighting. Set this to zero if you want the normal to be calculated automatically from the polygon face normal. ", + "summary" : "The surface normal of the vertex, used to calculate lighting. Set this to zero if you want the normal to be calculated automatically from the polygon face normal.", + "title" : "normal" }, { "headings" : [ @@ -12053,61 +12028,61 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scale(by:)-7pxnt" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transform(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Scale the value in place. A vector scale factor to apply to the value.", - "summary" : "Scale the value in place.", - "title" : "scale(by:)" + "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", + "summary" : "Transform the value in place.", + "title" : "transform(by:)" }, { "headings" : [ - "Return Value" + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-9o28g" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:)-53lhy" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Computes the point of intersection between a line segment and a plane. The LineSegment to compare with. Return Value The point of intersection between the line segment and plane, or nil if they do not intersect.", - "summary" : "Computes the point of intersection between a line segment and a plane.", - "title" : "intersection(with:)" + "rawIndexableTextContent" : "Creates a color from an array of component values. Discussion The number of values specified determines how each value is interpreted. The following patterns are supported (R = red, G = green, B = blue, A = alpha, L = luminance): L LA RGB RGBA", + "summary" : "Creates a color from an array of component values.", + "title" : "init(_:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/max(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/replacing(_:with:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a new vector representing the maximum of the components of the two vectors. ", - "summary" : "Returns a new vector representing the maximum of the components of the two vectors.", - "title" : "max(_:_:)" + "rawIndexableTextContent" : "Returns a copy of the mesh with the specified old material replaced by a new one. The Mesh.Material to be replaced. The Mesh.Material to use instead. Return Value a new Mesh with the material replaced.", + "summary" : "Returns a copy of the mesh with the specified old material replaced by a new one.", + "title" : "replacing(_:with:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersects(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-7j4ql" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a Boolean value that indicates whether the lines intersect. The line to compare with. Return Value true if the lines intersect and false otherwise.", - "summary" : "Returns a Boolean value that indicates whether the lines intersect.", - "title" : "intersects(_:)" + "rawIndexableTextContent" : "Creates a Rotation from a simd quaternion. A simd quaternion.", + "summary" : "Creates a Rotation from a simd quaternion.", + "title" : "init(_:)" }, { "headings" : [ @@ -12117,16 +12092,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotate(by:)-1azi6" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-84xdd" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", - "summary" : "Rotate the value in place.", - "title" : "rotate(by:)" + "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", + "summary" : "Returns a scaled copy of the value.", + "title" : "scaled(by:)" }, { "headings" : [ @@ -12136,16 +12108,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(roll:yaw:pitch:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/isConvex" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Creates a rotation from Euler angles applied in roll\/yaw\/pitch order. The angle of rotation around the Z axis. This is applied first. The angle of rotation around the Y axis. This is applied second. The angle of rotation around the X axis. This is applied last.", - "summary" : "Creates a rotation from Euler angles applied in roll\/yaw\/pitch order.", - "title" : "init(roll:yaw:pitch:)" + "rawIndexableTextContent" : "A Boolean value that indicates whether the polygon is convex. ", + "summary" : "A Boolean value that indicates whether the polygon is convex.", + "title" : "isConvex" }, { "headings" : [ @@ -12155,13 +12124,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_=(_:_:)-5dvuy" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*(_:_:)-2ew65" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Comparable.>=(_:_:). ", - "summary" : "Inherited from Comparable.>=(_:_:).", - "title" : ">=(_:_:)" + "rawIndexableTextContent" : "Returns the product of a numeric multiplier and an angle. ", + "summary" : "Returns the product of a numeric multiplier and an angle.", + "title" : "*(_:_:)" }, { "headings" : [ @@ -12187,13 +12156,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/text(_:font:width:depth:detail:material:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(from:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates an extruded text model from a string. The text to convert into a model The font to use for the text glyphs. The optional width at which to line-wrap the text. The depth of the extruded text. The number line segments used to approximate glyph curves. An optional material to apply to the mesh.", - "summary" : "Creates an extruded text model from a string.", - "title" : "text(_:font:width:depth:detail:material:)" + "rawIndexableTextContent" : "Creates a new path point by decoding from the given decoder. The decoder to read data from.", + "summary" : "Creates a new path point by decoding from the given decoder.", + "title" : "init(from:)" }, { "headings" : [ @@ -12203,45 +12172,45 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(from:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-48gl1" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a new plane by decoding from the given decoder. The decoder to read data from.", - "summary" : "Creates a new plane by decoding from the given decoder.", - "title" : "init(from:)" + "rawIndexableTextContent" : "Returns a vector with its components multiplied by the specified value. ", + "summary" : "Returns a vector with its components multiplied by the specified value.", + "title" : "*(_:_:)" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/curve(_:detail:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/*=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a quadratic bezier spline. The control points for the curve. The number of line segments used to approximate curved sections. Discussion The method takes an array of PathPoint and a detail argument. Normally, the isCurved property is used to calculate surface normals (for lighting purposes), but with the curve(_:detail:) method it actually affects the shape of the Path. A sequence of regular (non-curved) PathPoints creates sharp corners in the Path as normal, but curved points are treated as off-curve Bezier control points. The method uses second-order (quadratic) Bezier curves, where each curve has two on-curve end points and a single off-curve control point. If two curved PathPoint are used in sequence then an on-curve point is interpolated between them. It is therefore possible to create curves entirely out of curved (off-curve) control points. This approach to curve generation is based on the popular TrueType (TTF) font system, and provides a good balance between simplicity and flexibility. For more complex curves, on macOS and iOS you can create Euclid Path from a CGPath by using the CGPath.paths() extension method. CGPath supports cubic bezier curves as well as quadratic, and has convenience constructors for rounded rectangles and other shapes.", - "summary" : "Creates a quadratic bezier spline.", - "title" : "curve(_:detail:)" + "rawIndexableTextContent" : "Transform the value in place. ", + "summary" : "Transform the value in place.", + "title" : "*=(_:_:)" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/angle" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(stlData:materialLookup:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The angle of rotation. ", - "summary" : "The angle of rotation.", - "title" : "angle" + "rawIndexableTextContent" : "Create a mesh from STL data. Discussion Parameters stlData: binary or ASCII STL file data materialLookup: A closure to map STL facet colors to Euclid materials. Use nil for default mapping.", + "summary" : "Create a mesh from STL data.", + "title" : "init(stlData:materialLookup:)" }, { "headings" : [ @@ -12251,13 +12220,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-6axqe" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-4jhkw" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Creates a path from an array of path points. An array of PathPoint making up the path.", + "summary" : "Creates a path from an array of path points.", + "title" : "init(_:)" }, { "headings" : [ @@ -12267,13 +12236,16 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorUserInfo" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/with(color:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from CustomNSError.errorUserInfo. ", - "summary" : "Inherited from CustomNSError.errorUserInfo.", - "title" : "errorUserInfo" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Deprecated. ", + "summary" : "Deprecated.", + "title" : "with(color:)" }, { "headings" : [ @@ -12283,32 +12255,32 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/yaw(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/components" }, "type" : "topLevelPage" }, "platforms" : [ ], - "rawIndexableTextContent" : "Creates a quaternion representing a rotation around the Y axis. The angle to rotate by.", - "summary" : "Creates a quaternion representing a rotation around the Y axis.", - "title" : "yaw(_:)" + "rawIndexableTextContent" : "An array containing the raw components of the quaternion. ", + "summary" : "An array containing the raw components of the quaternion.", + "title" : "components" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Bounded-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/isEmpty" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Bounded Implementations" + "rawIndexableTextContent" : "A Boolean value that indicates whether the bounds is empty (has zero volume). ", + "summary" : "A Boolean value that indicates whether the bounds is empty (has zero volume).", + "title" : "isEmpty" }, { "headings" : [ @@ -12318,13 +12290,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/!=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/normal" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", - "summary" : "Inherited from Equatable.!=(_:_:).", - "title" : "!=(_:_:)" + "rawIndexableTextContent" : "A surface normal vector, perpendicular to the plane. ", + "summary" : "A surface normal vector, perpendicular to the plane.", + "title" : "normal" }, { "headings" : [ @@ -12334,29 +12306,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/forward" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-(_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A normalized direction vector pointing forwards relative to the current rotation. ", - "summary" : "A normalized direction vector pointing forwards relative to the current rotation.", - "title" : "forward" + "rawIndexableTextContent" : "Returns a vector with all components inverted. ", + "summary" : "Returns a vector with all components inverted.", + "title" : "-(_:)" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/inset(by:)-4gk62" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/!=(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a new bounds inset by the specified amount. The amount to inset the bounds by. Use a negative value to expand the bounds. Return Value The inset bounds.", - "summary" : "Returns a new bounds inset by the specified amount.", - "title" : "inset(by:)" + "rawIndexableTextContent" : "Inherited from Equatable.!=(_:_:). ", + "summary" : "Inherited from Equatable.!=(_:_:).", + "title" : "!=(_:_:)" }, { "headings" : [ @@ -12366,13 +12338,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-98mbu" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotate(by:)-622p8" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. ", - "summary" : "Returns a transformed copy of the value.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ @@ -12382,16 +12354,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/pitch(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/\/=(_:_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Creates a quaternion representing a rotation around the X axis. The angle to rotate by.", - "summary" : "Creates a quaternion representing a rotation around the X axis.", - "title" : "pitch(_:)" + "rawIndexableTextContent" : "Divides the angle by a numeric denominator. ", + "summary" : "Divides the angle by a numeric denominator.", + "title" : "\/=(_:_:)" }, { "headings" : [ @@ -12401,45 +12370,48 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Transformable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Encodable-Implementations" }, "type" : "topLevelPage" }, "rawIndexableTextContent" : "", "summary" : "", - "title" : "Transformable Implementations" + "title" : "Encodable Implementations" }, { "headings" : [ - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(_:material:)-8gsiw" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/bounds" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a polygon from a set of vertex positions. A collection of Vector positions for the polygon vertices. An optional Polygon.Material to use for the polygon. Discussion Vertex normals will be set to match the overall face normal of the polygon. Texture coordinates will be set to zero. Vertex colors will be defaulted to white.", - "summary" : "Creates a polygon from a set of vertex positions.", - "title" : "init(_:material:)" + "rawIndexableTextContent" : "The bounding box containing the polygon. ", + "summary" : "The bounding box containing the polygon.", + "title" : "bounds" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/clip(to:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(polygons:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Clip polygon to the specified plane The plane to clip the polygon to. Return Value An array of the polygon fragments that lie in front of the plane.", - "summary" : "Clip polygon to the specified plane", - "title" : "clip(to:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "Deprecated. ", + "summary" : "Deprecated.", + "title" : "init(polygons:)" }, { "headings" : [ @@ -12449,13 +12421,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/empty" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/translate(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An empty bounds. ", - "summary" : "An empty bounds.", - "title" : "empty" + "rawIndexableTextContent" : "Translate the value in place. A translation to apply to the value.", + "summary" : "Translate the value in place.", + "title" : "translate(by:)" }, { "headings" : [ @@ -12465,13 +12437,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-83oy3" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:)-49h2f" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a transform from a SceneKit transform matrix. The SCNMatrix4 from which to determine the transform.", - "summary" : "Creates a transform from a SceneKit transform matrix.", - "title" : "init(_:)" + "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", + "summary" : "Inherited from Comparable....(_:).", + "title" : "...(_:)" }, { "headings" : [ @@ -12481,12 +12453,15 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/*(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*(_:_:)-305tn" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. ", - "summary" : "Returns a transformed copy of the value.", + "platforms" : [ + + ], + "rawIndexableTextContent" : "Returns the product of two quaternions (i.e. the effect of rotating the left by the right). ", + "summary" : "Returns the product of two quaternions (i.e. the effect of rotating the left by the right).", "title" : "*(_:_:)" }, { @@ -12497,61 +12472,61 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/center" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/gray" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The center of the bounds. If the bounds is empty this will return the zero vector. ", - "summary" : "The center of the bounds. If the bounds is empty this will return the zero vector.", - "title" : "center" + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "gray" }, { "headings" : [ - "Return Value" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/replacing(_:with:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a copy of the mesh with the specified old material replaced by a new one. The Mesh.Material to be replaced. The Mesh.Material to use instead. Return Value a new Mesh with the material replaced.", - "summary" : "Returns a copy of the mesh with the specified old material replaced by a new one.", - "title" : "replacing(_:with:)" + "rawIndexableTextContent" : "Efficiently strokes a collection of line segments (useful for drawing wireframes). A collection of LineSegment to stroke. The line width of the strokes. The number of sides to use for the cross-sectional shape of the stroked mesh. The optional material for the mesh.", + "summary" : "Efficiently strokes a collection of line segments (useful for drawing wireframes).", + "title" : "stroke(_:width:detail:material:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/max" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/distance(from:)-4o41" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The maximum coordinate of the bounds. ", - "summary" : "The maximum coordinate of the bounds.", - "title" : "max" + "rawIndexableTextContent" : "Returns the perpendicular distance of the line from a specified point. The point to compare. Return Value The absolute perpendicular distance between the point and line.", + "summary" : "Returns the perpendicular distance of the line from a specified point.", + "title" : "distance(from:)" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/axis" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/tessellate(maxSides:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Align extruded cross-sections with the X, Y or Z axis (whichever is most perpendicular to the extrusion path). ", - "summary" : "Align extruded cross-sections with the X, Y or Z axis (whichever is most perpendicular to the extrusion path).", - "title" : "Path.Alignment.axis" + "rawIndexableTextContent" : "Splits all polygons in the mesh that are concave or have more than the specified number of sides into two or more convex polygons. The maximum number of sides each polygon may have. Return Value A new mesh containing the convex polygons.", + "summary" : "Splits all polygons in the mesh that are concave or have more than the specified number of sides into two or more convex polygons.", + "title" : "tessellate(maxSides:)" }, { "headings" : [ @@ -12561,7 +12536,7 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotated(by:)" }, "type" : "topLevelPage" }, @@ -12577,13 +12552,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounded" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/cyan" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A common protocol for objects that have a bounds. ", - "summary" : "A common protocol for objects that have a bounds.", - "title" : "Bounded" + "rawIndexableTextContent" : " ", + "summary" : "", + "title" : "cyan" }, { "headings" : [ @@ -12593,13 +12568,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/material-swift.property" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotate(by:)-4cg0v" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "An optional Polygon.Material associated with the polygon. ", - "summary" : "An optional Polygon.Material associated with the polygon.", - "title" : "material" + "rawIndexableTextContent" : "Rotate the value in place. A rotation to apply to the value.", + "summary" : "Rotate the value in place.", + "title" : "rotate(by:)" }, { "headings" : [ @@ -12609,13 +12584,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/x" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:detail:color:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The X component of the vector. ", - "summary" : "The X component of the vector.", - "title" : "x" + "rawIndexableTextContent" : "Creates a Path from a CGPath. The returned path may contain nested subpaths. The CoreGraphics path to convert. The number of line segments used to approximate cubic or quadratic bezier curves. An optional Color to apply to the path vertices.", + "summary" : "Creates a Path from a CGPath. The returned path may contain nested subpaths.", + "title" : "init(_:detail:color:)" }, { "headings" : [ @@ -12625,13 +12600,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-350oy" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/transform(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a scaled copy of the value. A uniform scale factor to apply to the value.", - "summary" : "Returns a scaled copy of the value.", - "title" : "scaled(by:)" + "rawIndexableTextContent" : "Transform the value in place. A transform to apply to the value.", + "summary" : "Transform the value in place.", + "title" : "transform(by:)" }, { "headings" : [ @@ -12641,16 +12616,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/+=(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/g" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Adds the quaternion rotation on the right to the one on the left. ", - "summary" : "Adds the quaternion rotation on the right to the one on the left.", - "title" : "+=(_:_:)" + "rawIndexableTextContent" : "The green component of the color. ", + "summary" : "The green component of the color.", + "title" : "g" }, { "headings" : [ @@ -12660,13 +12632,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withPosition(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitX" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a copy of the vertex with the specified position. The position to apply to the vertex.", - "summary" : "Creates a copy of the vertex with the specified position.", - "title" : "withPosition(_:)" + "rawIndexableTextContent" : "A vector of length 1 along the X axis. ", + "summary" : "A vector of length 1 along the X axis.", + "title" : "unitX" }, { "headings" : [ @@ -12676,81 +12648,110 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotated(by:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorCode" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", - "summary" : "Returns a rotated copy of the value.", - "title" : "rotated(by:)" + "platforms" : [ + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "8.0", + "name" : "iOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "10.10", + "name" : "macOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "9.0", + "name" : "tvOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "2.0", + "name" : "watchOS", + "unavailable" : false + } + ], + "rawIndexableTextContent" : "Inherited from CustomNSError.errorCode. ", + "summary" : "Inherited from CustomNSError.errorCode.", + "title" : "errorCode" }, { "headings" : [ ], - "kind" : "article", + "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Transformable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(size:)-nkyk" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "", - "summary" : "", - "title" : "Transformable Implementations" + "rawIndexableTextContent" : "Creates a vector of uniform size. The value to use for all components.", + "summary" : "Creates a vector of uniform size.", + "title" : "init(size:)" }, { "headings" : [ - "Return Value", - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/makeWatertight()" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/max(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Removes hairline cracks by inserting additional vertices without altering the shape. Return Value A new mesh with new vertices inserted if needed. Discussion This method is not always successful. Check isWatertight after to verify.", - "summary" : "Removes hairline cracks by inserting additional vertices without altering the shape.", - "title" : "makeWatertight()" + "rawIndexableTextContent" : "Returns a new vector representing the maximum of the components of the two vectors. ", + "summary" : "Returns a new vector representing the maximum of the components of the two vectors.", + "title" : "max(_:_:)" }, { "headings" : [ - + "Overview" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/withMaterial(_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Creates a copy of the polygon with the specified material. The replacement material, or nil to remove the material.", - "summary" : "Creates a copy of the polygon with the specified material.", - "title" : "withMaterial(_:)" + "platforms" : [ + + ], + "rawIndexableTextContent" : "An orientation or rotation in 3D space. Overview A quaternion can be created from a from a Rotation matrix, or directly from an axis vector and angle, or a from a set of 3 Euler angles (pitch, yaw and roll). In addition to being more compact than a 3x3 rotation matrix, quaternions also avoid a problem known as gymbal lock.", + "summary" : "An orientation or rotation in 3D space.", + "title" : "Quaternion" }, { "headings" : [ - + "Return Value" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/with(material:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/lerp(_:_:)" }, "type" : "topLevelPage" }, - "platforms" : [ - - ], - "rawIndexableTextContent" : "Deprecated. ", - "summary" : "Deprecated.", - "title" : "with(material:)" + "rawIndexableTextContent" : "Linearly interpolates between two path points. The path point to interpolate with. The normalized extent of interpolation, from 0 to 1. Return Value A new path point at the interpolated position.", + "summary" : "Linearly interpolates between two path points.", + "title" : "lerp(_:_:)" }, { "headings" : [ @@ -12760,13 +12761,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/write(to:materialLookup:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/*(_:_:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Saves a mesh to a file, with optional material mapping. The URL of the file to be written. A closure to map Euclid materials to format-appropriate materials. Use nil for default mapping.", - "summary" : "Saves a mesh to a file, with optional material mapping.", - "title" : "write(to:materialLookup:)" + "rawIndexableTextContent" : "Returns a transformed copy of the value. ", + "summary" : "Returns a transformed copy of the value.", + "title" : "*(_:_:)" }, { "headings" : [ @@ -12776,29 +12777,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isZero" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(offset:rotation:scale:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "All vector components are zero (or close to zero) in length. ", - "summary" : "All vector components are zero (or close to zero) in length.", - "title" : "isZero" + "rawIndexableTextContent" : "Creates a new transform. The translation or position component of the transform. Defaults to zero (no offset). The translation or position component of the transform. Defaults to identity (no rotation). The scaling component of the transform. Defaults to one (no scale adjustment).", + "summary" : "Creates a new transform.", + "title" : "init(offset:rotation:scale:)" }, { "headings" : [ - + "Discussion" ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/center" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/lathe(_:slices:poleDetail:addDetailForFlatPoles:faces:wrapMode:material:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "The position of the center of the polygon. This is calculated as the average of the vertex positions, and may not be equal to the center of the polygon’s bounds. ", - "summary" : "The position of the center of the polygon. This is calculated as the average of the vertex positions, and may not be equal to the center of the polygon’s bounds.", - "title" : "center" + "rawIndexableTextContent" : "Creates a rotationally symmetrical mesh by turning the specified path around the Y axis. The path to use as the profile for the mesh. The number of slices that make up the lathed mesh. The number of segments used to make the pole. A Boolean value that indicates whether to add detail to the poles. The direction of the generated polygon faces. The way that texture coordinates are calculated for the lathed mesh. The optional material for the mesh. Discussion The profile path can be open or closed. Define a closed path by ending with the same point that you started with. The path can be placed on either side of the Y axis, however the behavior is undefined for paths that cross the axis Open paths that do not start and end on the Y axis will produce a shape with a hole in it", + "summary" : "Creates a rotationally symmetrical mesh by turning the specified path around the Y axis.", + "title" : "lathe(_:slices:poleDetail:addDetailForFlatPoles:faces:wrapMode:material:)" }, { "headings" : [ @@ -12808,13 +12809,13 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/*(_:_:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotated(by:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a transformed copy of the value. ", - "summary" : "Returns a transformed copy of the value.", - "title" : "*(_:_:)" + "rawIndexableTextContent" : "Returns a rotated copy of the value. A rotation to apply to the value.", + "summary" : "Returns a rotated copy of the value.", + "title" : "rotated(by:)" }, { "headings" : [ @@ -12824,30 +12825,29 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasVertexNormals" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:)-25eby" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "A Boolean value that indicates whether the polygon includes vertex normals that differ from the face normal. ", - "summary" : "A Boolean value that indicates whether the polygon includes vertex normals that differ from the face normal.", - "title" : "hasVertexNormals" + "rawIndexableTextContent" : "Creates a color from a CoreGraphics CGColor. The CoreGraphics color instance.", + "summary" : "Creates a color from a CoreGraphics CGColor.", + "title" : "init(_:)" }, { "headings" : [ - "Return Value", - "Discussion" + ], "kind" : "symbol", "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stencil(_:isCancelled:)-swift.method" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:)-4yucl" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Returns a new mesh that retains the shape of the receiver, but with the intersecting area colored using material from the parameter. Return Value A new mesh representing the result of stencilling. Discussion Parameters mesh: The mesh to be stencilled onto this one. isCancelled: Callback used to cancel the operation.", - "summary" : "Returns a new mesh that retains the shape of the receiver, but with the intersecting area colored using material from the parameter.", - "title" : "stencil(_:isCancelled:)" + "rawIndexableTextContent" : "Inherited from Comparable....(_:). ", + "summary" : "Inherited from Comparable....(_:).", + "title" : "...(_:)" }, { "headings" : [ @@ -12857,12 +12857,12 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/encode(to:)" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/encode(to:)" }, "type" : "topLevelPage" }, - "rawIndexableTextContent" : "Encodes this path point into the given encoder. The encoder to write data to.", - "summary" : "Encodes this path point into the given encoder.", + "rawIndexableTextContent" : "Encodes this color into the given encoder. The encoder to write data to.", + "summary" : "Encodes this color into the given encoder.", "title" : "encode(to:)" }, { @@ -12873,12 +12873,28 @@ "location" : { "reference" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Decodable-Implementations" + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Encodable-Implementations" }, "type" : "topLevelPage" }, "rawIndexableTextContent" : "", "summary" : "", - "title" : "Decodable Implementations" + "title" : "Encodable Implementations" + }, + { + "headings" : [ + + ], + "kind" : "symbol", + "location" : { + "reference" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:)-6c896" + }, + "type" : "topLevelPage" + }, + "rawIndexableTextContent" : "Computes the convex hull of a set of polygons. An array of polygons to compute the hull around.", + "summary" : "Computes the convex hull of a set of polygons.", + "title" : "convexHull(of:)" } ] \ No newline at end of file diff --git a/docs/linkable-entities.json b/docs/linkable-entities.json index 9c6a381f..c1f6aaea 100644 --- a/docs/linkable-entities.json +++ b/docs/linkable-entities.json @@ -2,7 +2,7 @@ { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "A Boolean value that indicates whether the mesh includes vertex normals that differ from the face normal.", "type" : "text" } ], @@ -12,7 +12,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -20,15 +20,7 @@ }, { "kind" : "identifier", - "text" : "scale" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" + "text" : "hasVertexNormals" }, { "kind" : "text", @@ -36,28 +28,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/scale(by:)-7dhh3", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scale(by:)-7dhh3", + "path" : "\/documentation\/euclid\/mesh\/hasvertexnormals", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasVertexNormals", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid6BoundsV" + "title" : "hasVertexNormals", + "usr" : "s:6Euclid4MeshV16hasVertexNormalsSbvp" }, { "abstract" : [ { - "text" : "The bounding box containing the line segment.", + "text" : "A common protocol for objects that have a bounds.", "type" : "text" } ], @@ -67,7 +55,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "protocol" }, { "kind" : "text", @@ -75,32 +63,28 @@ }, { "kind" : "identifier", - "text" : "bounds" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" + "text" : "Bounded" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.protocol", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/bounds", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/bounds", + "path" : "\/documentation\/euclid\/bounded", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounded", "taskGroups" : [ - + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounded\/bounds" + ], + "title" : "Instance Properties" + } ], - "title" : "bounds", - "usr" : "s:6Euclid11LineSegmentV6boundsAA6BoundsVvp" + "title" : "Bounded", + "usr" : "s:6Euclid7BoundedP" }, { "abstract" : [ { - "text" : "Generate back faces.", + "text" : "Creates a new path by decoding from the given decoder.", "type" : "text" } ], @@ -110,31 +94,48 @@ "fragments" : [ { "kind" : "keyword", - "text" : "case" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "back" + "kind" : "externalParam", + "text" : "from" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s7DecoderP", + "text" : "Decoder" + }, + { + "kind" : "text", + "text" : ") " + }, + { + "kind" : "keyword", + "text" : "throws" } ], - "kind" : "org.swift.docc.kind.enumerationCase", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/faces\/back", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/back", + "path" : "\/documentation\/euclid\/path\/init(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(from:)", "taskGroups" : [ ], - "title" : "Mesh.Faces.back", - "usr" : "s:6Euclid4MeshV5FacesO4backyA2EmF" + "title" : "init(from:)", + "usr" : "s:6Euclid4PathV4fromACs7Decoder_p_tKcfc" }, { "abstract" : [ { - "text" : "Creates a plane from a set of points.", + "text" : "Creates a bounds from two SceneKit vectors.", "type" : "text" } ], @@ -148,40 +149,49 @@ }, { "kind" : "text", - "text" : "?(" + "text" : "((min" }, { - "kind" : "externalParam", - "text" : "points" + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@S@SCNVector3", + "text" : "SCNVector3" }, { "kind" : "text", - "text" : ": [" + "text" : ", max" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "c:@S@SCNVector3", + "text" : "SCNVector3" }, { "kind" : "text", - "text" : "])" + "text" : "))" } ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/init(points:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(points:)", + "path" : "\/documentation\/euclid\/bounds\/init(_:)-5bh7b", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-5bh7b", "taskGroups" : [ ], - "title" : "init(points:)", - "usr" : "s:6Euclid5PlaneV6pointsACSgSayAA6VectorVG_tcfc" + "title" : "init(_:)", + "usr" : "s:6Euclid6BoundsVyACSo10SCNVector3V3min_AE3maxt_tcfc" }, { "abstract" : [ { - "text" : "Creates an array of contours by extruding one path along another path.", + "text" : "Returns a scaled copy of the value.", "type" : "text" } ], @@ -199,7 +209,7 @@ }, { "kind" : "identifier", - "text" : "extrusionContours" + "text" : "scaled" }, { "kind" : "text", @@ -207,7 +217,7 @@ }, { "kind" : "externalParam", - "text" : "along" + "text" : "by" }, { "kind" : "text", @@ -215,33 +225,58 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { - "kind" : "externalParam", - "text" : "twist" + "kind" : "typeIdentifier", + "text" : "Self" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/transformable\/scaled(by:)-3shbk", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scaled(by:)-3shbk", + "taskGroups" : [ + + ], + "title" : "scaled(by:)", + "usr" : "s:6Euclid13TransformableP6scaled2byxAA6VectorV_tF" + }, + { + "abstract" : [ + { + "text" : "Returns a scaled copy of the value.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "kind" : "identifier", + "text" : "scaled" }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { "kind" : "externalParam", - "text" : "align" + "text" : "by" }, { "kind" : "text", @@ -249,37 +284,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV9AlignmentO", - "text" : "Alignment" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ") -> [" + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" - }, - { - "kind" : "text", - "text" : "]" + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/extrusioncontours(along:twist:align:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/extrusionContours(along:twist:align:)", + "path" : "\/documentation\/euclid\/linesegment\/scaled(by:)-2lm8c", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-2lm8c", "taskGroups" : [ ], - "title" : "extrusionContours(along:twist:align:)", - "usr" : "s:6Euclid4PathV17extrusionContours5along5twist5alignSayACGAC_AA5AngleVAC9AlignmentOtF" + "title" : "scaled(by:)", + "usr" : "s:6Euclid11LineSegmentV6scaled2byAcA6VectorV_tF" }, { "abstract" : [ { - "text" : "The green component of the color.", + "text" : "Return binary STL data for the mesh.", "type" : "text" } ], @@ -289,7 +320,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -297,7 +328,15 @@ }, { "kind" : "identifier", - "text" : "g" + "text" : "stlData" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "colorLookup" }, { "kind" : "text", @@ -305,19 +344,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid4MeshV16STLColorProvidera", + "text" : "STLColorProvider" + }, + { + "kind" : "text", + "text" : "?) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:10Foundation4DataV", + "text" : "Data" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/g", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/g", + "path" : "\/documentation\/euclid\/mesh\/stldata(colorlookup:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stlData(colorLookup:)", "taskGroups" : [ ], - "title" : "g", - "usr" : "s:6Euclid5ColorV1gSdvp" + "title" : "stlData(colorLookup:)", + "usr" : "s:6Euclid4MeshV7stlData11colorLookup10Foundation0D0VAA5ColorVSgs11AnyHashableVSgcSg_tF" }, { "availableLanguages" : [ @@ -334,7 +382,7 @@ }, { "kind" : "keyword", - "text" : "let" + "text" : "func" }, { "kind" : "text", @@ -342,95 +390,56 @@ }, { "kind" : "identifier", - "text" : "yellow" + "text" : "..." }, { "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" - } - ], - "kind" : "org.swift.docc.kind.typeProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/color\/yellow", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/yellow", - "taskGroups" : [ - - ], - "title" : "yellow", - "usr" : "s:6Euclid5ColorV6yellowACvpZ" - }, - { - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" + "text" : " " }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "keyword", - "text" : "let" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : " " + "text" : ") -> " }, { - "kind" : "identifier", - "text" : "gray" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s16PartialRangeFromV", + "text" : "PartialRangeFrom" }, { "kind" : "text", - "text" : ": " + "text" : "<" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "text" : "Self" + }, + { + "kind" : "text", + "text" : ">" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/gray", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/gray", + "path" : "\/documentation\/euclid\/linesegment\/'...(_:)-2uz97", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:)-2uz97", "taskGroups" : [ ], - "title" : "gray", - "usr" : "s:6Euclid5ColorV4grayACvpZ" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/encodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Encodable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/encode(to:)" - ], - "title" : "Instance Methods" - } - ], - "title" : "Encodable Implementations" + "title" : "...(_:)", + "usr" : "s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { "abstract" : [ { - "text" : "Returns a new mesh reprenting only the volume exclusively occupied by", + "text" : "Returns a new mesh representing the volume shared by both the mesh", "type" : "text" }, { @@ -438,7 +447,7 @@ "type" : "text" }, { - "text" : "one shape or the other, but not both.", + "text" : "parameter and the receiver. If these do not intersect, an empty mesh will be returned.", "type" : "text" } ], @@ -456,7 +465,7 @@ }, { "kind" : "identifier", - "text" : "symmetricDifference" + "text" : "intersection" }, { "kind" : "text", @@ -496,52 +505,18 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/symmetricdifference(_:iscancelled:)-swift.method", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/symmetricDifference(_:isCancelled:)-swift.method", - "taskGroups" : [ - - ], - "title" : "symmetricDifference(_:isCancelled:)", - "usr" : "s:6Euclid4MeshV19symmetricDifference_11isCancelledA2C_SbyXEtF" - }, - { - "abstract" : [ - { - "text" : "A closure that maps a SceneKit material to a Euclid material.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "typealias" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "SCNMaterialProvider" - } - ], - "kind" : "org.swift.docc.kind.typeAlias", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/scnmaterialprovider", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/SCNMaterialProvider", + "path" : "\/documentation\/euclid\/mesh\/intersection(_:iscancelled:)-swift.method", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersection(_:isCancelled:)-swift.method", "taskGroups" : [ ], - "title" : "Mesh.SCNMaterialProvider", - "usr" : "s:6Euclid4MeshV19SCNMaterialProvidera" + "title" : "intersection(_:isCancelled:)", + "usr" : "s:6Euclid4MeshV12intersection_11isCancelledA2C_SbyXEtF" }, { "abstract" : [ { - "text" : "Creates a new mesh that is the combination of the polygons from all the specified meshes.", + "text" : "Efficiently XORs multiple meshes.", "type" : "text" } ], @@ -567,7 +542,7 @@ }, { "kind" : "identifier", - "text" : "merge" + "text" : "symmetricDifference" }, { "kind" : "text", @@ -583,9 +558,26 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV5mergeyACxSlRzAC7ElementRtzlFZ1TL_xmfp", + "preciseIdentifier" : "s:6Euclid4MeshV19symmetricDifference_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ1TL_xmfp", "text" : "T" }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "isCancelled" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" + }, { "kind" : "text", "text" : ") -> " @@ -598,18 +590,18 @@ ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/merge(_:)-swift.type.method", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/merge(_:)-swift.type.method", + "path" : "\/documentation\/euclid\/mesh\/symmetricdifference(_:iscancelled:)-swift.type.method", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/symmetricDifference(_:isCancelled:)-swift.type.method", "taskGroups" : [ ], - "title" : "merge(_:)", - "usr" : "s:6Euclid4MeshV5mergeyACxSlRzAC7ElementRtzlFZ" + "title" : "symmetricDifference(_:isCancelled:)", + "usr" : "s:6Euclid4MeshV19symmetricDifference_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ" }, { "abstract" : [ { - "text" : "Creates a new mesh from an array of polygons.", + "text" : "Computes the point of intersection between a line segment and a plane.", "type" : "text" } ], @@ -619,36 +611,61 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" }, { "kind" : "text", - "text" : "([" + "text" : " " + }, + { + "kind" : "identifier", + "text" : "intersection" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "with" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" }, { "kind" : "text", - "text" : "])" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : "?" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/init(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:)", + "path" : "\/documentation\/euclid\/plane\/intersection(with:)-9o28g", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-9o28g", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid4MeshVyACSayAA7PolygonVGcfc" + "title" : "intersection(with:)", + "usr" : "s:6Euclid5PlaneV12intersection4withAA6VectorVSgAA11LineSegmentV_tF" }, { "abstract" : [ { - "text" : "The plane on which all vertices lie.", + "text" : "Returns the area of the polygon.", "type" : "text" } ], @@ -666,7 +683,7 @@ }, { "kind" : "identifier", - "text" : "plane" + "text" : "area" }, { "kind" : "text", @@ -674,24 +691,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/plane", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/plane", + "path" : "\/documentation\/euclid\/polygon\/area", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/area", "taskGroups" : [ ], - "title" : "plane", - "usr" : "s:6Euclid7PolygonV5planeAA5PlaneVvp" + "title" : "area", + "usr" : "s:6Euclid7PolygonV4areaSdvp" }, { "abstract" : [ { - "text" : "Deprecated.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -709,44 +726,44 @@ }, { "kind" : "identifier", - "text" : "smoothNormals" + "text" : "transform" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" + }, + { + "kind" : "text", + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/smoothnormals(_:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/smoothNormals(_:)", + "path" : "\/documentation\/euclid\/mesh\/transform(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/transform(by:)", "taskGroups" : [ ], - "title" : "smoothNormals(_:)", - "usr" : "s:6Euclid4MeshV13smoothNormalsyAcA5AngleVF" + "title" : "transform(by:)", + "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid4MeshV" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "The length of the line segment.", "type" : "text" } ], @@ -756,7 +773,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -764,44 +781,32 @@ }, { "kind" : "identifier", - "text" : "scale" + "text" : "length" }, { "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" - }, - { - "kind" : "text", - "text" : ": " + "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:Sd", "text" : "Double" - }, - { - "kind" : "text", - "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/scale(by:)-vnel", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scale(by:)-vnel", + "path" : "\/documentation\/euclid\/linesegment\/length", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/length", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid4PathV" + "title" : "length", + "usr" : "s:6Euclid11LineSegmentV6lengthSdvp" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "Returns a translated copy of the value.", "type" : "text" } ], @@ -819,7 +824,7 @@ }, { "kind" : "identifier", - "text" : "scale" + "text" : "translated" }, { "kind" : "text", @@ -835,28 +840,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/scale(by:)-8v4ag", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scale(by:)-8v4ag", + "path" : "\/documentation\/euclid\/path\/translated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/translated(by:)", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : "translated(by:)", + "usr" : "s:6Euclid4PathV10translated2byAcA6VectorV_tF" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -874,7 +884,7 @@ }, { "kind" : "identifier", - "text" : "scaled" + "text" : "transformed" }, { "kind" : "text", @@ -890,8 +900,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", @@ -899,24 +909,23 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" + "text" : "Self" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/scaled(by:)-2lm8c", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-2lm8c", + "path" : "\/documentation\/euclid\/transformable\/transformed(by:)-21ah6", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transformed(by:)-21ah6", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid11LineSegmentV6scaled2byAcA6VectorV_tF" + "title" : "transformed(by:)", + "usr" : "s:6Euclid13TransformablePAAE11transformed2byxAA9TransformV_tF" }, { "abstract" : [ { - "text" : "The Z component of the vector.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -926,7 +935,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -934,7 +943,15 @@ }, { "kind" : "identifier", - "text" : "z" + "text" : "scale" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", @@ -942,24 +959,46 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/z", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/z", + "path" : "\/documentation\/euclid\/transformable\/scale(by:)-8ec9r", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scale(by:)-8ec9r", "taskGroups" : [ ], - "title" : "z", - "usr" : "s:6Euclid6VectorV1zSdvp" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/decodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Decodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(from:)" + ], + "title" : "Initializers" + } + ], + "title" : "Decodable Implementations" }, { "abstract" : [ { - "text" : "Computes the trigonometric tangent of an angle.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -977,41 +1016,44 @@ }, { "kind" : "identifier", - "text" : "tan" + "text" : "scale" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:Sd", "text" : "Double" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.function", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/tan(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/tan(_:)", + "path" : "\/documentation\/euclid\/pathpoint\/scale(by:)-4egi6", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scale(by:)-4egi6", "taskGroups" : [ ], - "title" : "tan(_:)", - "usr" : "s:6Euclid3tanySdAA5AngleVF" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid9PathPointV" }, { "abstract" : [ { - "text" : "Creates a copy of the color updated with the specified alpha.", + "text" : "Deprecated.", "type" : "text" } ], @@ -1029,7 +1071,7 @@ }, { "kind" : "identifier", - "text" : "withAlpha" + "text" : "smoothNormals" }, { "kind" : "text", @@ -1037,8 +1079,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", @@ -1046,24 +1088,27 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/withalpha(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/withAlpha(_:)", + "path" : "\/documentation\/euclid\/mesh\/smoothnormals(_:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/smoothNormals(_:)", "taskGroups" : [ ], - "title" : "withAlpha(_:)", - "usr" : "s:6Euclid5ColorV9withAlphayACSdF" + "title" : "smoothNormals(_:)", + "usr" : "s:6Euclid4MeshV13smoothNormalsyAcA5AngleVF" }, { "abstract" : [ { - "text" : "Returns a translated copy of the value.", + "text" : "Creates a new line segment by decoding from the given decoder.", "type" : "text" } ], @@ -1073,15 +1118,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "translated" + "text" : "init" }, { "kind" : "text", @@ -1089,7 +1126,7 @@ }, { "kind" : "externalParam", - "text" : "by" + "text" : "from" }, { "kind" : "text", @@ -1097,33 +1134,50 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:s7DecoderP", + "text" : "Decoder" }, { "kind" : "text", - "text" : ") -> " + "text" : ") " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "kind" : "keyword", + "text" : "throws" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/translated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/translated(by:)", + "path" : "\/documentation\/euclid\/linesegment\/init(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(from:)", "taskGroups" : [ ], - "title" : "translated(by:)", - "usr" : "s:6Euclid4PathV10translated2byAcA6VectorV_tF" + "title" : "init(from:)", + "usr" : "s:6Euclid11LineSegmentV4fromACs7Decoder_p_tKcfc" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/quaternion\/decodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Decodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(from:)" + ], + "title" : "Initializers" + } + ], + "title" : "Decodable Implementations" }, { "abstract" : [ { - "text" : "A normalized direction vector pointing upwards relative to the current rotation.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -1133,7 +1187,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -1141,32 +1203,56 @@ }, { "kind" : "identifier", - "text" : "up" + "text" : "*=" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "keyword", + "text" : "inout" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/up", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/up", + "path" : "\/documentation\/euclid\/mesh\/*=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/*=(_:_:)", "taskGroups" : [ ], - "title" : "up", - "usr" : "s:6Euclid8RotationV2upAA6VectorVvp" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid4MeshV" }, { "abstract" : [ { - "text" : "A closure that maps an STL facet color to a Euclid material.", + "text" : "Creates a mesh from a SceneKit node, with optional material mapping.", "type" : "text" } ], @@ -1176,31 +1262,78 @@ "fragments" : [ { "kind" : "keyword", - "text" : "typealias" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "STLMaterialProvider" + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)SCNNode", + "text" : "SCNNode" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "ignoringTransforms" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "materialLookup" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV19SCNMaterialProvidera", + "text" : "SCNMaterialProvider" + }, + { + "kind" : "text", + "text" : "?)" } ], - "kind" : "org.swift.docc.kind.typeAlias", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/stlmaterialprovider", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/STLMaterialProvider", + "path" : "\/documentation\/euclid\/mesh\/init(_:ignoringtransforms:materiallookup:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:ignoringTransforms:materialLookup:)", "taskGroups" : [ ], - "title" : "Mesh.STLMaterialProvider", - "usr" : "s:6Euclid4MeshV19STLMaterialProvidera" + "title" : "init(_:ignoringTransforms:materialLookup:)", + "usr" : "s:6Euclid4MeshV_18ignoringTransforms14materialLookupACSo7SCNNodeC_Sbs11AnyHashableVSgSo11SCNMaterialCcSgtcfc" }, { "abstract" : [ { - "text" : "Returns a translated copy of the value.", + "text" : "Creates a mesh from a RealityKit ", + "type" : "text" + }, + { + "code" : "MeshDescriptor", + "type" : "codeVoice" + }, + { + "text" : " with optional material.", "type" : "text" } ], @@ -1210,51 +1343,73 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "translated" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:17RealityFoundation14MeshDescriptorV", + "text" : "MeshDescriptor" }, { "kind" : "text", - "text" : "(" + "text" : ", " }, { "kind" : "externalParam", - "text" : "by" + "text" : "materials" }, { "kind" : "text", - "text" : ": " + "text" : ": [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" }, { "kind" : "text", - "text" : ") -> " + "text" : "." }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", + "text" : "Material" + }, + { + "kind" : "text", + "text" : "?])" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/transformable\/translated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/translated(by:)", + "path" : "\/documentation\/euclid\/mesh\/init(_:materials:)-22brv", + "platforms" : [ + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "15.0", + "name" : "iOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "12.0", + "name" : "macOS", + "unavailable" : false + } + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materials:)-22brv", "taskGroups" : [ ], - "title" : "translated(by:)", - "usr" : "s:6Euclid13TransformableP10translated2byxAA6VectorV_tF" + "title" : "init(_:materials:)", + "usr" : "s:6Euclid4MeshV_9materialsAC17RealityFoundation0B10DescriptorV_Says11AnyHashableVSgGtcfc" }, { "availableLanguages" : [ @@ -1262,29 +1417,29 @@ ], "kind" : "org.swift.docc.kind.collectionGroup", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/transformable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Transformable-Implementations", + "path" : "\/documentation\/euclid\/pathpoint\/transformable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Transformable-Implementations", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*=(_:_:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/*(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/*=(_:_:)" ], "title" : "Operators" }, { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotate(by:)-11t07", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotate(by:)-577nk", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(by:)-55r4j", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(by:)-9i9s9", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-19ukh", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-9vwak", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transform(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transformed(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/translate(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/translated(by:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotate(by:)-4cg0v", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotate(by:)-r7j4", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scale(by:)-4egi6", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scale(by:)-7pxnt", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-4wtbg", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-7e3o7", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/transform(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/transformed(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/translate(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/translated(by:)" ], "title" : "Instance Methods" } @@ -1294,7 +1449,7 @@ { "abstract" : [ { - "text" : "Deprecated.", + "text" : "Creates a rounded rectangle path.", "type" : "text" } ], @@ -1302,6 +1457,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -1312,7 +1475,7 @@ }, { "kind" : "identifier", - "text" : "with" + "text" : "roundedRectangle" }, { "kind" : "text", @@ -1320,7 +1483,7 @@ }, { "kind" : "externalParam", - "text" : "color" + "text" : "width" }, { "kind" : "text", @@ -1328,62 +1491,50 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : "?) -> " + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "height" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/with(color:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/with(color:)", - "taskGroups" : [ - - ], - "title" : "with(color:)", - "usr" : "s:6Euclid9PathPointV4with5colorAcA5ColorVSg_tF" - }, - { - "abstract" : [ + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, { - "text" : "Returns a rotated copy of the value.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "text", + "text" : ", " + }, { - "kind" : "keyword", - "text" : "func" + "kind" : "externalParam", + "text" : "radius" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "rotated" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : "(" + "text" : ", " }, { "kind" : "externalParam", - "text" : "by" + "text" : "detail" }, { "kind" : "text", @@ -1391,33 +1542,50 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : ") -> " + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "color" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" + }, + { + "kind" : "text", + "text" : "?) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" + } + ], + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/rotated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotated(by:)", + "path" : "\/documentation\/euclid\/path\/roundedrectangle(width:height:radius:detail:color:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/roundedRectangle(width:height:radius:detail:color:)", "taskGroups" : [ ], - "title" : "rotated(by:)", - "usr" : "s:6Euclid9PathPointV7rotated2byAcA8RotationV_tF" + "title" : "roundedRectangle(width:height:radius:detail:color:)", + "usr" : "s:6Euclid4PathV16roundedRectangle5width6height6radius6detail5colorACSd_S2dSiAA5ColorVSgtFZ" }, { "abstract" : [ { - "text" : "Merges the polygons from two meshes.", + "text" : "Returns a translated copy of the value.", "type" : "text" } ], @@ -1435,16 +1603,24 @@ }, { "kind" : "identifier", - "text" : "merge" + "text" : "translated" }, { "kind" : "text", "text" : "(" }, + { + "kind" : "externalParam", + "text" : "by" + }, + { + "kind" : "text", + "text" : ": " + }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -1452,24 +1628,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/merge(_:)-swift.method", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/merge(_:)-swift.method", + "path" : "\/documentation\/euclid\/linesegment\/translated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/translated(by:)", "taskGroups" : [ ], - "title" : "merge(_:)", - "usr" : "s:6Euclid4MeshV5mergeyA2CF" + "title" : "translated(by:)", + "usr" : "s:6Euclid11LineSegmentV10translated2byAcA6VectorV_tF" }, { "abstract" : [ { - "text" : "Efficiently performs a stencil with multiple meshes.", + "text" : "Return a copy of the mesh with spherically-mapped texture coordinates.", "type" : "text" } ], @@ -1479,48 +1655,112 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "func" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "func" + "kind" : "identifier", + "text" : "sphereMapped" }, { "kind" : "text", - "text" : " " + "text" : "() -> " }, { - "kind" : "identifier", - "text" : "stencil" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/spheremapped()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/sphereMapped()", + "taskGroups" : [ + + ], + "title" : "sphereMapped()", + "usr" : "s:6Euclid4MeshV12sphereMappedACyF" + }, + { + "abstract" : [ + { + "text" : "A Boolean value that indicates whether the quaternion has a length of ", + "type" : "text" + }, + { + "code" : "1", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "var" }, { "kind" : "text", - "text" : "<" + "text" : " " }, { - "kind" : "genericParameter", - "text" : "T" + "kind" : "identifier", + "text" : "isNormalized" }, { "kind" : "text", - "text" : ">(" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV7stencil_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ1TL_xmfp", - "text" : "T" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/quaternion\/isnormalized", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/isNormalized", + "taskGroups" : [ + + ], + "title" : "isNormalized", + "usr" : "s:6Euclid10QuaternionV12isNormalizedSbvp" + }, + { + "abstract" : [ + { + "text" : "Creates a new transform by decoding from the given decoder.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { "kind" : "externalParam", - "text" : "isCancelled" + "text" : "from" }, { "kind" : "text", @@ -1528,33 +1768,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" + "preciseIdentifier" : "s:s7DecoderP", + "text" : "Decoder" }, { "kind" : "text", - "text" : ") -> " + "text" : ") " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "kind" : "keyword", + "text" : "throws" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/stencil(_:iscancelled:)-swift.type.method", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stencil(_:isCancelled:)-swift.type.method", + "path" : "\/documentation\/euclid\/transform\/init(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(from:)", "taskGroups" : [ ], - "title" : "stencil(_:isCancelled:)", - "usr" : "s:6Euclid4MeshV7stencil_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ" + "title" : "init(from:)", + "usr" : "s:6Euclid9TransformV4fromACs7Decoder_p_tKcfc" }, { "abstract" : [ { - "text" : "Efficiently computes the intersection of multiple meshes.", + "text" : "Creates a linear path from a start and end point.", "type" : "text" } ], @@ -1580,24 +1819,25 @@ }, { "kind" : "identifier", - "text" : "intersection" + "text" : "line" }, { "kind" : "text", - "text" : "<" + "text" : "(" }, { - "kind" : "genericParameter", - "text" : "T" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ">(" + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV12intersection_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ1TL_xmfp", - "text" : "T" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -1605,7 +1845,7 @@ }, { "kind" : "externalParam", - "text" : "isCancelled" + "text" : "color" }, { "kind" : "text", @@ -1613,33 +1853,69 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/intersection(_:iscancelled:)-swift.type.method", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersection(_:isCancelled:)-swift.type.method", + "path" : "\/documentation\/euclid\/path\/line(_:_:color:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/line(_:_:color:)", "taskGroups" : [ ], - "title" : "intersection(_:isCancelled:)", - "usr" : "s:6Euclid4MeshV12intersection_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ" + "title" : "line(_:_:color:)", + "usr" : "s:6Euclid4PathV4line__5colorAcA6VectorV_AgA5ColorVSgtFZ" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/path\/alignment\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/Equatable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/!=(_:_:)" + ], + "title" : "Operators" + } + ], + "title" : "Equatable Implementations" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/angle\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Equatable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/!=(_:_:)" + ], + "title" : "Operators" + } + ], + "title" : "Equatable Implementations" }, { "abstract" : [ { - "text" : "Rotate the value in place.", + "text" : "Returns a Boolean value that indicates whether two line segements intersect.", "type" : "text" } ], @@ -1657,44 +1933,88 @@ }, { "kind" : "identifier", - "text" : "rotate" + "text" : "intersects" }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" }, { "kind" : "text", - "text" : ": " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/linesegment\/intersects(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersects(_:)", + "taskGroups" : [ + + ], + "title" : "intersects(_:)", + "usr" : "s:6Euclid11LineSegmentV10intersectsySbACF" + }, + { + "abstract" : [ + { + "text" : "The polygons that make up the mesh.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "var" }, { "kind" : "text", - "text" : ")" + "text" : " " + }, + { + "kind" : "identifier", + "text" : "polygons" + }, + { + "kind" : "text", + "text" : ": [" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" + }, + { + "kind" : "text", + "text" : "]" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/rotate(by:)-3ed6z", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotate(by:)-3ed6z", + "path" : "\/documentation\/euclid\/mesh\/polygons", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/polygons", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "polygons", + "usr" : "s:6Euclid4MeshV8polygonsSayAA7PolygonVGvp" }, { "abstract" : [ { - "text" : "Returns a vector with all components inverted.", + "text" : "Returns the product of an angle and numeric multiplier.", "type" : "text" } ], @@ -1720,7 +2040,7 @@ }, { "kind" : "identifier", - "text" : "-" + "text" : "*" }, { "kind" : "text", @@ -1732,8 +2052,17 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -1741,24 +2070,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/-(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-(_:)", + "path" : "\/documentation\/euclid\/angle\/*(_:_:)-8l78z", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*(_:_:)-8l78z", "taskGroups" : [ ], - "title" : "-(_:)", - "usr" : "s:6Euclid6VectorV1sopyA2CFZ" + "title" : "*(_:_:)", + "usr" : "s:6Euclid5AngleV1moiyA2C_SdtFZ" }, { "abstract" : [ { - "text" : "Creates a copy of the vertex with the specified color.", + "text" : "Creates a bounds from a collection of ", + "type" : "text" + }, + { + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounded", + "isActive" : true, + "type" : "reference" + }, + { + "text" : " objects.", "type" : "text" } ], @@ -1768,52 +2106,41 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "<" }, { - "kind" : "identifier", - "text" : "withColor" + "kind" : "genericParameter", + "text" : "T" }, { "kind" : "text", - "text" : "(" + "text" : ">(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:6Euclid6BoundsVyACxcSlRzAA7Bounded7ElementRpzlufc1TL_xmfp", + "text" : "T" }, { "kind" : "text", - "text" : "?) -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/withcolor(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withColor(_:)", + "path" : "\/documentation\/euclid\/bounds\/init(_:)-1icmf", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-1icmf", "taskGroups" : [ ], - "title" : "withColor(_:)", - "usr" : "s:6Euclid6VertexV9withColoryAcA0D0VSgF" + "title" : "init(_:)", + "usr" : "s:6Euclid6BoundsVyACxcSlRzAA7Bounded7ElementRpzlufc" }, { - "abstract" : [ - { - "text" : "Returns a transformed copy of the value.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -1836,7 +2163,7 @@ }, { "kind" : "identifier", - "text" : "*" + "text" : "..<" }, { "kind" : "text", @@ -1856,27 +2183,39 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "text" : "Self" }, { "kind" : "text", "text" : ") -> " }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sn", + "text" : "Range" + }, + { + "kind" : "text", + "text" : "<" + }, { "kind" : "typeIdentifier", "text" : "Self" + }, + { + "kind" : "text", + "text" : ">" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/*(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/*(_:_:)", + "path" : "\/documentation\/euclid\/linesegment\/'.._(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/.._(_:_:)", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid7PolygonV" + "title" : "..<(_:_:)", + "usr" : "s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { "availableLanguages" : [ @@ -1884,12 +2223,12 @@ ], "kind" : "org.swift.docc.kind.collectionGroup", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/encodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Encodable-Implementations", + "path" : "\/documentation\/euclid\/pathpoint\/encodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Encodable-Implementations", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/encode(to:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/encode(to:)" ], "title" : "Instance Methods" } @@ -1899,7 +2238,7 @@ { "abstract" : [ { - "text" : "Returns a rotated copy of the value.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -1917,7 +2256,7 @@ }, { "kind" : "identifier", - "text" : "rotated" + "text" : "rotate" }, { "kind" : "text", @@ -1938,43 +2277,26 @@ }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/rotated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotated(by:)", + "path" : "\/documentation\/euclid\/transform\/rotate(by:)-11t07", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotate(by:)-11t07", "taskGroups" : [ ], - "title" : "rotated(by:)", - "usr" : "s:6Euclid7PolygonV7rotated2byAcA8RotationV_tF" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid9TransformV" }, { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/encodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Encodable-Implementations", - "taskGroups" : [ + "abstract" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/encode(to:)" - ], - "title" : "Instance Methods" + "text" : "Returns the sum of two angles.", + "type" : "text" } ], - "title" : "Encodable Implementations" - }, - { "availableLanguages" : [ "swift" ], @@ -1997,7 +2319,7 @@ }, { "kind" : "identifier", - "text" : "!=" + "text" : "+" }, { "kind" : "text", @@ -2009,7 +2331,8 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", @@ -2017,7 +2340,8 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", @@ -2025,24 +2349,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/!=(_:_:)", + "path" : "\/documentation\/euclid\/angle\/+(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+(_:_:)", "taskGroups" : [ ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "+(_:_:)", + "usr" : "s:6Euclid5AngleV1poiyA2C_ACtFZ" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Angle representing a quarter rotation.", "type" : "text" } ], @@ -2052,23 +2376,23 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "transform" + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "identifier", + "text" : "halfPi" }, { "kind" : "text", @@ -2076,28 +2400,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/transform(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transform(by:)", + "path" : "\/documentation\/euclid\/angle\/halfpi", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/halfPi", "taskGroups" : [ ], - "title" : "transform(by:)", - "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid9TransformV" + "title" : "halfPi", + "usr" : "s:6Euclid5AngleV6halfPiACvpZ" }, { "abstract" : [ { - "text" : "Returns a Boolean value that indicates whether the specified point lies on the line.", + "text" : "Translate the value in place.", "type" : "text" } ], @@ -2115,51 +2435,56 @@ }, { "kind" : "identifier", - "text" : "containsPoint" + "text" : "translate" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/line\/containspoint(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/containsPoint(_:)", + "path" : "\/documentation\/euclid\/polygon\/translate(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/translate(by:)", "taskGroups" : [ ], - "title" : "containsPoint(_:)", - "usr" : "s:6Euclid4LineV13containsPointySbAA6VectorVF" + "title" : "translate(by:)", + "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid7PolygonV" }, { - "abstract" : [ - { - "text" : "The bounding box containing the polygon.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -2167,32 +2492,52 @@ }, { "kind" : "identifier", - "text" : "bounds" + "text" : "!=" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/bounds", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/bounds", + "path" : "\/documentation\/euclid\/mesh\/faces\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/!=(_:_:)", "taskGroups" : [ ], - "title" : "bounds", - "usr" : "s:6Euclid7PolygonV6boundsAA6BoundsVvp" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid4MeshV5FacesO" }, { "abstract" : [ { - "text" : "The angle of rotation around the Z-axis.", + "text" : "Cropped and flattened version of path suitable for lathing around the Y axis.", "type" : "text" } ], @@ -2210,7 +2555,7 @@ }, { "kind" : "identifier", - "text" : "roll" + "text" : "latheProfile" }, { "kind" : "text", @@ -2218,27 +2563,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/roll", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/roll", + "path" : "\/documentation\/euclid\/path\/latheprofile", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/latheProfile", "taskGroups" : [ ], - "title" : "roll", - "usr" : "s:6Euclid10QuaternionV4rollAA5AngleVvp" + "title" : "latheProfile", + "usr" : "s:6Euclid4PathV12latheProfileACvp" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Supported ", + "type" : "text" + }, + { + "code" : "NSSecureCodable", + "type" : "codeVoice" + }, + { + "text" : " Material base classes.", "type" : "text" } ], @@ -2248,91 +2598,62 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "transform" + "kind" : "keyword", + "text" : "var" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "identifier", + "text" : "codableClasses" }, { "kind" : "text", - "text" : ": " + "text" : ": [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:s8AnyClassa", + "text" : "AnyClass" }, { "kind" : "text", - "text" : ")" + "text" : "]" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/transform(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/transform(by:)", + "path" : "\/documentation\/euclid\/polygon\/codableclasses", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/codableClasses", "taskGroups" : [ ], - "title" : "transform(by:)", - "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid6VertexV" + "title" : "codableClasses", + "usr" : "s:6Euclid7PolygonV14codableClassesSayyXlXpGvpZ" }, { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/transformable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Transformable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-98mbu", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*=(_:_:)-3ur4e" - ], - "title" : "Operators" - }, + "abstract" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotate(by:)-3ed6z", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotate(by:)-hj8h", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scale(by:)-55ayx", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scale(by:)-8g7t0", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-350oy", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-356zr", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/transform(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/transformed(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/translate(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/translated(by:)" - ], - "title" : "Instance Methods" + "text" : "Returns a scaled copy of the value.", + "type" : "text" } ], - "title" : "Transformable Implementations" - }, - { "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -2340,62 +2661,49 @@ }, { "kind" : "identifier", - "text" : "localizedDescription" + "text" : "scaled" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:SS", - "text" : "String" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/ioerror\/localizeddescription", - "platforms" : [ + "kind" : "externalParam", + "text" : "by" + }, { - "beta" : false, - "deprecated" : false, - "introducedAt" : "8.0", - "name" : "iOS", - "unavailable" : false + "kind" : "text", + "text" : ": " }, { - "beta" : false, - "deprecated" : false, - "introducedAt" : "10.10", - "name" : "macOS", - "unavailable" : false + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { - "beta" : false, - "deprecated" : false, - "introducedAt" : "9.0", - "name" : "tvOS", - "unavailable" : false + "kind" : "text", + "text" : ") -> " }, { - "beta" : false, - "deprecated" : false, - "introducedAt" : "2.0", - "name" : "watchOS", - "unavailable" : false + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/localizedDescription", + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/scaled(by:)-90bab", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-90bab", "taskGroups" : [ ], - "title" : "localizedDescription", - "usr" : "s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:6Euclid4MeshV7IOErrorV" + "title" : "scaled(by:)", + "usr" : "s:6Euclid4MeshV6scaled2byAcA6VectorV_tF" }, { "abstract" : [ { - "text" : "The Y component of the vector.", + "text" : "Creates an Angle from a degrees value.", "type" : "text" } ], @@ -2405,15 +2713,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "y" + "kind" : "externalParam", + "text" : "degrees" }, { "kind" : "text", @@ -2423,30 +2731,26 @@ "kind" : "typeIdentifier", "preciseIdentifier" : "s:Sd", "text" : "Double" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/y", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/y", + "path" : "\/documentation\/euclid\/angle\/init(degrees:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(degrees:)", "taskGroups" : [ ], - "title" : "y", - "usr" : "s:6Euclid6VectorV1ySdvp" + "title" : "init(degrees:)", + "usr" : "s:6Euclid5AngleV7degreesACSd_tcfc" }, { "abstract" : [ { - "text" : "Creates a ", - "type" : "text" - }, - { - "code" : "Rotation", - "type" : "codeVoice" - }, - { - "text" : " from a simd quaternion.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -2456,36 +2760,52 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "transform" }, { "kind" : "text", "text" : "(" }, + { + "kind" : "externalParam", + "text" : "by" + }, + { + "kind" : "text", + "text" : ": " + }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@SA@simd_quatf", - "text" : "simd_quatf" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/init(_:)-8izj", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-8izj", + "path" : "\/documentation\/euclid\/vector\/transform(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/transform(by:)", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid8RotationVyACSo10simd_quatfacfc" + "title" : "transform(by:)", + "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid6VectorV" }, { "abstract" : [ { - "text" : "Creates a new mesh by decoding from the given decoder.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -2495,48 +2815,72 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "*=" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "from" + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7DecoderP", - "text" : "Decoder" + "text" : "Self" }, { "kind" : "text", - "text" : ") " + "text" : ", " }, { - "kind" : "keyword", - "text" : "throws" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/init(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(from:)", + "path" : "\/documentation\/euclid\/pathpoint\/*=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/*=(_:_:)", "taskGroups" : [ ], - "title" : "init(from:)", - "usr" : "s:6Euclid4MeshV4fromACs7Decoder_p_tKcfc" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid9PathPointV" }, { "abstract" : [ { - "text" : "Creates an axis-aligned cuboidal mesh.", + "text" : "Encodes this polygon into the given encoder.", "type" : "text" } ], @@ -2544,14 +2888,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -2562,7 +2898,7 @@ }, { "kind" : "identifier", - "text" : "cube" + "text" : "encode" }, { "kind" : "text", @@ -2570,7 +2906,7 @@ }, { "kind" : "externalParam", - "text" : "center" + "text" : "to" }, { "kind" : "text", @@ -2578,50 +2914,74 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:s7EncoderP", + "text" : "Encoder" }, { "kind" : "text", - "text" : ", " + "text" : ") " }, { - "kind" : "externalParam", - "text" : "size" + "kind" : "keyword", + "text" : "throws" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/polygon\/encode(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/encode(to:)", + "taskGroups" : [ + + ], + "title" : "encode(to:)", + "usr" : "s:6Euclid7PolygonV6encode2toys7Encoder_p_tKF" + }, + { + "abstract" : [ + { + "text" : "Computes the convex hull of a set of vertices.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "faces" + "kind" : "identifier", + "text" : "convexHull" }, { "kind" : "text", - "text" : ": " + "text" : "<" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", - "text" : "Faces" + "kind" : "genericParameter", + "text" : "T" }, { "kind" : "text", - "text" : ", " + "text" : ">(" }, { "kind" : "externalParam", - "text" : "wrapMode" + "text" : "of" }, { "kind" : "text", @@ -2629,8 +2989,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", - "text" : "WrapMode" + "preciseIdentifier" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA6VertexV7ElementRtzlFZ1TL_xmfp", + "text" : "T" }, { "kind" : "text", @@ -2661,18 +3021,18 @@ ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/cube(center:size:faces:wrapmode:material:)-8t5q8", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cube(center:size:faces:wrapMode:material:)-8t5q8", + "path" : "\/documentation\/euclid\/mesh\/convexhull(of:material:)-75on2", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-75on2", "taskGroups" : [ ], - "title" : "cube(center:size:faces:wrapMode:material:)", - "usr" : "s:6Euclid4MeshV4cube6center4size5faces8wrapMode8materialAcA6VectorV_AkC5FacesOAC04WrapH0Os11AnyHashableVSgtFZ" + "title" : "convexHull(of:material:)", + "usr" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA6VertexV7ElementRtzlFZ" }, { "abstract" : [ { - "text" : "The minimum coordinate of the bounds.", + "text" : "Flips the face direction and vertex normals of all polygons within the mesh.", "type" : "text" } ], @@ -2682,7 +3042,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "let" + "text" : "func" }, { "kind" : "text", @@ -2690,32 +3050,32 @@ }, { "kind" : "identifier", - "text" : "min" + "text" : "inverted" }, { "kind" : "text", - "text" : ": " + "text" : "() -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/min", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/min", + "path" : "\/documentation\/euclid\/mesh\/inverted()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/inverted()", "taskGroups" : [ ], - "title" : "min", - "usr" : "s:6Euclid6BoundsV3minAA6VectorVvp" + "title" : "inverted()", + "usr" : "s:6Euclid4MeshV8invertedACyF" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Returns a rotated copy of the value.", "type" : "text" } ], @@ -2723,14 +3083,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -2741,56 +3093,51 @@ }, { "kind" : "identifier", - "text" : "*=" - }, - { - "kind" : "text", - "text" : " " + "text" : "rotated" }, { "kind" : "text", "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" - }, - { - "kind" : "text", - "text" : ")" + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/*=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/*=(_:_:)", + "path" : "\/documentation\/euclid\/transformable\/rotated(by:)-5mcqw", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotated(by:)-5mcqw", "taskGroups" : [ ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : "rotated(by:)", + "usr" : "s:6Euclid13TransformablePAAE7rotated2byxAA10QuaternionV_tF" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the value.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -2800,137 +3147,52 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "func" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "func" + "kind" : "identifier", + "text" : "scale" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "*" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - } - ], - "kind" : "org.swift.docc.kind.operator", - "language" : "swift", - "path" : "\/documentation\/euclid\/path\/*(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/*(_:_:)", - "taskGroups" : [ - - ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid4PathV" - }, - { - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "..." - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s16PartialRangeFromV", - "text" : "PartialRangeFrom" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : "<" + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ">" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/'...(_:)-2uz97", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:)-2uz97", + "path" : "\/documentation\/euclid\/vector\/scale(by:)-55ayx", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scale(by:)-55ayx", "taskGroups" : [ ], - "title" : "...(_:)", - "usr" : "s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid6VectorV" }, { "abstract" : [ { - "text" : "Rotate the value in place.", + "text" : "Encodes this line segment into the given encoder.", "type" : "text" } ], @@ -2948,7 +3210,7 @@ }, { "kind" : "identifier", - "text" : "rotate" + "text" : "encode" }, { "kind" : "text", @@ -2956,7 +3218,7 @@ }, { "kind" : "externalParam", - "text" : "by" + "text" : "to" }, { "kind" : "text", @@ -2964,52 +3226,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:s7EncoderP", + "text" : "Encoder" }, { "kind" : "text", - "text" : ")" + "text" : ") " + }, + { + "kind" : "keyword", + "text" : "throws" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/rotate(by:)-2ix6y", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotate(by:)-2ix6y", + "path" : "\/documentation\/euclid\/linesegment\/encode(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/encode(to:)", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid5PlaneV" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/ioerror\/customnserror-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/CustomNSError-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorCode" - ], - "title" : "Instance Properties" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorDomain" - ], - "title" : "Type Properties" - } - ], - "title" : "CustomNSError Implementations" + "title" : "encode(to:)", + "usr" : "s:6Euclid11LineSegmentV6encode2toys7Encoder_p_tKF" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the value.", + "text" : "Creates a curved path point at the specified X, Y and Z coordinates.", "type" : "text" } ], @@ -3035,11 +3277,7 @@ }, { "kind" : "identifier", - "text" : "*" - }, - { - "kind" : "text", - "text" : " " + "text" : "curve" }, { "kind" : "text", @@ -3047,7 +3285,8 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -3055,58 +3294,25 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { "kind" : "typeIdentifier", - "text" : "Self" - } - ], - "kind" : "org.swift.docc.kind.operator", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/*(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/*(_:_:)", - "taskGroups" : [ - - ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid4MeshV" - }, - { - "abstract" : [ - { - "text" : "An unordered set of polygon edges.", - "type" : "text" - }, - { - "text" : " ", - "type" : "text" - }, - { - "text" : "The direction of each edge is normalized relative to the origin to simplify edge-equality comparisons.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "var" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "identifier", - "text" : "undirectedEdges" + "kind" : "externalParam", + "text" : "texcoord" }, { "kind" : "text", @@ -3114,82 +3320,50 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sh", - "text" : "Set" - }, - { - "kind" : "text", - "text" : "<" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" - }, - { - "kind" : "text", - "text" : ">" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/undirectededges", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/undirectedEdges", - "taskGroups" : [ - - ], - "title" : "undirectedEdges", - "usr" : "s:6Euclid7PolygonV15undirectedEdgesShyAA11LineSegmentVGvp" - }, - { - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : " " + "text" : "?, " }, { - "kind" : "keyword", - "text" : "let" + "kind" : "externalParam", + "text" : "color" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "green" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ": " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/green", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/green", + "path" : "\/documentation\/euclid\/pathpoint\/curve(_:_:_:texcoord:color:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curve(_:_:_:texcoord:color:)", "taskGroups" : [ ], - "title" : "green", - "usr" : "s:6Euclid5ColorV5greenACvpZ" + "title" : "curve(_:_:_:texcoord:color:)", + "usr" : "s:6Euclid9PathPointV5curve___8texcoord5colorACSd_S2dAA6VectorVSgAA5ColorVSgtFZ" }, { "abstract" : [ { - "text" : "Performs a spherical linear interpolation between two rotations.", + "text" : "Computes the trigonometric tangent of an angle.", "type" : "text" } ], @@ -3207,7 +3381,7 @@ }, { "kind" : "identifier", - "text" : "slerp" + "text" : "tan" }, { "kind" : "text", @@ -3215,42 +3389,51 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:Sd", "text" : "Double" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.function", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/slerp(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/slerp(_:_:)", + "path" : "\/documentation\/euclid\/tan(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/tan(_:)", "taskGroups" : [ ], - "title" : "slerp(_:_:)", - "usr" : "s:6Euclid8RotationV5slerpyA2C_SdtF" + "title" : "tan(_:)", + "usr" : "s:6Euclid3tanySdAA5AngleVF" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/wrapmode\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/Equatable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/!=(_:_:)" + ], + "title" : "Operators" + } + ], + "title" : "Equatable Implementations" }, { "abstract" : [ { - "text" : "Creates a new color by decoding from the given decoder.", + "text" : "Computes the point of intersection between a line and a plane.", "type" : "text" } ], @@ -3260,7 +3443,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "intersection" }, { "kind" : "text", @@ -3268,7 +3459,7 @@ }, { "kind" : "externalParam", - "text" : "from" + "text" : "with" }, { "kind" : "text", @@ -3276,32 +3467,37 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7DecoderP", - "text" : "Decoder" + "preciseIdentifier" : "s:6Euclid4LineV", + "text" : "Line" }, { "kind" : "text", - "text" : ") " + "text" : ") -> " }, { - "kind" : "keyword", - "text" : "throws" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : "?" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/init(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(from:)", + "path" : "\/documentation\/euclid\/plane\/intersection(with:)-79olr", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-79olr", "taskGroups" : [ ], - "title" : "init(from:)", - "usr" : "s:6Euclid5ColorV4fromACs7Decoder_p_tKcfc" + "title" : "intersection(with:)", + "usr" : "s:6Euclid5PlaneV12intersection4withAA6VectorVSgAA4LineV_tF" }, { "abstract" : [ { - "text" : "Returns the point where the specified line intersects this one.", + "text" : "An array of vertices suitable for constructing a set of edge polygons for the path.", "type" : "text" } ], @@ -3319,7 +3515,7 @@ }, { "kind" : "identifier", - "text" : "intersection" + "text" : "edgeVertices" }, { "kind" : "text", @@ -3327,7 +3523,7 @@ }, { "kind" : "externalParam", - "text" : "with" + "text" : "for" }, { "kind" : "text", @@ -3335,32 +3531,41 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4LineV", - "text" : "Line" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" }, { "kind" : "text", - "text" : ") -> " + "text" : "." }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", + "text" : "WrapMode" }, { "kind" : "text", - "text" : "?" + "text" : ") -> [" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" + }, + { + "kind" : "text", + "text" : "]" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/line\/intersection(with:)-2nysu", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersection(with:)-2nysu", + "path" : "\/documentation\/euclid\/path\/edgevertices(for:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/edgeVertices(for:)", "taskGroups" : [ ], - "title" : "intersection(with:)", - "usr" : "s:6Euclid4LineV12intersection4withAA6VectorVSgAC_tF" + "title" : "edgeVertices(for:)", + "usr" : "s:6Euclid4PathV12edgeVertices3forSayAA6VertexVGAA4MeshV8WrapModeO_tF" }, { "abstract" : [ @@ -3425,15 +3630,7 @@ { "abstract" : [ { - "text" : "The color for the vertex.", - "type" : "text" - }, - { - "text" : " ", - "type" : "text" - }, - { - "text" : "This will be multiplied by the material color, so set it to white if you do not require per-vertex colors.", + "text" : "Creates a rotation from Euler angles applied in yaw\/pitch\/roll order.", "type" : "text" } ], @@ -3443,15 +3640,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "color" + "kind" : "externalParam", + "text" : "yaw" }, { "kind" : "text", @@ -3459,71 +3656,62 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/color", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/color", - "taskGroups" : [ - - ], - "title" : "color", - "usr" : "s:6Euclid6VertexV5colorAA5ColorVvp" - }, - { - "abstract" : [ + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" + }, { - "text" : "Creates a size\/scale vector from an array of two coordinates.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "text", + "text" : ", " + }, { - "kind" : "keyword", - "text" : "init" + "kind" : "externalParam", + "text" : "pitch" }, { "kind" : "text", - "text" : "(" + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" + }, + { + "kind" : "text", + "text" : ", " }, { "kind" : "externalParam", - "text" : "size" + "text" : "roll" }, { "kind" : "text", - "text" : ": [" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : "])" + "text" : ")" } ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/init(size:)-8b34m", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(size:)-8b34m", + "path" : "\/documentation\/euclid\/rotation\/init(yaw:pitch:roll:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(yaw:pitch:roll:)", "taskGroups" : [ ], - "title" : "init(size:)", - "usr" : "s:6Euclid6VectorV4sizeACSaySdG_tcfc" + "title" : "init(yaw:pitch:roll:)", + "usr" : "s:6Euclid8RotationV3yaw5pitch4rollAcA5AngleV_A2Htcfc" }, { "abstract" : [ { - "text" : "An empty mesh.", + "text" : "The perpendicular distance from the world origin to the plane.", "type" : "text" } ], @@ -3531,14 +3719,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "let" @@ -3549,7 +3729,7 @@ }, { "kind" : "identifier", - "text" : "empty" + "text" : "w" }, { "kind" : "text", @@ -3557,24 +3737,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/empty", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/empty", + "path" : "\/documentation\/euclid\/plane\/w", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/w", "taskGroups" : [ ], - "title" : "empty", - "usr" : "s:6Euclid4MeshV5emptyACvpZ" + "title" : "w", + "usr" : "s:6Euclid5PlaneV1wSdvp" }, { "abstract" : [ { - "text" : "Creates a rotation from an axis and angle.", + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -3584,61 +3764,86 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" }, { "kind" : "text", - "text" : "?(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "axis" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "identifier", + "text" : "*" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "angle" + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/init(axis:angle:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(axis:angle:)", + "path" : "\/documentation\/euclid\/polygon\/*(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/*(_:_:)", "taskGroups" : [ ], - "title" : "init(axis:angle:)", - "usr" : "s:6Euclid8RotationV4axis5angleACSgAA6VectorV_AA5AngleVtcfc" + "title" : "*(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid7PolygonV" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/color\/encodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/Encodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/encode(to:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Encodable Implementations" }, { "abstract" : [ { - "text" : "Creates a linear path from a line segment.", + "text" : "Returns the inverse rotation.", "type" : "text" } ], @@ -3664,58 +3869,63 @@ }, { "kind" : "identifier", - "text" : "line" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" + "text" : "-" }, { "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "color" + "text" : " " }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : "?) -> " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/line(_:color:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/line(_:color:)", + "path" : "\/documentation\/euclid\/rotation\/-(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/-(_:)", "taskGroups" : [ ], - "title" : "line(_:color:)", - "usr" : "s:6Euclid4PathV4line_5colorAcA11LineSegmentV_AA5ColorVSgtFZ" + "title" : "-(_:)", + "usr" : "s:6Euclid8RotationV1sopyA2CFZ" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/linesegment\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Equatable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/!=(_:_:)" + ], + "title" : "Operators" + } + ], + "title" : "Equatable Implementations" }, { "abstract" : [ { - "text" : "Returns an array containing the red, green, blue, and alpha components of the color.", + "text" : "The angle of rotation.", "type" : "text" } ], @@ -3733,36 +3943,35 @@ }, { "kind" : "identifier", - "text" : "components" + "text" : "angle" }, { "kind" : "text", - "text" : ": [" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : "]" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/components", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/components", + "path" : "\/documentation\/euclid\/quaternion\/angle", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/angle", "taskGroups" : [ ], - "title" : "components", - "usr" : "s:6Euclid5ColorV10componentsSaySdGvp" + "title" : "angle", + "usr" : "s:6Euclid10QuaternionV5angleAA5AngleVvp" }, { "abstract" : [ { - "text" : "Creates a closed elliptical path.", + "text" : "Returns a Boolean value that indicates whether a point lies inside the polygon, on the same plane.", "type" : "text" } ], @@ -3770,14 +3979,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -3788,100 +3989,41 @@ }, { "kind" : "identifier", - "text" : "ellipse" + "text" : "containsPoint" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "externalParam", - "text" : "width" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "height" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "segments" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "color" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "?) -> " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/ellipse(width:height:segments:color:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/ellipse(width:height:segments:color:)", + "path" : "\/documentation\/euclid\/polygon\/containspoint(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/containsPoint(_:)", "taskGroups" : [ ], - "title" : "ellipse(width:height:segments:color:)", - "usr" : "s:6Euclid4PathV7ellipse5width6height8segments5colorACSd_SdSiAA5ColorVSgtFZ" + "title" : "containsPoint(_:)", + "usr" : "s:6Euclid7PolygonV13containsPointySbAA6VectorVF" }, { "abstract" : [ { - "text" : "The total length of the path.", + "text" : "Returns the distance between the vector (representing a position in space) from the specified line.", "type" : "text" } ], @@ -3891,7 +4033,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -3899,32 +4041,49 @@ }, { "kind" : "identifier", - "text" : "length" + "text" : "distance" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "from" }, { "kind" : "text", "text" : ": " }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4LineV", + "text" : "Line" + }, + { + "kind" : "text", + "text" : ") -> " + }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:Sd", "text" : "Double" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/length", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/length", + "path" : "\/documentation\/euclid\/vector\/distance(from:)-3eglz", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/distance(from:)-3eglz", "taskGroups" : [ ], - "title" : "length", - "usr" : "s:6Euclid4PathV6lengthSdvp" + "title" : "distance(from:)", + "usr" : "s:6Euclid6VectorV8distance4fromSdAA4LineV_tF" }, { "abstract" : [ { - "text" : "A path made up of a sequence of straight line segments between points.", + "text" : "Returns the nearest point on the specified line to the vector (representing a position in space).", "type" : "text" } ], @@ -3934,7 +4093,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "struct" + "text" : "func" }, { "kind" : "text", @@ -3942,125 +4101,67 @@ }, { "kind" : "identifier", - "text" : "Path" - } - ], - "kind" : "org.swift.docc.kind.structure", - "language" : "swift", - "path" : "\/documentation\/euclid\/path", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/empty" - ], - "title" : "Default Paths" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-3c0eo", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-4jhkw", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(subpaths:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:detail:color:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/curve(_:detail:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/line(_:_:color:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/line(_:color:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/arc(angle:radius:segments:color:)" - ], - "title" : "Creating Paths" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/circle(radius:segments:color:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/ellipse(width:height:segments:color:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rectangle(width:height:color:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/roundedRectangle(width:height:radius:detail:color:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/square(size:color:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/polygon(radius:sides:color:)" - ], - "title" : "Creating Shape Paths" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/text(_:font:width:detail:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/text(_:width:detail:)" - ], - "title" : "Creating Text Paths" + "text" : "project" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/points", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/plane", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/bounds", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/length", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/isClosed", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/isPlanar" - ], - "title" : "Path Properties" + "kind" : "text", + "text" : "(" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-19jpq", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-84xdd", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/translated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/transformed(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/withColor(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/closed()" - ], - "title" : "Transforming Paths" + "kind" : "externalParam", + "text" : "onto" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(cgPath:detail:color:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(polygon:)" - ], - "title" : "Initializers" + "kind" : "text", + "text" : ": " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/edgeVertices", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/faceNormal", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/faceVertices", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/latheProfile", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/subpaths" - ], - "title" : "Instance Properties" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4LineV", + "text" : "Line" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/edgeVertices(for:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/extrusionContours(along:twist:align:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/facePolygons(material:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/mapColors(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/with(color:)" - ], - "title" : "Instance Methods" + "kind" : "text", + "text" : ") -> " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment" - ], - "title" : "Enumerations" - }, + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/project(onto:)-rksk", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/project(onto:)-rksk", + "taskGroups" : [ + + ], + "title" : "project(onto:)", + "usr" : "s:6Euclid6VectorV7project4ontoAcA4LineV_tF" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/angle\/decodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Decodable-Implementations", + "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Bounded-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Decodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Encodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Equatable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Transformable-Implementations" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(from:)" ], - "title" : "Default Implementations" + "title" : "Initializers" } ], - "title" : "Path", - "usr" : "s:6Euclid4PathV" + "title" : "Decodable Implementations" }, { "abstract" : [ { - "text" : "Creates an array of glyph contours from an attributed string.", + "text" : "Creates a closed square path.", "type" : "text" } ], @@ -4086,24 +4187,15 @@ }, { "kind" : "identifier", - "text" : "text" + "text" : "square" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "c:objc(cs)NSAttributedString", - "text" : "NSAttributedString" - }, - { - "kind" : "text", - "text" : ", " - }, { "kind" : "externalParam", - "text" : "width" + "text" : "size" }, { "kind" : "text", @@ -4116,11 +4208,11 @@ }, { "kind" : "text", - "text" : "?, " + "text" : ", " }, { "kind" : "externalParam", - "text" : "detail" + "text" : "color" }, { "kind" : "text", @@ -4128,37 +4220,51 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ") -> [" + "text" : "?) -> " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:6Euclid4PathV", "text" : "Path" - }, - { - "kind" : "text", - "text" : "]" } ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/text(_:width:detail:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/text(_:width:detail:)", + "path" : "\/documentation\/euclid\/path\/square(size:color:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/square(size:color:)", "taskGroups" : [ ], - "title" : "text(_:width:detail:)", - "usr" : "s:6Euclid4PathV4text_5width6detailSayACGSo18NSAttributedStringC_SdSgSitFZ" + "title" : "square(size:color:)", + "usr" : "s:6Euclid4PathV6square4size5colorACSd_AA5ColorVSgtFZ" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/rotation\/hashable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Hashable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/hash(into:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Hashable Implementations" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "Creates a copy of the vertex with the specified color.", "type" : "text" } ], @@ -4176,49 +4282,41 @@ }, { "kind" : "identifier", - "text" : "scaled" + "text" : "withColor" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "externalParam", - "text" : "by" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/scaled(by:)-4wtbg", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-4wtbg", + "path" : "\/documentation\/euclid\/vertex\/withcolor(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withColor(_:)", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid9PathPointV6scaled2byAcA6VectorV_tF" + "title" : "withColor(_:)", + "usr" : "s:6Euclid6VertexV9withColoryAcA0D0VSgF" }, { "abstract" : [ { - "text" : "A distance or position in 3D space.", + "text" : "Encodes this path point into the given encoder.", "type" : "text" } ], @@ -4228,7 +4326,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "struct" + "text" : "func" }, { "kind" : "text", @@ -4236,138 +4334,48 @@ }, { "kind" : "identifier", - "text" : "Vector" - } - ], - "kind" : "org.swift.docc.kind.structure", - "language" : "swift", - "path" : "\/documentation\/euclid\/vector", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector", - "taskGroups" : [ + "text" : "encode" + }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-228p6", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-4eop9", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-5n3j", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-63ct7", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-6nlm", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(size:)-8b34m", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(size:)-nkyk" - ], - "title" : "Creating Vectors" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/zero", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/one", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitX", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitY", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitZ" - ], - "title" : "Default Vectors" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/x", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/y", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/z", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/length", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/lengthSquared", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isZero", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isOne" - ], - "title" : "Vector Properties" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/dot(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/cross(_:)" - ], - "title" : "Computing Vectors" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/lerp(_:_:)" - ], - "title" : "Interpolating Vectors" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/normalized()", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-350oy", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-356zr", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/translated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/transformed(by:)" - ], - "title" : "Transforming Vectors" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/angle(with:)-29paf", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/angle(with:)-9sfg1", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/distance(from:)-3eglz", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/distance(from:)-5p7ko", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/project(onto:)-817o2", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/project(onto:)-rksk" - ], - "title" : "Comparing Vectors" + "kind" : "text", + "text" : "(" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+=(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-=(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-48gl1", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-5mcy5", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*=(_:_:)-3ur4e" - ], - "title" : "Operators" + "kind" : "externalParam", + "text" : "to" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*=(_:_:)-9l46a", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/\/(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/\/=(_:_:)" - ], - "title" : "Operators" + "kind" : "text", + "text" : ": " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-5s4mt", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-7r7et" - ], - "title" : "Initializers" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s7EncoderP", + "text" : "Encoder" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/components", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isNormalized" - ], - "title" : "Instance Properties" + "kind" : "text", + "text" : ") " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/AdditiveArithmetic-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Comparable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Decodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Encodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Equatable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Transformable-Implementations" - ], - "title" : "Default Implementations" + "kind" : "keyword", + "text" : "throws" } ], - "title" : "Vector", - "usr" : "s:6Euclid6VectorV" + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/pathpoint\/encode(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/encode(to:)", + "taskGroups" : [ + + ], + "title" : "encode(to:)", + "usr" : "s:6Euclid9PathPointV6encode2toys7Encoder_p_tKF" }, { "abstract" : [ { - "text" : "Creates a closed path from a polygon.", + "text" : "Creates a new color by decoding from the given decoder.", "type" : "text" } ], @@ -4383,30 +4391,42 @@ "kind" : "text", "text" : "(" }, + { + "kind" : "externalParam", + "text" : "from" + }, + { + "kind" : "text", + "text" : ": " + }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "preciseIdentifier" : "s:s7DecoderP", + "text" : "Decoder" }, { "kind" : "text", - "text" : ")" + "text" : ") " + }, + { + "kind" : "keyword", + "text" : "throws" } ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/init(_:)-3c0eo", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-3c0eo", + "path" : "\/documentation\/euclid\/color\/init(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(from:)", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid4PathVyAcA7PolygonVcfc" + "title" : "init(from:)", + "usr" : "s:6Euclid5ColorV4fromACs7Decoder_p_tKcfc" }, { "abstract" : [ { - "text" : "Efficiently strokes an array of paths, avoiding duplicate work.", + "text" : "Computes the line of intersection between two planes.", "type" : "text" } ], @@ -4416,57 +4436,79 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "func" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "func" + "kind" : "identifier", + "text" : "intersection" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "stroke" + "kind" : "externalParam", + "text" : "with" }, { "kind" : "text", - "text" : "([" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" }, { "kind" : "text", - "text" : "], " + "text" : ") -> " }, { - "kind" : "externalParam", - "text" : "width" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4LineV", + "text" : "Line" }, { "kind" : "text", - "text" : ": " - }, + "text" : "?" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/plane\/intersection(with:)-4v7tg", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-4v7tg", + "taskGroups" : [ + + ], + "title" : "intersection(with:)", + "usr" : "s:6Euclid5PlaneV12intersection4withAA4LineVSgAC_tF" + }, + { + "abstract" : [ { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "The axis of rotation.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "var" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "detail" + "kind" : "identifier", + "text" : "axis" }, { "kind" : "text", @@ -4474,33 +4516,50 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" - }, + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + } + ], + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/rotation\/axis", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/axis", + "taskGroups" : [ + + ], + "title" : "axis", + "usr" : "s:6Euclid8RotationV4axisAA6VectorVvp" + }, + { + "abstract" : [ { - "kind" : "text", - "text" : ", " - }, + "text" : "Returns a transformed copy of the value.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { - "kind" : "externalParam", - "text" : "material" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "kind" : "identifier", + "text" : "transformed" }, { "kind" : "text", - "text" : "?, " + "text" : "(" }, { "kind" : "externalParam", - "text" : "isCancelled" + "text" : "by" }, { "kind" : "text", @@ -4508,8 +4567,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", @@ -4517,24 +4576,49 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/stroke(_:width:detail:material:iscancelled:)-9mn9o", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:isCancelled:)-9mn9o", + "path" : "\/documentation\/euclid\/vertex\/transformed(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/transformed(by:)", "taskGroups" : [ ], - "title" : "stroke(_:width:detail:material:isCancelled:)", - "usr" : "s:6Euclid4MeshV6stroke_5width6detail8material11isCancelledACSayAA4PathVG_SdSis11AnyHashableVSgSbyXEtFZ" + "title" : "transformed(by:)", + "usr" : "s:6Euclid13TransformablePAAE11transformed2byxAA9TransformV_tF::SYNTHESIZED::s:6Euclid6VertexV" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/angle\/comparable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Comparable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:)-3s6ak", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:)-7xdsm", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/.._(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/.._(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_(_:_:)-1aqv9", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_(_:_:)-filj", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_=(_:_:)-375to", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_=(_:_:)-9rm6o" + ], + "title" : "Operators" + } + ], + "title" : "Comparable Implementations" }, { "abstract" : [ { - "text" : "Creates a new line from the specified line segment.", + "text" : "Merges coplanar polygons that share one or more edges, provided the result will be convex.", "type" : "text" } ], @@ -4544,36 +4628,40 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" + "kind" : "identifier", + "text" : "detriangulate" }, { "kind" : "text", - "text" : ")" + "text" : "() -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/line\/init(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(_:)", + "path" : "\/documentation\/euclid\/mesh\/detriangulate()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/detriangulate()", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid4LineVyAcA0B7SegmentVcfc" + "title" : "detriangulate()", + "usr" : "s:6Euclid4MeshV13detriangulateACyF" }, { "abstract" : [ { - "text" : "Returns the distance between the vector (representing a position in space) from the specified plane.", + "text" : "Texture is tube-wrapped.", "type" : "text" } ], @@ -4583,7 +4671,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "case" }, { "kind" : "text", @@ -4591,49 +4679,23 @@ }, { "kind" : "identifier", - "text" : "distance" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "from" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "tube" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.enumerationCase", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/distance(from:)-5p7ko", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/distance(from:)-5p7ko", + "path" : "\/documentation\/euclid\/mesh\/wrapmode\/tube", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/tube", "taskGroups" : [ ], - "title" : "distance(from:)", - "usr" : "s:6Euclid6VectorV8distance4fromSdAA5PlaneV_tF" + "title" : "Mesh.WrapMode.tube", + "usr" : "s:6Euclid4MeshV8WrapModeO4tubeyA2EmF" }, { "abstract" : [ { - "text" : "Encodes this path into the given encoder.", + "text" : "Returns a Boolean value that indicates if the specified point is inside the mesh.", "type" : "text" } ], @@ -4651,48 +4713,41 @@ }, { "kind" : "identifier", - "text" : "encode" + "text" : "containsPoint" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "externalParam", - "text" : "to" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7EncoderP", - "text" : "Encoder" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ") " + "text" : ") -> " }, { - "kind" : "keyword", - "text" : "throws" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/encode(to:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/encode(to:)", + "path" : "\/documentation\/euclid\/mesh\/containspoint(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/containsPoint(_:)", "taskGroups" : [ ], - "title" : "encode(to:)", - "usr" : "s:6Euclid4PathV6encode2toys7Encoder_p_tKF" + "title" : "containsPoint(_:)", + "usr" : "s:6Euclid4MeshV13containsPointySbAA6VectorVF" }, { "abstract" : [ { - "text" : "Linearly interpolate between two colors.", + "text" : "Returns the intersection point between the specified line segment and this one.", "type" : "text" } ], @@ -4710,25 +4765,24 @@ }, { "kind" : "identifier", - "text" : "lerp" + "text" : "intersection" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "kind" : "externalParam", + "text" : "with" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" }, { "kind" : "text", @@ -4736,33 +4790,63 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : "?" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/lerp(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/lerp(_:_:)", + "path" : "\/documentation\/euclid\/linesegment\/intersection(with:)-2u7vo", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersection(with:)-2u7vo", "taskGroups" : [ ], - "title" : "lerp(_:_:)", - "usr" : "s:6Euclid5ColorV4lerpyA2C_SdtF" + "title" : "intersection(with:)", + "usr" : "s:6Euclid11LineSegmentV12intersection4withAA6VectorVSgAC_tF" }, { - "abstract" : [ + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/transformable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Transformable-Implementations", + "taskGroups" : [ { - "text" : "Creates a bounds from a collection of ", - "type" : "text" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/*(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/*=(_:_:)" + ], + "title" : "Operators" }, { - "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounded", - "isActive" : true, - "type" : "reference" - }, + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotate(by:)-3uymx", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotate(by:)-7y2vv", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scale(by:)-1h2f7", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scale(by:)-9pjki", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-90bab", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-94kks", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/transform(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/transformed(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/translate(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/translated(by:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Transformable Implementations" + }, + { + "abstract" : [ { - "text" : " objects.", + "text" : "Creates a rotation from a SceneKit quaternion.", "type" : "text" } ], @@ -4776,20 +4860,12 @@ }, { "kind" : "text", - "text" : "<" - }, - { - "kind" : "genericParameter", - "text" : "T" - }, - { - "kind" : "text", - "text" : ">(" + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsVyACxcSlRzAA7Bounded7ElementRpzlufc1TL_xmfp", - "text" : "T" + "preciseIdentifier" : "c:@T@SCNQuaternion", + "text" : "SCNQuaternion" }, { "kind" : "text", @@ -4798,13 +4874,13 @@ ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/init(_:)-1icmf", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-1icmf", + "path" : "\/documentation\/euclid\/rotation\/init(_:)-68leo", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-68leo", "taskGroups" : [ ], "title" : "init(_:)", - "usr" : "s:6Euclid6BoundsVyACxcSlRzAA7Bounded7ElementRpzlufc" + "usr" : "s:6Euclid8RotationVyACSo10SCNVector4Vcfc" }, { "availableLanguages" : [ @@ -4821,7 +4897,7 @@ }, { "kind" : "keyword", - "text" : "let" + "text" : "func" }, { "kind" : "text", @@ -4829,40 +4905,81 @@ }, { "kind" : "identifier", - "text" : "cyan" + "text" : "-=" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" - } - ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "text", + "text" : "(" + }, + { + "kind" : "keyword", + "text" : "inout" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/cyan", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/cyan", + "path" : "\/documentation\/euclid\/vector\/-=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-=(_:_:)", "taskGroups" : [ ], - "title" : "cyan", - "usr" : "s:6Euclid5ColorV4cyanACvpZ" + "title" : "-=(_:_:)", + "usr" : "s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" }, { - "abstract" : [ - { - "text" : "The surface normal of the vertex, used to calculate lighting.", - "type" : "text" - }, + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/linesegment\/comparable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Comparable-Implementations", + "taskGroups" : [ { - "text" : " ", - "type" : "text" - }, + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:)-2uz97", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:)-732z3", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/.._(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/.._(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_(_:_:)-2si4j", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_(_:_:)-9688a", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_=(_:_:)-5dvuy", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_=(_:_:)-8q2nt" + ], + "title" : "Operators" + } + ], + "title" : "Comparable Implementations" + }, + { + "abstract" : [ { - "text" : "Set this to zero if you want the normal to be calculated automatically from the polygon face normal.", + "text" : "The array of vertices that make up the polygon.", "type" : "text" } ], @@ -4880,50 +4997,36 @@ }, { "kind" : "identifier", - "text" : "normal" + "text" : "vertices" }, { "kind" : "text", - "text" : ": " + "text" : ": [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" + }, + { + "kind" : "text", + "text" : "]" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/normal", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/normal", + "path" : "\/documentation\/euclid\/polygon\/vertices", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/vertices", "taskGroups" : [ ], - "title" : "normal", - "usr" : "s:6Euclid6VertexV6normalAA6VectorVvp" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/path\/alignment\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/Equatable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/!=(_:_:)" - ], - "title" : "Operators" - } - ], - "title" : "Equatable Implementations" + "title" : "vertices", + "usr" : "s:6Euclid7PolygonV8verticesSayAA6VertexVGvp" }, { "abstract" : [ { - "text" : "Creates a mesh by stroking a path with the line width, detail, and material you provide.", + "text" : "Creates a corner path point at the specified X, Y and Z coordinates.", "type" : "text" } ], @@ -4949,7 +5052,7 @@ }, { "kind" : "identifier", - "text" : "stroke" + "text" : "point" }, { "kind" : "text", @@ -4957,21 +5060,13 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", "text" : ", " }, - { - "kind" : "externalParam", - "text" : "width" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:Sd", @@ -4981,18 +5076,10 @@ "kind" : "text", "text" : ", " }, - { - "kind" : "externalParam", - "text" : "detail" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -5000,7 +5087,7 @@ }, { "kind" : "externalParam", - "text" : "material" + "text" : "texcoord" }, { "kind" : "text", @@ -5008,8 +5095,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -5017,7 +5104,7 @@ }, { "kind" : "externalParam", - "text" : "isCancelled" + "text" : "color" }, { "kind" : "text", @@ -5025,33 +5112,59 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" } ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/stroke(_:width:detail:material:iscancelled:)-85o14", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:isCancelled:)-85o14", + "path" : "\/documentation\/euclid\/pathpoint\/point(_:_:_:texcoord:color:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/point(_:_:_:texcoord:color:)", "taskGroups" : [ ], - "title" : "stroke(_:width:detail:material:isCancelled:)", - "usr" : "s:6Euclid4MeshV6stroke_5width6detail8material11isCancelledAcA4PathV_SdSis11AnyHashableVSgSbyXEtFZ" + "title" : "point(_:_:_:texcoord:color:)", + "usr" : "s:6Euclid9PathPointV5point___8texcoord5colorACSd_S2dAA6VectorVSgAA5ColorVSgtFZ" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/plane\/comparable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Comparable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:)-49h2f", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:)-4yucl", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/.._(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/.._(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_(_:_:)-3fd8h", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_(_:_:)-6eeco", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_=(_:_:)-1oq2t", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_=(_:_:)-5nk27" + ], + "title" : "Operators" + } + ], + "title" : "Comparable Implementations" }, { "abstract" : [ { - "text" : "Creates a uniform scale transform.", + "text" : "Computes the convex hull of one or more meshes.", "type" : "text" } ], @@ -5077,41 +5190,57 @@ }, { "kind" : "identifier", - "text" : "scale" + "text" : "convexHull" }, { "kind" : "text", "text" : "(" }, + { + "kind" : "externalParam", + "text" : "of" + }, + { + "kind" : "text", + "text" : ": [" + }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" }, { "kind" : "text", - "text" : ") -> " + "text" : "]) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/scale(_:)-7a30s", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(_:)-7a30s", + "path" : "\/documentation\/euclid\/mesh\/convexhull(of:)-8x4al", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:)-8x4al", "taskGroups" : [ ], - "title" : "scale(_:)", - "usr" : "s:6Euclid9TransformV5scaleyACSdFZ" + "title" : "convexHull(of:)", + "usr" : "s:6Euclid4MeshV10convexHull2ofACSayACG_tFZ" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "The color for the vertex.", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "This will be multiplied by the material color, so set it to white if you do not require per-vertex colors.", "type" : "text" } ], @@ -5121,7 +5250,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -5129,48 +5258,82 @@ }, { "kind" : "identifier", - "text" : "scaled" + "text" : "color" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" + } + ], + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/vertex\/color", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/color", + "taskGroups" : [ + + ], + "title" : "color", + "usr" : "s:6Euclid6VertexV5colorAA5ColorVvp" + }, + { + "abstract" : [ + { + "text" : "Deprecated.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "kind" : "externalParam", + "text" : "bounds" }, { "kind" : "text", - "text" : ") -> " + "text" : ": [" }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" + }, + { + "kind" : "text", + "text" : "])" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/transformable\/scaled(by:)-5p6di", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scaled(by:)-5p6di", + "path" : "\/documentation\/euclid\/bounds\/init(bounds:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(bounds:)", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid13TransformableP6scaled2byxSd_tF" + "title" : "init(bounds:)", + "usr" : "s:6Euclid6BoundsV6boundsACSayACG_tcfc" }, { "abstract" : [ { - "text" : "The axis of rotation.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -5180,7 +5343,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -5188,7 +5351,15 @@ }, { "kind" : "identifier", - "text" : "axis" + "text" : "transform" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", @@ -5196,24 +5367,31 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/axis", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/axis", + "path" : "\/documentation\/euclid\/polygon\/transform(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/transform(by:)", "taskGroups" : [ ], - "title" : "axis", - "usr" : "s:6Euclid10QuaternionV4axisAA6VectorVvp" + "title" : "transform(by:)", + "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid7PolygonV" }, { + "abstract" : [ + { + "text" : "Efficiently fills an array of paths, avoiding unecessary work if there are duplicates.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -5236,77 +5414,87 @@ }, { "kind" : "identifier", - "text" : "..<" + "text" : "fill" }, { "kind" : "text", - "text" : " " + "text" : "([" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" }, { "kind" : "text", - "text" : "(" + "text" : "], " + }, + { + "kind" : "externalParam", + "text" : "faces" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", + "text" : "Faces" }, { "kind" : "text", "text" : ", " }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "externalParam", + "text" : "material" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sn", - "text" : "Range" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : "<" + "text" : "?, " + }, + { + "kind" : "externalParam", + "text" : "isCancelled" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" }, { "kind" : "text", - "text" : ">" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/'.._(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/.._(_:_:)", + "path" : "\/documentation\/euclid\/mesh\/fill(_:faces:material:iscancelled:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/fill(_:faces:material:isCancelled:)", "taskGroups" : [ ], - "title" : "..<(_:_:)", - "usr" : "s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Equatable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/!=(_:_:)" - ], - "title" : "Operators" - } - ], - "title" : "Equatable Implementations" + "title" : "fill(_:faces:material:isCancelled:)", + "usr" : "s:6Euclid4MeshV4fill_5faces8material11isCancelledACSayAA4PathVG_AC5FacesOs11AnyHashableVSgSbyXEtFZ" }, { "abstract" : [ @@ -5354,24 +5542,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/scaled(by:)-20sq4", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-20sq4", + "path" : "\/documentation\/euclid\/pathpoint\/scaled(by:)-4wtbg", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-4wtbg", "taskGroups" : [ ], "title" : "scaled(by:)", - "usr" : "s:6Euclid6VertexV6scaled2byAcA6VectorV_tF" + "usr" : "s:6Euclid9PathPointV6scaled2byAcA6VectorV_tF" }, { "abstract" : [ { - "text" : "Creates a rotation from Euler angles applied in pitch\/yaw\/roll order.", + "text" : "The total length of the path.", "type" : "text" } ], @@ -5381,15 +5569,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "var" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "pitch" + "kind" : "identifier", + "text" : "length" }, { "kind" : "text", @@ -5397,33 +5585,50 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" - }, + "preciseIdentifier" : "s:Sd", + "text" : "Double" + } + ], + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/path\/length", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/length", + "taskGroups" : [ + + ], + "title" : "length", + "usr" : "s:6Euclid4PathV6lengthSdvp" + }, + { + "abstract" : [ { - "kind" : "text", - "text" : ", " - }, + "text" : "Rotate the value in place.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { - "kind" : "externalParam", - "text" : "yaw" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "kind" : "identifier", + "text" : "rotate" }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { "kind" : "externalParam", - "text" : "roll" + "text" : "by" }, { "kind" : "text", @@ -5431,93 +5636,50 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/init(pitch:yaw:roll:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(pitch:yaw:roll:)", + "path" : "\/documentation\/euclid\/transform\/rotate(by:)-577nk", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotate(by:)-577nk", "taskGroups" : [ ], - "title" : "init(pitch:yaw:roll:)", - "usr" : "s:6Euclid8RotationV5pitch3yaw4rollAcA5AngleV_A2Htcfc" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid9TransformV" }, { + "abstract" : [ + { + "text" : "Display the 3D shapes you created with meshes.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : ">" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" - } - ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.article", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/_(_:_:)-filj", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_(_:_:)-filj", + "path" : "\/documentation\/euclid\/renderingmeshes", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/RenderingMeshes", "taskGroups" : [ ], - "title" : ">(_:_:)", - "usr" : "s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" + "title" : "Rendering Meshes" }, { "abstract" : [ { - "text" : "Creates a vector from an array of coordinates.", + "text" : "Creates a bounds from two points.", "type" : "text" } ], @@ -5531,32 +5693,41 @@ }, { "kind" : "text", - "text" : "([" + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "])" + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ")" } ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/init(_:)-63ct7", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-63ct7", + "path" : "\/documentation\/euclid\/bounds\/init(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:_:)", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid6VectorVyACSaySdGcfc" + "title" : "init(_:_:)", + "usr" : "s:6Euclid6BoundsVyAcA6VectorV_AEtcfc" }, { "abstract" : [ { - "text" : "Creates a mesh from a SceneKit node, with optional material mapping.", + "text" : "The blue component of the color.", "type" : "text" } ], @@ -5566,41 +5737,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "c:objc(cs)SCNNode", - "text" : "SCNNode" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "ignoringTransforms" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "text" : "var" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "materialLookup" + "kind" : "identifier", + "text" : "b" }, { "kind" : "text", @@ -5608,28 +5753,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19SCNMaterialProvidera", - "text" : "SCNMaterialProvider" - }, - { - "kind" : "text", - "text" : "?)" + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/init(_:ignoringtransforms:materiallookup:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:ignoringTransforms:materialLookup:)", + "path" : "\/documentation\/euclid\/color\/b", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/b", "taskGroups" : [ ], - "title" : "init(_:ignoringTransforms:materialLookup:)", - "usr" : "s:6Euclid4MeshV_18ignoringTransforms14materialLookupACSo7SCNNodeC_Sbs11AnyHashableVSgSo11SCNMaterialCcSgtcfc" + "title" : "b", + "usr" : "s:6Euclid5ColorV1bSdvp" }, { "abstract" : [ { - "text" : "Creates a vector of uniform size.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -5639,7 +5780,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "rotate" }, { "kind" : "text", @@ -5647,7 +5796,7 @@ }, { "kind" : "externalParam", - "text" : "size" + "text" : "by" }, { "kind" : "text", @@ -5655,28 +5804,31 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/init(size:)-nkyk", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(size:)-nkyk", + "path" : "\/documentation\/euclid\/polygon\/rotate(by:)-8lp0l", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotate(by:)-8lp0l", "taskGroups" : [ ], - "title" : "init(size:)", - "usr" : "s:6Euclid6VectorV4sizeACSd_tcfc" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid7PolygonV" }, { "abstract" : [ { - "text" : "Divides the angle by a numeric denominator.", + "text" : "Creates a closed circular path.", "type" : "text" } ], @@ -5702,57 +5854,83 @@ }, { "kind" : "identifier", - "text" : "\/=" + "text" : "circle" }, { "kind" : "text", - "text" : " " + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "radius" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { - "kind" : "keyword", - "text" : "inout" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : " " + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "segments" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", "text" : ", " }, + { + "kind" : "externalParam", + "text" : "color" + }, + { + "kind" : "text", + "text" : ": " + }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ")" + "text" : "?) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/\/=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/\/=(_:_:)", + "path" : "\/documentation\/euclid\/path\/circle(radius:segments:color:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/circle(radius:segments:color:)", "taskGroups" : [ ], - "title" : "\/=(_:_:)", - "usr" : "s:6Euclid5AngleV2deoiyyACz_SdtFZ" + "title" : "circle(radius:segments:color:)", + "usr" : "s:6Euclid4PathV6circle6radius8segments5colorACSd_SiAA5ColorVSgtFZ" }, { "abstract" : [ { - "text" : "Computes the convex hull of one or more meshes.", + "text" : "Linearly interpolates between two vertices.", "type" : "text" } ], @@ -5760,14 +5938,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -5778,49 +5948,50 @@ }, { "kind" : "identifier", - "text" : "convexHull" + "text" : "lerp" }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "of" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" }, { "kind" : "text", - "text" : ": [" + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : "]) -> " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/convexhull(of:)-8x4al", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:)-8x4al", + "path" : "\/documentation\/euclid\/vertex\/lerp(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/lerp(_:_:)", "taskGroups" : [ ], - "title" : "convexHull(of:)", - "usr" : "s:6Euclid4MeshV10convexHull2ofACSayACG_tFZ" + "title" : "lerp(_:_:)", + "usr" : "s:6Euclid6VertexV4lerpyA2C_SdtF" }, { "abstract" : [ { - "text" : "Creates a mesh by connecting a series of 3D paths representing the cross sections.", + "text" : "Creates an array of glyph contours from an attributed string.", "type" : "text" } ], @@ -5846,24 +6017,24 @@ }, { "kind" : "identifier", - "text" : "loft" + "text" : "text" }, { "kind" : "text", - "text" : "([" + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "c:objc(cs)NSAttributedString", + "text" : "NSAttributedString" }, { "kind" : "text", - "text" : "], " + "text" : ", " }, { "kind" : "externalParam", - "text" : "faces" + "text" : "width" }, { "kind" : "text", @@ -5871,16 +6042,16 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", - "text" : "Faces" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ", " + "text" : "?, " }, { "kind" : "externalParam", - "text" : "material" + "text" : "detail" }, { "kind" : "text", @@ -5888,41 +6059,63 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : "?) -> " + "text" : ") -> [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" + }, + { + "kind" : "text", + "text" : "]" } ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/loft(_:faces:material:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/loft(_:faces:material:)", + "path" : "\/documentation\/euclid\/path\/text(_:width:detail:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/text(_:width:detail:)", "taskGroups" : [ ], - "title" : "loft(_:faces:material:)", - "usr" : "s:6Euclid4MeshV4loft_5faces8materialACSayAA4PathVG_AC5FacesOs11AnyHashableVSgtFZ" + "title" : "text(_:width:detail:)", + "usr" : "s:6Euclid4PathV4text_5width6detailSayACGSo18NSAttributedStringC_SdSgSitFZ" }, { - "abstract" : [ - { - "text" : "A vector of length ", - "type" : "text" - }, + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/comparable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Comparable-Implementations", + "taskGroups" : [ { - "code" : "1", - "type" : "codeVoice" - }, + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:)-14arr", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:)-8feph", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/.._(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/.._(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_(_:_:)-7i9lp", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_(_:_:)-9obdn", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_=(_:_:)-9s7pp", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_=(_:_:)-j6oq" + ], + "title" : "Operators" + } + ], + "title" : "Comparable Implementations" + }, + { + "abstract" : [ { - "text" : " along the Y axis.", + "text" : "Translate the value in place.", "type" : "text" } ], @@ -5932,23 +6125,23 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "func" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "let" + "kind" : "identifier", + "text" : "translate" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "unitY" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", @@ -5958,22 +6151,26 @@ "kind" : "typeIdentifier", "preciseIdentifier" : "s:6Euclid6VectorV", "text" : "Vector" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/unity", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitY", + "path" : "\/documentation\/euclid\/vector\/translate(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/translate(by:)", "taskGroups" : [ ], - "title" : "unitY", - "usr" : "s:6Euclid6VectorV5unitYACvpZ" + "title" : "translate(by:)", + "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid6VectorV" }, { "abstract" : [ { - "text" : "Creates a new path by decoding from the given decoder.", + "text" : "Smooth vertex normals for corners with angles greater (more obtuse) than the specified threshold.", "type" : "text" } ], @@ -5983,7 +6180,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "smoothingNormals" }, { "kind" : "text", @@ -5991,7 +6196,7 @@ }, { "kind" : "externalParam", - "text" : "from" + "text" : "forAnglesGreaterThan" }, { "kind" : "text", @@ -5999,32 +6204,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7DecoderP", - "text" : "Decoder" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : ") " + "text" : ") -> " }, { - "kind" : "keyword", - "text" : "throws" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/init(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(from:)", + "path" : "\/documentation\/euclid\/mesh\/smoothingnormals(foranglesgreaterthan:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/smoothingNormals(forAnglesGreaterThan:)", "taskGroups" : [ ], - "title" : "init(from:)", - "usr" : "s:6Euclid4PathV4fromACs7Decoder_p_tKcfc" + "title" : "smoothingNormals(forAnglesGreaterThan:)", + "usr" : "s:6Euclid4MeshV16smoothingNormals20forAnglesGreaterThanAcA5AngleV_tF" }, { "abstract" : [ { - "text" : "Return a copy of the mesh without texture coordinates.", + "text" : "The bounds of the object.", "type" : "text" } ], @@ -6034,7 +6240,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -6042,32 +6248,32 @@ }, { "kind" : "identifier", - "text" : "withoutTexcoords" + "text" : "bounds" }, { "kind" : "text", - "text" : "() -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/withouttexcoords()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withoutTexcoords()", + "path" : "\/documentation\/euclid\/bounded\/bounds", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounded\/bounds", "taskGroups" : [ ], - "title" : "withoutTexcoords()", - "usr" : "s:6Euclid4MeshV16withoutTexcoordsACyF" + "title" : "bounds", + "usr" : "s:6Euclid7BoundedP6boundsAA6BoundsVvp" }, { "abstract" : [ { - "text" : "Rotate the value in place.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -6085,7 +6291,7 @@ }, { "kind" : "identifier", - "text" : "rotate" + "text" : "transform" }, { "kind" : "text", @@ -6101,8 +6307,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", @@ -6111,46 +6317,27 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/rotate(by:)-8lp0l", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotate(by:)-8lp0l", + "path" : "\/documentation\/euclid\/plane\/transform(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/transform(by:)", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid7PolygonV" + "title" : "transform(by:)", + "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid5PlaneV" }, { "availableLanguages" : [ "swift" ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/decodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Decodable-Implementations", - "taskGroups" : [ + "fragments" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(from:)" - ], - "title" : "Initializers" - } - ], - "title" : "Decodable Implementations" - }, - { - "abstract" : [ + "kind" : "keyword", + "text" : "static" + }, { - "text" : "Rotate the value in place.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -6161,44 +6348,52 @@ }, { "kind" : "identifier", - "text" : "rotate" + "text" : "!=" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "text" : "Self" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/transformable\/rotate(by:)-1l9u5", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotate(by:)-1l9u5", + "path" : "\/documentation\/euclid\/transform\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/!=(_:_:)", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid9TransformV" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "A normalized direction vector pointing upwards relative to the current rotation.", "type" : "text" } ], @@ -6208,7 +6403,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -6216,15 +6411,7 @@ }, { "kind" : "identifier", - "text" : "scale" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" + "text" : "up" }, { "kind" : "text", @@ -6234,44 +6421,26 @@ "kind" : "typeIdentifier", "preciseIdentifier" : "s:6Euclid6VectorV", "text" : "Vector" - }, - { - "kind" : "text", - "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/scale(by:)-6c0wl", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scale(by:)-6c0wl", + "path" : "\/documentation\/euclid\/rotation\/up", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/up", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid6VertexV" + "title" : "up", + "usr" : "s:6Euclid8RotationV2upAA6VectorVvp" }, { - "abstract" : [ - { - "text" : "Returns a vector with its components multiplied by the specified value.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -6279,54 +6448,44 @@ }, { "kind" : "identifier", - "text" : "*" - }, - { - "kind" : "text", - "text" : " " + "text" : "errorUserInfo" }, { "kind" : "text", - "text" : "(" + "text" : ": [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:SS", + "text" : "String" }, { "kind" : "text", - "text" : ", " + "text" : " : " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "keyword", + "text" : "Any" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "]" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/*(_:_:)-48gl1", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-48gl1", + "path" : "\/documentation\/euclid\/mesh\/ioerror\/erroruserinfo", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorUserInfo", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid6VectorV1moiyACSd_ACtFZ" + "title" : "errorUserInfo", + "usr" : "s:6Euclid4MeshV7IOErrorV13errorUserInfoSDySSypGvp" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -6334,14 +6493,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -6352,56 +6503,44 @@ }, { "kind" : "identifier", - "text" : "*=" - }, - { - "kind" : "text", - "text" : " " + "text" : "scale" }, { "kind" : "text", "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/*=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*=(_:_:)", + "path" : "\/documentation\/euclid\/polygon\/scale(by:)-2pycj", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scale(by:)-2pycj", "taskGroups" : [ ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid9TransformV" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid7PolygonV" }, { "abstract" : [ { - "text" : "Returns a translated copy of the value.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -6419,7 +6558,7 @@ }, { "kind" : "identifier", - "text" : "translated" + "text" : "scale" }, { "kind" : "text", @@ -6440,23 +6579,36 @@ }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/translated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/translated(by:)", + "path" : "\/documentation\/euclid\/path\/scale(by:)-1kdd7", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scale(by:)-1kdd7", "taskGroups" : [ ], - "title" : "translated(by:)", - "usr" : "s:6Euclid9PathPointV10translated2byAcA6VectorV_tF" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid4PathV" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/decodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Decodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(from:)" + ], + "title" : "Initializers" + } + ], + "title" : "Decodable Implementations" }, { "abstract" : [ @@ -6495,8 +6647,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", @@ -6505,21 +6657,18 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/rotate(by:)-r7j4", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotate(by:)-r7j4", + "path" : "\/documentation\/euclid\/bounds\/rotate(by:)-15yni", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotate(by:)-15yni", "taskGroups" : [ ], "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid9PathPointV" + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid6BoundsV" }, { "abstract" : [ { - "text" : "Transform has no effect.", + "text" : "An empty path.", "type" : "text" } ], @@ -6529,47 +6678,12 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" }, { "kind" : "text", "text" : " " }, - { - "kind" : "identifier", - "text" : "isIdentity" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/isidentity", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/isIdentity", - "taskGroups" : [ - - ], - "title" : "isIdentity", - "usr" : "s:6Euclid9TransformV10isIdentitySbvp" - }, - { - "abstract" : [ - { - "text" : "The starting point of the line segment.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ { "kind" : "keyword", "text" : "let" @@ -6580,7 +6694,7 @@ }, { "kind" : "identifier", - "text" : "start" + "text" : "empty" }, { "kind" : "text", @@ -6588,19 +6702,19 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/start", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/start", + "path" : "\/documentation\/euclid\/path\/empty", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/empty", "taskGroups" : [ ], - "title" : "start", - "usr" : "s:6Euclid11LineSegmentV5startAA6VectorVvp" + "title" : "empty", + "usr" : "s:6Euclid4PathV5emptyACvpZ" }, { "abstract" : [ @@ -6644,7 +6758,7 @@ { "abstract" : [ { - "text" : "Returns a translated copy of the value.", + "text" : "Use default alignment heuristic for the given path.", "type" : "text" } ], @@ -6654,7 +6768,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "case" }, { "kind" : "text", @@ -6662,49 +6776,23 @@ }, { "kind" : "identifier", - "text" : "translated" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "text" : "`default`" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.enumerationCase", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/translated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/translated(by:)", + "path" : "\/documentation\/euclid\/path\/alignment\/default", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/default", "taskGroups" : [ ], - "title" : "translated(by:)", - "usr" : "s:6Euclid4MeshV10translated2byAcA6VectorV_tF" + "title" : "Path.Alignment.default", + "usr" : "s:6Euclid4PathV9AlignmentO7defaultyA2EmF" }, { "abstract" : [ { - "text" : "A normalized direction vector pointing rightwards relative to the current rotation.", + "text" : "The distinct (disconnected) submeshes that make up the mesh.", "type" : "text" } ], @@ -6722,100 +6810,104 @@ }, { "kind" : "identifier", - "text" : "right" + "text" : "submeshes" }, { "kind" : "text", - "text" : ": " + "text" : ": [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" + }, + { + "kind" : "text", + "text" : "]" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/right", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/right", + "path" : "\/documentation\/euclid\/mesh\/submeshes", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/submeshes", "taskGroups" : [ ], - "title" : "right", - "usr" : "s:6Euclid8RotationV5rightAA6VectorVvp" + "title" : "submeshes", + "usr" : "s:6Euclid4MeshV9submeshesSayACGvp" }, { - "abstract" : [ - { - "text" : "Rotate the value in place.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "rotate" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "identifier", + "text" : "+" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "text" : "Self" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/rotate(by:)-ntgj", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotate(by:)-ntgj", + "path" : "\/documentation\/euclid\/angle\/+(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+(_:)", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid6BoundsV" + "title" : "+(_:)", + "usr" : "s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:6Euclid5AngleV" }, { - "abstract" : [ - { - "text" : "The angle in degrees.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -6823,32 +6915,52 @@ }, { "kind" : "identifier", - "text" : "degrees" + "text" : "!=" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/degrees", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/degrees", + "path" : "\/documentation\/euclid\/path\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/!=(_:_:)", "taskGroups" : [ ], - "title" : "degrees", - "usr" : "s:6Euclid5AngleV7degreesSdvp" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid4PathV" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "Returns a Boolean value that indicates whether a point lies on the plane.", "type" : "text" } ], @@ -6866,24 +6978,16 @@ }, { "kind" : "identifier", - "text" : "scaled" + "text" : "containsPoint" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "externalParam", - "text" : "by" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -6891,24 +6995,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/scaled(by:)-19ukh", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-19ukh", + "path" : "\/documentation\/euclid\/plane\/containspoint(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/containsPoint(_:)", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid9TransformV6scaled2byACSd_tF" + "title" : "containsPoint(_:)", + "usr" : "s:6Euclid5PlaneV13containsPointySbAA6VectorVF" }, { "abstract" : [ { - "text" : "An array of vertices suitable for constructing a set of edge polygons for the path.", + "text" : "Returns a scaled copy of the value.", "type" : "text" } ], @@ -6926,7 +7030,7 @@ }, { "kind" : "identifier", - "text" : "edgeVertices" + "text" : "scaled" }, { "kind" : "text", @@ -6934,7 +7038,7 @@ }, { "kind" : "externalParam", - "text" : "for" + "text" : "by" }, { "kind" : "text", @@ -6942,46 +7046,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" - }, - { - "kind" : "text", - "text" : "." - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", - "text" : "WrapMode" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ") -> [" + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" - }, - { - "kind" : "text", - "text" : "]" + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/edgevertices(for:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/edgeVertices(for:)", + "path" : "\/documentation\/euclid\/bounds\/scaled(by:)-5dvvh", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-5dvvh", "taskGroups" : [ ], - "title" : "edgeVertices(for:)", - "usr" : "s:6Euclid4PathV12edgeVertices3forSayAA6VertexVGAA4MeshV8WrapModeO_tF" + "title" : "scaled(by:)", + "usr" : "s:6Euclid6BoundsV6scaled2byAcA6VectorV_tF" }, { "abstract" : [ { - "text" : "Creates a quaternion representing a rotation around the Z axis.", + "text" : "Align extruded cross-sections to the tangent of the path curve.", "type" : "text" } ], @@ -6991,15 +7082,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "case" }, { "kind" : "text", @@ -7007,44 +7090,23 @@ }, { "kind" : "identifier", - "text" : "roll" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "text" : "tangent" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.enumerationCase", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/roll(_:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/roll(_:)", + "path" : "\/documentation\/euclid\/path\/alignment\/tangent", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/tangent", "taskGroups" : [ ], - "title" : "roll(_:)", - "usr" : "s:6Euclid10QuaternionV4rollyAcA5AngleVFZ" + "title" : "Path.Alignment.tangent", + "usr" : "s:6Euclid4PathV9AlignmentO7tangentyA2EmF" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "Texture coordinates for the vertex. Set this to zero if you are not using a texture map.", "type" : "text" } ], @@ -7054,7 +7116,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -7062,56 +7124,42 @@ }, { "kind" : "identifier", - "text" : "scale" + "text" : "texcoord" }, { "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" - }, - { - "kind" : "text", - "text" : ": " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/scale(by:)-55r4j", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(by:)-55r4j", + "path" : "\/documentation\/euclid\/vertex\/texcoord", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/texcoord", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid9TransformV" + "title" : "texcoord", + "usr" : "s:6Euclid6VertexV8texcoordAA6VectorVvp" }, { + "abstract" : [ + { + "text" : "An array of the subpaths that make up the path.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -7119,52 +7167,36 @@ }, { "kind" : "identifier", - "text" : "!=" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "text" : "subpaths" }, { "kind" : "text", - "text" : ", " + "text" : ": [" }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "text" : "]" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/!=(_:_:)", + "path" : "\/documentation\/euclid\/path\/subpaths", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/subpaths", "taskGroups" : [ ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid9TransformV" + "title" : "subpaths", + "usr" : "s:6Euclid4PathV8subpathsSayACGvp" }, { "abstract" : [ { - "text" : "Indicates whether all the path’s points lie on a single plane.", + "text" : "Return ASCII STL string data for the mesh.", "type" : "text" } ], @@ -7174,7 +7206,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -7182,7 +7214,15 @@ }, { "kind" : "identifier", - "text" : "isPlanar" + "text" : "stlString" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "name" }, { "kind" : "text", @@ -7190,19 +7230,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:SS", + "text" : "String" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:SS", + "text" : "String" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/isplanar", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/isPlanar", + "path" : "\/documentation\/euclid\/mesh\/stlstring(name:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stlString(name:)", "taskGroups" : [ ], - "title" : "isPlanar", - "usr" : "s:6Euclid4PathV8isPlanarSbvp" + "title" : "stlString(name:)", + "usr" : "s:6Euclid4MeshV9stlString4nameS2S_tF" }, { "availableLanguages" : [ @@ -7211,23 +7260,32 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "?(" }, { - "kind" : "keyword", - "text" : "let" + "kind" : "externalParam", + "text" : "scnGeometry" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "magenta" + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)SCNGeometry", + "text" : "SCNGeometry" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "materialLookup" }, { "kind" : "text", @@ -7235,24 +7293,31 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:6Euclid4MeshV19SCNMaterialProvidera", + "text" : "SCNMaterialProvider" + }, + { + "kind" : "text", + "text" : "?)" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/magenta", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/magenta", + "path" : "\/documentation\/euclid\/mesh\/init(scngeometry:materiallookup:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(scnGeometry:materialLookup:)", "taskGroups" : [ ], - "title" : "magenta", - "usr" : "s:6Euclid5ColorV7magentaACvpZ" + "title" : "init(scnGeometry:materialLookup:)", + "usr" : "s:6Euclid4MeshV11scnGeometry14materialLookupACSgSo11SCNGeometryC_s11AnyHashableVSgSo11SCNMaterialCcSgtcfc" }, { "abstract" : [ { - "text" : "Returns the inverse rotation.", + "text" : "Return a copy of the polygon with transformed texture coordinates", "type" : "text" } ], @@ -7260,14 +7325,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -7278,20 +7335,25 @@ }, { "kind" : "identifier", - "text" : "-" + "text" : "mapTexcoords" }, { "kind" : "text", - "text" : " " + "text" : "((" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "(" + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -7299,24 +7361,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/-(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/-(_:)", + "path" : "\/documentation\/euclid\/polygon\/maptexcoords(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/mapTexcoords(_:)", "taskGroups" : [ ], - "title" : "-(_:)", - "usr" : "s:6Euclid8RotationV1sopyA2CFZ" + "title" : "mapTexcoords(_:)", + "usr" : "s:6Euclid7PolygonV12mapTexcoordsyAcA6VectorVAFXEF" }, { "abstract" : [ { - "text" : "Computes the line of intersection between two planes.", + "text" : "Translate the value in place.", "type" : "text" } ], @@ -7334,7 +7396,7 @@ }, { "kind" : "identifier", - "text" : "intersection" + "text" : "translate" }, { "kind" : "text", @@ -7342,7 +7404,7 @@ }, { "kind" : "externalParam", - "text" : "with" + "text" : "by" }, { "kind" : "text", @@ -7350,37 +7412,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4LineV", - "text" : "Line" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "?" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/intersection(with:)-4v7tg", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-4v7tg", + "path" : "\/documentation\/euclid\/transform\/translate(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/translate(by:)", "taskGroups" : [ ], - "title" : "intersection(with:)", - "usr" : "s:6Euclid5PlaneV12intersection4withAA4LineVSgAC_tF" + "title" : "translate(by:)", + "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid9TransformV" }, { "abstract" : [ { - "text" : "Creates a closed square path.", + "text" : "Creates a plane from a set of points.", "type" : "text" } ], @@ -7390,82 +7443,62 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "square" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "size" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "init" }, { "kind" : "text", - "text" : ", " + "text" : "?(" }, { "kind" : "externalParam", - "text" : "color" + "text" : "points" }, { "kind" : "text", - "text" : ": " + "text" : ": [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "?) -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "text" : "])" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/square(size:color:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/square(size:color:)", + "path" : "\/documentation\/euclid\/plane\/init(points:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(points:)", "taskGroups" : [ ], - "title" : "square(size:color:)", - "usr" : "s:6Euclid4PathV6square4size5colorACSd_AA5ColorVSgtFZ" + "title" : "init(points:)", + "usr" : "s:6Euclid5PlaneV6pointsACSgSayAA6VectorVG_tcfc" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/plane\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Equatable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/!=(_:_:)" + ], + "title" : "Operators" + } + ], + "title" : "Equatable Implementations" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "Returns a scaled copy of the value.", "type" : "text" } ], @@ -7483,7 +7516,7 @@ }, { "kind" : "identifier", - "text" : "scale" + "text" : "scaled" }, { "kind" : "text", @@ -7504,31 +7537,28 @@ }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/scale(by:)-9i9s9", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(by:)-9i9s9", + "path" : "\/documentation\/euclid\/path\/scaled(by:)-19jpq", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-19jpq", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid9TransformV" + "title" : "scaled(by:)", + "usr" : "s:6Euclid4PathV6scaled2byAcA6VectorV_tF" }, { "abstract" : [ { - "text" : "Creates a mesh from a RealityKit ", - "type" : "text" - }, - { - "code" : "MeshResource", - "type" : "codeVoice" - }, - { - "text" : ".", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -7538,78 +7568,72 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:17RealityFoundation12MeshResourceC", - "text" : "MeshResource" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "materials" + "kind" : "identifier", + "text" : "*=" }, { "kind" : "text", - "text" : ": [" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "kind" : "text", + "text" : "(" + }, + { + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : "." + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", - "text" : "Material" + "text" : "Self" }, { "kind" : "text", - "text" : "?])" - } - ], - "kind" : "org.swift.docc.kind.initializer", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/init(_:materials:)-4k8gs", - "platforms" : [ + "text" : ", " + }, { - "beta" : false, - "deprecated" : false, - "introducedAt" : "15.0", - "name" : "iOS", - "unavailable" : false + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { - "beta" : false, - "deprecated" : false, - "introducedAt" : "12.0", - "name" : "macOS", - "unavailable" : false + "kind" : "text", + "text" : ")" } ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materials:)-4k8gs", + "kind" : "org.swift.docc.kind.operator", + "language" : "swift", + "path" : "\/documentation\/euclid\/path\/*=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/*=(_:_:)", "taskGroups" : [ ], - "title" : "init(_:materials:)", - "usr" : "s:6Euclid4MeshV_9materialsAC17RealityFoundation0B8ResourceC_Says11AnyHashableVSgGtcfc" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid4PathV" }, { "abstract" : [ { - "text" : "Splits a polygon into two or more convex polygons using the “ear clipping” method.", + "text" : "The square of the length of the quaternion. This is less expensive to compute than the length itself.", "type" : "text" } ], @@ -7619,7 +7643,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -7627,15 +7651,7 @@ }, { "kind" : "identifier", - "text" : "tessellate" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "maxSides" + "text" : "lengthSquared" }, { "kind" : "text", @@ -7643,44 +7659,36 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" - }, - { - "kind" : "text", - "text" : ") -> [" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" - }, - { - "kind" : "text", - "text" : "]" + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/tessellate(maxsides:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/tessellate(maxSides:)", + "path" : "\/documentation\/euclid\/quaternion\/lengthsquared", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/lengthSquared", "taskGroups" : [ ], - "title" : "tessellate(maxSides:)", - "usr" : "s:6Euclid7PolygonV10tessellate8maxSidesSayACGSi_tF" + "title" : "lengthSquared", + "usr" : "s:6Euclid10QuaternionV13lengthSquaredSdvp" }, { - "abstract" : [ - { - "text" : "Returns a transformed copy of the value.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -7691,24 +7699,27 @@ }, { "kind" : "identifier", - "text" : "transformed" + "text" : "<=" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "text" : "Self" }, { "kind" : "text", @@ -7716,23 +7727,24 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/transformable\/transformed(by:)-9m686", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transformed(by:)-9m686", + "path" : "\/documentation\/euclid\/angle\/_=(_:_:)-375to", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_=(_:_:)-375to", "taskGroups" : [ ], - "title" : "transformed(by:)", - "usr" : "s:6Euclid13TransformableP11transformed2byxAA9TransformV_tF" + "title" : "<=(_:_:)", + "usr" : "s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "Split the mesh along a plane.", "type" : "text" } ], @@ -7750,7 +7762,7 @@ }, { "kind" : "identifier", - "text" : "scaled" + "text" : "split" }, { "kind" : "text", @@ -7758,7 +7770,7 @@ }, { "kind" : "externalParam", - "text" : "by" + "text" : "along" }, { "kind" : "text", @@ -7766,67 +7778,54 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" }, { "kind" : "text", - "text" : ") -> " + "text" : ") -> (front" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/scaled(by:)-8sjrv", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-8sjrv", - "taskGroups" : [ - - ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid7PolygonV6scaled2byAcA6VectorV_tF" - }, - { - "abstract" : [ - { - "text" : "Generate front faces.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" + }, { - "kind" : "keyword", - "text" : "case" + "kind" : "text", + "text" : "?, back" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "front" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" + }, + { + "kind" : "text", + "text" : "?)" } ], - "kind" : "org.swift.docc.kind.enumerationCase", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/faces\/front", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/front", + "path" : "\/documentation\/euclid\/mesh\/split(along:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/split(along:)", "taskGroups" : [ ], - "title" : "Mesh.Faces.front", - "usr" : "s:6Euclid4MeshV5FacesO5frontyA2EmF" + "title" : "split(along:)", + "usr" : "s:6Euclid4MeshV5split5alongACSg5front_AF4backtAA5PlaneV_tF" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "Creates an axis-aligned cuboidal mesh.", "type" : "text" } ], @@ -7834,6 +7833,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -7844,7 +7851,7 @@ }, { "kind" : "identifier", - "text" : "scale" + "text" : "cube" }, { "kind" : "text", @@ -7852,7 +7859,7 @@ }, { "kind" : "externalParam", - "text" : "by" + "text" : "center" }, { "kind" : "text", @@ -7865,59 +7872,71 @@ }, { "kind" : "text", - "text" : ")" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/path\/scale(by:)-1kdd7", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scale(by:)-1kdd7", - "taskGroups" : [ - - ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid4PathV" - }, - { - "abstract" : [ + "text" : ", " + }, { - "text" : "Return a copy of the polygon with transformed vertex colors", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "externalParam", + "text" : "size" + }, { - "kind" : "keyword", - "text" : "func" + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "identifier", - "text" : "mapVertexColors" + "kind" : "externalParam", + "text" : "faces" }, { "kind" : "text", - "text" : "((" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", + "text" : "Faces" }, { "kind" : "text", - "text" : ") -> " + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "wrapMode" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", + "text" : "WrapMode" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "material" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", @@ -7925,24 +7944,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/mapvertexcolors(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/mapVertexColors(_:)", + "path" : "\/documentation\/euclid\/mesh\/cube(center:size:faces:wrapmode:material:)-8t5q8", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cube(center:size:faces:wrapMode:material:)-8t5q8", "taskGroups" : [ ], - "title" : "mapVertexColors(_:)", - "usr" : "s:6Euclid7PolygonV15mapVertexColorsyAcA5ColorVSgAFXEF" + "title" : "cube(center:size:faces:wrapMode:material:)", + "usr" : "s:6Euclid4MeshV4cube6center4size5faces8wrapMode8materialAcA6VectorV_AkC5FacesOAC04WrapH0Os11AnyHashableVSgtFZ" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -7960,7 +7979,7 @@ }, { "kind" : "identifier", - "text" : "transform" + "text" : "scale" }, { "kind" : "text", @@ -7976,8 +7995,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -7986,21 +8005,15 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/transform(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/transform(by:)", + "path" : "\/documentation\/euclid\/mesh\/scale(by:)-1h2f7", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scale(by:)-1h2f7", "taskGroups" : [ ], - "title" : "transform(by:)", - "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid4MeshV" }, { - "abstract" : [ - { - "text" : "Encodes this color into the given encoder.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -8015,15 +8028,24 @@ }, { "kind" : "identifier", - "text" : "encode" + "text" : "subtract" }, { "kind" : "text", "text" : "(" }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" + }, + { + "kind" : "text", + "text" : ", " + }, { "kind" : "externalParam", - "text" : "to" + "text" : "isCancelled" }, { "kind" : "text", @@ -8031,29 +8053,39 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7EncoderP", - "text" : "Encoder" + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" }, { "kind" : "text", - "text" : ") " + "text" : ") -> " }, { - "kind" : "keyword", - "text" : "throws" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/encode(to:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/encode(to:)", + "path" : "\/documentation\/euclid\/mesh\/subtract(_:iscancelled:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/subtract(_:isCancelled:)", "taskGroups" : [ ], - "title" : "encode(to:)", - "usr" : "s:6Euclid5ColorV6encode2toys7Encoder_p_tKF" + "title" : "subtract(_:isCancelled:)", + "usr" : "s:6Euclid4MeshV8subtract_11isCancelledA2C_SbyXEtF" }, { + "abstract" : [ + { + "text" : "Replace\/remove path point colors.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -8068,55 +8100,41 @@ }, { "kind" : "identifier", - "text" : "hash" + "text" : "withColor" }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "into" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "keyword", - "text" : "inout" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : " " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s6HasherV", - "text" : "Hasher" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/hash(into:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/hash(into:)", + "path" : "\/documentation\/euclid\/path\/withcolor(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/withColor(_:)", "taskGroups" : [ ], - "title" : "hash(into:)", - "usr" : "s:6Euclid10QuaternionV4hash4intoys6HasherVz_tF" + "title" : "withColor(_:)", + "usr" : "s:6Euclid4PathV9withColoryAcA0D0VSgF" }, { "abstract" : [ { - "text" : "Creates a rotationally symmetrical mesh by turning the specified path around the Y axis.", + "text" : "Returns the nearest point on the specified plane to the vector (representing a position in space).", "type" : "text" } ], @@ -8124,14 +8142,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -8142,24 +8152,15 @@ }, { "kind" : "identifier", - "text" : "lathe" + "text" : "project" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" - }, - { - "kind" : "text", - "text" : ", " - }, { "kind" : "externalParam", - "text" : "slices" + "text" : "onto" }, { "kind" : "text", @@ -8167,33 +8168,59 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { - "kind" : "externalParam", - "text" : "poleDetail" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/project(onto:)-817o2", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/project(onto:)-817o2", + "taskGroups" : [ + + ], + "title" : "project(onto:)", + "usr" : "s:6Euclid6VectorV7project4ontoAcA5PlaneV_tF" + }, + { + "abstract" : [ + { + "text" : "Returns a rotated copy of the value.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "kind" : "identifier", + "text" : "rotated" }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { "kind" : "externalParam", - "text" : "addDetailForFlatPoles" + "text" : "by" }, { "kind" : "text", @@ -8201,148 +8228,162 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { - "kind" : "externalParam", - "text" : "faces" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/path\/rotated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotated(by:)", + "taskGroups" : [ + + ], + "title" : "rotated(by:)", + "usr" : "s:6Euclid4PathV7rotated2byAcA8RotationV_tF" + }, + { + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", - "text" : "Faces" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "wrapMode" + "kind" : "identifier", + "text" : ">" }, { "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", - "text" : "WrapMode" + "text" : " " }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { - "kind" : "externalParam", - "text" : "material" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "text" : "Self" }, { "kind" : "text", - "text" : "?) -> " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/lathe(_:slices:poledetail:adddetailforflatpoles:faces:wrapmode:material:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/lathe(_:slices:poleDetail:addDetailForFlatPoles:faces:wrapMode:material:)", + "path" : "\/documentation\/euclid\/vector\/_(_:_:)-7i9lp", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_(_:_:)-7i9lp", "taskGroups" : [ ], - "title" : "lathe(_:slices:poleDetail:addDetailForFlatPoles:faces:wrapMode:material:)", - "usr" : "s:6Euclid4MeshV5lathe_6slices10poleDetail03addF12ForFlatPoles5faces8wrapMode8materialAcA4PathV_S2iSbAC5FacesOAC04WrapM0Os11AnyHashableVSgtFZ" + "title" : ">(_:_:)", + "usr" : "s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" }, { "abstract" : [ { - "text" : "Material used by a given polygon.", - "type" : "text" - }, - { - "text" : " ", - "type" : "text" - }, - { - "text" : "This can be any type that conforms to ", + "text" : "A normalized direction vector pointing forwards relative to the current rotation.", "type" : "text" - }, + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { - "code" : "Hashable", - "type" : "codeVoice" + "kind" : "keyword", + "text" : "var" }, { - "text" : ", but encoding\/decoding is only supported", - "type" : "text" + "kind" : "text", + "text" : " " }, { - "text" : " ", - "type" : "text" + "kind" : "identifier", + "text" : "forward" }, { - "text" : "for the following types: ", - "type" : "text" + "kind" : "text", + "text" : ": " }, { - "code" : "Color", - "type" : "codeVoice" - }, + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + } + ], + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/rotation\/forward", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/forward", + "taskGroups" : [ + + ], + "title" : "forward", + "usr" : "s:6Euclid8RotationV7forwardAA6VectorVvp" + }, + { + "abstract" : [ { - "text" : ", ", + "text" : "The position of the center of the polygon.", "type" : "text" }, { - "code" : "String", - "type" : "codeVoice" - }, - { - "text" : ", ", + "text" : " ", "type" : "text" }, { - "code" : "Int", - "type" : "codeVoice" - }, - { - "text" : ", ", + "text" : "This is calculated as the average of the vertex positions, and may not be equal to the center of the polygon’s", "type" : "text" }, { - "code" : "Data", - "type" : "codeVoice" - }, - { - "text" : " or any ", + "text" : " ", "type" : "text" }, { - "code" : "NSSecureCodable", - "type" : "codeVoice" + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/bounds", + "isActive" : true, + "type" : "reference" }, { - "text" : " type.", + "text" : ".", "type" : "text" } ], @@ -8352,7 +8393,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "typealias" + "text" : "var" }, { "kind" : "text", @@ -8360,26 +8401,29 @@ }, { "kind" : "identifier", - "text" : "Material" + "text" : "center" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.typeAlias", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/material-swift.typealias", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Material-swift.typealias", + "path" : "\/documentation\/euclid\/polygon\/center", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/center", "taskGroups" : [ ], - "title" : "Polygon.Material", - "usr" : "s:6Euclid7PolygonV8Materiala" + "title" : "center", + "usr" : "s:6Euclid7PolygonV6centerAA6VectorVvp" }, { - "abstract" : [ - { - "text" : "Returns a transformed copy of the value.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -8402,7 +8446,7 @@ }, { "kind" : "identifier", - "text" : "*" + "text" : "..." }, { "kind" : "text", @@ -8422,8 +8466,7 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "text" : "Self" }, { "kind" : "text", @@ -8431,79 +8474,36 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" - } - ], - "kind" : "org.swift.docc.kind.operator", - "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/*(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/*(_:_:)", - "taskGroups" : [ - - ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid6BoundsV" - }, - { - "abstract" : [ - { - "text" : "Creates a bounds from two SceneKit vectors.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "((min" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@S@SCNVector3", - "text" : "SCNVector3" - }, - { - "kind" : "text", - "text" : ", max" + "preciseIdentifier" : "s:SN", + "text" : "ClosedRange" }, { "kind" : "text", - "text" : ": " + "text" : "<" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@S@SCNVector3", - "text" : "SCNVector3" + "text" : "Self" }, { "kind" : "text", - "text" : "))" + "text" : ">" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/init(_:)-5bh7b", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-5bh7b", + "path" : "\/documentation\/euclid\/linesegment\/'...(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:_:)", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid6BoundsVyACSo10SCNVector3V3min_AE3maxt_tcfc" + "title" : "...(_:_:)", + "usr" : "s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { "abstract" : [ { - "text" : "Returns the angle divided by a numeric denominator.", + "text" : "Creates a scale transform.", "type" : "text" } ], @@ -8529,11 +8529,7 @@ }, { "kind" : "identifier", - "text" : "\/" - }, - { - "kind" : "text", - "text" : " " + "text" : "scale" }, { "kind" : "text", @@ -8541,17 +8537,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -8559,24 +8546,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/\/(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/\/(_:_:)", + "path" : "\/documentation\/euclid\/transform\/scale(_:)-55t4p", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(_:)-55t4p", "taskGroups" : [ ], - "title" : "\/(_:_:)", - "usr" : "s:6Euclid5AngleV1doiyA2C_SdtFZ" + "title" : "scale(_:)", + "usr" : "s:6Euclid9TransformV5scaleyAcA6VectorVFZ" }, { "abstract" : [ { - "text" : "The angle of rotation around the Z-axis.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -8586,7 +8573,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -8594,7 +8581,15 @@ }, { "kind" : "identifier", - "text" : "roll" + "text" : "transform" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", @@ -8602,24 +8597,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/roll", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/roll", + "path" : "\/documentation\/euclid\/transform\/transform(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transform(by:)", "taskGroups" : [ ], - "title" : "roll", - "usr" : "s:6Euclid8RotationV4rollAA5AngleVvp" + "title" : "transform(by:)", + "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid9TransformV" }, { "abstract" : [ { - "text" : "Creates a copy of the vertex with the specified normal.", + "text" : "Creates a new vertex by decoding from the given decoder.", "type" : "text" } ], @@ -8629,49 +8628,66 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "withNormal" + "kind" : "externalParam", + "text" : "from" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:s7DecoderP", + "text" : "Decoder" }, { "kind" : "text", - "text" : ") -> " + "text" : ") " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" + "kind" : "keyword", + "text" : "throws" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/withnormal(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withNormal(_:)", + "path" : "\/documentation\/euclid\/vertex\/init(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(from:)", "taskGroups" : [ ], - "title" : "withNormal(_:)", - "usr" : "s:6Euclid6VertexV10withNormalyAcA6VectorVF" + "title" : "init(from:)", + "usr" : "s:6Euclid6VertexV4fromACs7Decoder_p_tKcfc" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/bounded-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Bounded-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/bounds" + ], + "title" : "Instance Properties" + } + ], + "title" : "Bounded Implementations" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the value.", + "text" : "Create a mesh from an STL string.", "type" : "text" } ], @@ -8681,23 +8697,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "transformed" + "text" : "init" }, { "kind" : "text", - "text" : "(" + "text" : "?(" }, { "kind" : "externalParam", - "text" : "by" + "text" : "stlString" }, { "kind" : "text", @@ -8705,32 +8713,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:SS", + "text" : "String" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/transformed(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/transformed(by:)", + "path" : "\/documentation\/euclid\/mesh\/init(stlstring:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(stlString:)", "taskGroups" : [ ], - "title" : "transformed(by:)", - "usr" : "s:6Euclid13TransformablePAAE11transformed2byxAA9TransformV_tF::SYNTHESIZED::s:6Euclid5PlaneV" + "title" : "init(stlString:)", + "usr" : "s:6Euclid4MeshV9stlStringACSgSS_tcfc" }, { "abstract" : [ { - "text" : "Angle representing a zero (identity) rotation.", + "text" : "Creates a new vector by decoding from the given decoder.", "type" : "text" } ], @@ -8740,48 +8744,56 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "keyword", - "text" : "let" + "kind" : "externalParam", + "text" : "from" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "zero" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s7DecoderP", + "text" : "Decoder" }, { "kind" : "text", - "text" : ": " + "text" : ") " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "kind" : "keyword", + "text" : "throws" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/zero", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/zero", + "path" : "\/documentation\/euclid\/bounds\/init(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(from:)", "taskGroups" : [ ], - "title" : "zero", - "usr" : "s:6Euclid5AngleV4zeroACvpZ" + "title" : "init(from:)", + "usr" : "s:6Euclid6BoundsV4fromACs7Decoder_p_tKcfc" }, { "abstract" : [ { - "text" : "Creates a quaternion from raw component values.", + "text" : "A Boolean value that indicates whether the vector has a length of ", + "type" : "text" + }, + { + "code" : "1", + "type" : "codeVoice" + }, + { + "text" : ".", "type" : "text" } ], @@ -8791,69 +8803,37 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "var" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "kind" : "identifier", + "text" : "isNormalized" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/init(_:_:_:_:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:_:_:_:)", + "path" : "\/documentation\/euclid\/vector\/isnormalized", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isNormalized", "taskGroups" : [ ], - "title" : "init(_:_:_:_:)", - "usr" : "s:6Euclid10QuaternionVyACSd_S3dtcfc" + "title" : "isNormalized", + "usr" : "s:6Euclid6VectorV12isNormalizedSbvp" }, { - "abstract" : [ - { - "text" : "Creates a rounded rectangle path.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -8876,152 +8856,56 @@ }, { "kind" : "identifier", - "text" : "roundedRectangle" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "width" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "height" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "..<" }, { "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "radius" + "text" : " " }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "detail" + "text" : "Self" }, { "kind" : "text", - "text" : ": " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "color" + "preciseIdentifier" : "s:s16PartialRangeUpToV", + "text" : "PartialRangeUpTo" }, { "kind" : "text", - "text" : ": " + "text" : "<" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "text" : "Self" }, { "kind" : "text", - "text" : "?) -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "text" : ">" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/roundedrectangle(width:height:radius:detail:color:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/roundedRectangle(width:height:radius:detail:color:)", + "path" : "\/documentation\/euclid\/vector\/'.._(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/.._(_:)", "taskGroups" : [ ], - "title" : "roundedRectangle(width:height:radius:detail:color:)", - "usr" : "s:6Euclid4PathV16roundedRectangle5width6height6radius6detail5colorACSd_S2dSiAA5ColorVSgtFZ" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/transformable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Transformable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/*(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/*=(_:_:)" - ], - "title" : "Operators" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotate(by:)-1azi6", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotate(by:)-2ix6y", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scale(by:)-677dp", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scale(by:)-758tv", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-29v7y", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-6axqe", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/transform(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/transformed(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/translate(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/translated(by:)" - ], - "title" : "Instance Methods" - } - ], - "title" : "Transformable Implementations" + "title" : "..<(_:)", + "usr" : "s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:6Euclid6VectorV" }, { "abstract" : [ { - "text" : "Linearly interpolates between two path points.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -9039,20 +8923,19 @@ }, { "kind" : "identifier", - "text" : "lerp" + "text" : "scale" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", @@ -9061,28 +8944,23 @@ }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/lerp(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/lerp(_:_:)", + "path" : "\/documentation\/euclid\/bounds\/scale(by:)-7dhh3", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scale(by:)-7dhh3", "taskGroups" : [ ], - "title" : "lerp(_:_:)", - "usr" : "s:6Euclid9PathPointV4lerpyA2C_SdtF" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid6BoundsV" }, { "abstract" : [ { - "text" : "Returns a translated copy of the value.", + "text" : "The maximum coordinate of the bounds.", "type" : "text" } ], @@ -9092,7 +8970,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "let" }, { "kind" : "text", @@ -9100,49 +8978,32 @@ }, { "kind" : "identifier", - "text" : "translated" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" + "text" : "max" }, { "kind" : "text", "text" : ": " }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ") -> " - }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:6Euclid6VectorV", "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/translated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/translated(by:)", + "path" : "\/documentation\/euclid\/bounds\/max", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/max", "taskGroups" : [ ], - "title" : "translated(by:)", - "usr" : "s:6Euclid6VectorV10translated2byA2C_tF" + "title" : "max", + "usr" : "s:6Euclid6BoundsV3maxAA6VectorVvp" }, { "abstract" : [ { - "text" : "Returns a translated copy of the value.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -9152,57 +9013,72 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "translated" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "identifier", + "text" : "*=" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "keyword", + "text" : "inout" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "Self" }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:6Euclid9TransformV", "text" : "Transform" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/translated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/translated(by:)", + "path" : "\/documentation\/euclid\/transform\/*=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*=(_:_:)", "taskGroups" : [ ], - "title" : "translated(by:)", - "usr" : "s:6Euclid9TransformV10translated2byAcA6VectorV_tF" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid9TransformV" }, { "abstract" : [ { - "text" : "Returns a rotated copy of the bounds.", + "text" : "A normalized direction vector pointing rightwards relative to the current rotation.", "type" : "text" } ], @@ -9212,7 +9088,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -9220,15 +9096,7 @@ }, { "kind" : "identifier", - "text" : "rotated" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" + "text" : "right" }, { "kind" : "text", @@ -9236,33 +9104,42 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/rotated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotated(by:)", + "path" : "\/documentation\/euclid\/rotation\/right", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/right", "taskGroups" : [ ], - "title" : "rotated(by:)", - "usr" : "s:6Euclid6BoundsV7rotated2byAcA8RotationV_tF" + "title" : "right", + "usr" : "s:6Euclid8RotationV5rightAA6VectorVvp" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/line\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Equatable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/!=(_:_:)" + ], + "title" : "Operators" + } + ], + "title" : "Equatable Implementations" }, { "abstract" : [ { - "text" : "Creates a cylindrical mesh.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -9270,14 +9147,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -9288,7 +9157,7 @@ }, { "kind" : "identifier", - "text" : "cylinder" + "text" : "rotate" }, { "kind" : "text", @@ -9296,7 +9165,7 @@ }, { "kind" : "externalParam", - "text" : "radius" + "text" : "by" }, { "kind" : "text", @@ -9304,138 +9173,174 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "height" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/rotate(by:)-hj8h", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotate(by:)-hj8h", + "taskGroups" : [ + + ], + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid6VectorV" + }, + { + "abstract" : [ { - "kind" : "text", - "text" : ", " - }, + "text" : "Creates a new vector from a CoreGraphics size.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { - "kind" : "externalParam", - "text" : "slices" + "kind" : "keyword", + "text" : "init" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "preciseIdentifier" : "c:@S@CGSize", + "text" : "CGSize" }, { "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "poleDetail" - }, + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/init(_:)-6nlm", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-6nlm", + "taskGroups" : [ + + ], + "title" : "init(_:)", + "usr" : "s:6Euclid6VectorVyACSo6CGSizeVcfc" + }, + { + "abstract" : [ { - "kind" : "text", - "text" : ": " - }, + "text" : "Alignment mode to use when extruding along a path.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "kind" : "keyword", + "text" : "enum" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "faces" - }, + "kind" : "identifier", + "text" : "Alignment" + } + ], + "kind" : "org.swift.docc.kind.enumeration", + "language" : "swift", + "path" : "\/documentation\/euclid\/path\/alignment", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment", + "taskGroups" : [ { - "kind" : "text", - "text" : ": " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/axis", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/default", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/tangent" + ], + "title" : "Enumeration Cases" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", - "text" : "Faces" - }, + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/Equatable-Implementations" + ], + "title" : "Default Implementations" + } + ], + "title" : "Path.Alignment", + "usr" : "s:6Euclid4PathV9AlignmentO" + }, + { + "abstract" : [ { - "kind" : "text", - "text" : ", " - }, + "text" : "Creates a rotation around the Y axis.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { - "kind" : "externalParam", - "text" : "wrapMode" + "kind" : "keyword", + "text" : "static" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", - "text" : "WrapMode" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "material" + "kind" : "identifier", + "text" : "yaw" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : "?) -> " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" } ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/cylinder(radius:height:slices:poledetail:faces:wrapmode:material:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cylinder(radius:height:slices:poleDetail:faces:wrapMode:material:)", + "path" : "\/documentation\/euclid\/rotation\/yaw(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/yaw(_:)", "taskGroups" : [ ], - "title" : "cylinder(radius:height:slices:poleDetail:faces:wrapMode:material:)", - "usr" : "s:6Euclid4MeshV8cylinder6radius6height6slices10poleDetail5faces8wrapMode8materialACSd_SdS2iAC5FacesOAC04WrapK0Os11AnyHashableVSgtFZ" + "title" : "yaw(_:)", + "usr" : "s:6Euclid8RotationV3yawyAcA5AngleVFZ" }, { - "abstract" : [ - { - "text" : "Divides the components of the vector by the value you provide.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -9458,7 +9363,7 @@ }, { "kind" : "identifier", - "text" : "\/=" + "text" : "..." }, { "kind" : "text", @@ -9469,46 +9374,45 @@ "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : " " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:s19PartialRangeThroughV", + "text" : "PartialRangeThrough" }, { "kind" : "text", - "text" : ", " + "text" : "<" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "Self" }, { "kind" : "text", - "text" : ")" + "text" : ">" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/\/=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/\/=(_:_:)", + "path" : "\/documentation\/euclid\/linesegment\/'...(_:)-732z3", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:)-732z3", "taskGroups" : [ ], - "title" : "\/=(_:_:)", - "usr" : "s:6Euclid6VectorV2deoiyyACz_SdtFZ" + "title" : "...(_:)", + "usr" : "s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { "abstract" : [ { - "text" : "The bounds of all the path’s points.", + "text" : "Returns a translated copy of the value.", "type" : "text" } ], @@ -9518,7 +9422,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -9526,7 +9430,15 @@ }, { "kind" : "identifier", - "text" : "bounds" + "text" : "translated" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", @@ -9534,77 +9446,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/path\/bounds", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/bounds", - "taskGroups" : [ - - ], - "title" : "bounds", - "usr" : "s:6Euclid4PathV6boundsAA6BoundsVvp" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/transformable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Transformable-Implementations", - "taskGroups" : [ + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/*(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/*=(_:_:)" - ], - "title" : "Operators" + "kind" : "text", + "text" : ") -> " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotate(by:)-4cg0v", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotate(by:)-r7j4", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scale(by:)-4egi6", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scale(by:)-7pxnt", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-4wtbg", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-7e3o7", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/transform(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/transformed(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/translate(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/translated(by:)" - ], - "title" : "Instance Methods" + "kind" : "typeIdentifier", + "text" : "Self" } ], - "title" : "Transformable Implementations" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/bounded-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Bounded-Implementations", + "path" : "\/documentation\/euclid\/transformable\/translated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/translated(by:)", "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/bounds" - ], - "title" : "Instance Properties" - } + ], - "title" : "Bounded Implementations" + "title" : "translated(by:)", + "usr" : "s:6Euclid13TransformableP10translated2byxAA6VectorV_tF" }, { "abstract" : [ { - "text" : "Creates a corner path point at the specified position.", + "text" : "Efficiently strokes an array of paths, avoiding duplicate work.", "type" : "text" } ], @@ -9630,24 +9497,24 @@ }, { "kind" : "identifier", - "text" : "point" + "text" : "stroke" }, { "kind" : "text", - "text" : "(" + "text" : "([" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" }, { "kind" : "text", - "text" : ", " + "text" : "], " }, { "kind" : "externalParam", - "text" : "texcoord" + "text" : "width" }, { "kind" : "text", @@ -9655,16 +9522,16 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : "?, " + "text" : ", " }, { "kind" : "externalParam", - "text" : "color" + "text" : "detail" }, { "kind" : "text", @@ -9672,51 +9539,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : "?) -> " + "text" : ", " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" - } - ], - "kind" : "org.swift.docc.kind.typeMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/point(_:texcoord:color:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/point(_:texcoord:color:)", - "taskGroups" : [ - - ], - "title" : "point(_:texcoord:color:)", - "usr" : "s:6Euclid9PathPointV5point_8texcoord5colorAcA6VectorV_AHSgAA5ColorVSgtFZ" - }, - { - "abstract" : [ + "kind" : "externalParam", + "text" : "material" + }, { - "text" : "The direction of the line segment as a normalized vector.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "text", + "text" : ": " + }, { - "kind" : "keyword", - "text" : "var" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : " " + "text" : "?, " }, { - "kind" : "identifier", - "text" : "direction" + "kind" : "externalParam", + "text" : "isCancelled" }, { "kind" : "text", @@ -9724,24 +9573,41 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/direction", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/direction", + "path" : "\/documentation\/euclid\/mesh\/stroke(_:width:detail:material:iscancelled:)-9mn9o", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:isCancelled:)-9mn9o", "taskGroups" : [ ], - "title" : "direction", - "usr" : "s:6Euclid11LineSegmentV9directionAA6VectorVvp" + "title" : "stroke(_:width:detail:material:isCancelled:)", + "usr" : "s:6Euclid4MeshV6stroke_5width6detail8material11isCancelledACSayAA4PathVG_SdSis11AnyHashableVSgSbyXEtFZ" }, { "abstract" : [ { - "text" : "The polygons in the mesh, grouped by material.", + "text" : "Creates a mesh from a RealityKit ", + "type" : "text" + }, + { + "code" : "MeshResource", + "type" : "codeVoice" + }, + { + "text" : ".", "type" : "text" } ], @@ -9751,28 +9617,28 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "polygonsByMaterial" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:17RealityFoundation12MeshResourceC", + "text" : "MeshResource" }, { "kind" : "text", - "text" : ": [" + "text" : ", " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "kind" : "externalParam", + "text" : "materials" }, { "kind" : "text", - "text" : "? : [" + "text" : ": [" }, { "kind" : "typeIdentifier", @@ -9781,23 +9647,48 @@ }, { "kind" : "text", - "text" : "]]" + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", + "text" : "Material" + }, + { + "kind" : "text", + "text" : "?])" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/polygonsbymaterial", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/polygonsByMaterial", + "path" : "\/documentation\/euclid\/mesh\/init(_:materials:)-4k8gs", + "platforms" : [ + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "15.0", + "name" : "iOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "12.0", + "name" : "macOS", + "unavailable" : false + } + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materials:)-4k8gs", "taskGroups" : [ ], - "title" : "polygonsByMaterial", - "usr" : "s:6Euclid4MeshV18polygonsByMaterialSDys11AnyHashableVSgSayAA7PolygonVGGvp" + "title" : "init(_:materials:)", + "usr" : "s:6Euclid4MeshV_9materialsAC17RealityFoundation0B8ResourceC_Says11AnyHashableVSgGtcfc" }, { "abstract" : [ { - "text" : "Encodes this transform into the given encoder.", + "text" : "Returns a translated copy of the value.", "type" : "text" } ], @@ -9815,7 +9706,7 @@ }, { "kind" : "identifier", - "text" : "encode" + "text" : "translated" }, { "kind" : "text", @@ -9823,7 +9714,7 @@ }, { "kind" : "externalParam", - "text" : "to" + "text" : "by" }, { "kind" : "text", @@ -9831,50 +9722,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7EncoderP", - "text" : "Encoder" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ") " + "text" : ") -> " }, { - "kind" : "keyword", - "text" : "throws" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/encode(to:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/encode(to:)", + "path" : "\/documentation\/euclid\/vector\/translated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/translated(by:)", "taskGroups" : [ ], - "title" : "encode(to:)", - "usr" : "s:6Euclid9TransformV6encode2toys7Encoder_p_tKF" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/decodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Decodable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(from:)" - ], - "title" : "Initializers" - } - ], - "title" : "Decodable Implementations" + "title" : "translated(by:)", + "usr" : "s:6Euclid6VectorV10translated2byA2C_tF" }, { "abstract" : [ { - "text" : "Creates a linear path from a start and end point.", + "text" : "The alpha component of the color.", "type" : "text" } ], @@ -9884,15 +9758,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -9900,33 +9766,44 @@ }, { "kind" : "identifier", - "text" : "line" + "text" : "a" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ", " - }, + "preciseIdentifier" : "s:Sd", + "text" : "Double" + } + ], + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/color\/a", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/a", + "taskGroups" : [ + + ], + "title" : "a", + "usr" : "s:6Euclid5ColorV1aSdvp" + }, + { + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "keyword", + "text" : "var" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "color" + "kind" : "identifier", + "text" : "localizedDescription" }, { "kind" : "text", @@ -9934,33 +9811,54 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:SS", + "text" : "String" + } + ], + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/ioerror\/localizeddescription", + "platforms" : [ + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "8.0", + "name" : "iOS", + "unavailable" : false }, { - "kind" : "text", - "text" : "?) -> " + "beta" : false, + "deprecated" : false, + "introducedAt" : "10.10", + "name" : "macOS", + "unavailable" : false }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "beta" : false, + "deprecated" : false, + "introducedAt" : "9.0", + "name" : "tvOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "2.0", + "name" : "watchOS", + "unavailable" : false } ], - "kind" : "org.swift.docc.kind.typeMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/path\/line(_:_:color:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/line(_:_:color:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/localizedDescription", "taskGroups" : [ ], - "title" : "line(_:_:color:)", - "usr" : "s:6Euclid4PathV4line__5colorAcA6VectorV_AgA5ColorVSgtFZ" + "title" : "localizedDescription", + "usr" : "s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:6Euclid4MeshV7IOErrorV" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -9978,7 +9876,7 @@ }, { "kind" : "identifier", - "text" : "scaled" + "text" : "rotate" }, { "kind" : "text", @@ -9994,33 +9892,31 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/scaled(by:)-90bab", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-90bab", + "path" : "\/documentation\/euclid\/bounds\/rotate(by:)-ntgj", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotate(by:)-ntgj", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid4MeshV6scaled2byAcA6VectorV_tF" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid6BoundsV" }, { "abstract" : [ { - "text" : "Returns a translated copy of the value.", + "text" : "Linearly interpolate between two colors.", "type" : "text" } ], @@ -10038,24 +9934,25 @@ }, { "kind" : "identifier", - "text" : "translated" + "text" : "lerp" }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -10063,24 +9960,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/translated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/translated(by:)", + "path" : "\/documentation\/euclid\/color\/lerp(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/lerp(_:_:)", "taskGroups" : [ ], - "title" : "translated(by:)", - "usr" : "s:6Euclid5PlaneV10translated2byAcA6VectorV_tF" + "title" : "lerp(_:_:)", + "usr" : "s:6Euclid5ColorV4lerpyA2C_SdtF" }, { "abstract" : [ { - "text" : "The normalized direction of the line.", + "text" : "Creates a ", + "type" : "text" + }, + { + "code" : "Vector", + "type" : "codeVoice" + }, + { + "text" : " from a simd vector 2.", "type" : "text" } ], @@ -10090,40 +9995,36 @@ "fragments" : [ { "kind" : "keyword", - "text" : "let" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "direction" + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@T@simd_float2", + "text" : "simd_float2" }, { "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/line\/direction", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/direction", + "path" : "\/documentation\/euclid\/vector\/init(_:)-7r7et", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-7r7et", "taskGroups" : [ ], - "title" : "direction", - "usr" : "s:6Euclid4LineV9directionAA6VectorVvp" + "title" : "init(_:)", + "usr" : "s:6Euclid6VectorVyACs5SIMD2VySfGcfc" }, { "abstract" : [ { - "text" : "Input\/output error.", + "text" : "Performs a spherical interpolation between two quaternions.", "type" : "text" } ], @@ -10133,7 +10034,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "struct" + "text" : "func" }, { "kind" : "text", @@ -10141,96 +10042,61 @@ }, { "kind" : "identifier", - "text" : "IOError" - } - ], - "kind" : "org.swift.docc.kind.structure", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/ioerror", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorUserInfo" - ], - "title" : "Instance Properties" + "text" : "slerp" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/CustomNSError-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/Error-Implementations" - ], - "title" : "Default Implementations" - } - ], - "title" : "Mesh.IOError", - "usr" : "s:6Euclid4MeshV7IOErrorV" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Equatable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/!=(_:_:)" - ], - "title" : "Operators" - } - ], - "title" : "Equatable Implementations" - }, - { - "abstract" : [ - { - "text" : "A Boolean value that indicates whether the mesh includes texture coordinates.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "text", + "text" : "(" + }, { - "kind" : "keyword", - "text" : "var" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "identifier", - "text" : "hasTexcoords" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ": " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/hastexcoords", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasTexcoords", + "path" : "\/documentation\/euclid\/quaternion\/slerp(_:_:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/slerp(_:_:)", "taskGroups" : [ ], - "title" : "hasTexcoords", - "usr" : "s:6Euclid4MeshV12hasTexcoordsSbvp" + "title" : "slerp(_:_:)", + "usr" : "s:6Euclid10QuaternionV5slerpyA2C_SdtF" }, { "abstract" : [ { - "text" : "Returns the flip-side of the plane.", + "text" : "Returns a new mesh created by subtracting the volume of the", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "mesh parameter from the receiver.", "type" : "text" } ], @@ -10248,109 +10114,126 @@ }, { "kind" : "identifier", - "text" : "inverted" + "text" : "subtracting" }, { "kind" : "text", - "text" : "() -> " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "isCancelled" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/inverted()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/inverted()", + "path" : "\/documentation\/euclid\/mesh\/subtracting(_:iscancelled:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/subtracting(_:isCancelled:)", "taskGroups" : [ ], - "title" : "inverted()", - "usr" : "s:6Euclid5PlaneV8invertedACyF" + "title" : "subtracting(_:isCancelled:)", + "usr" : "s:6Euclid4MeshV11subtracting_11isCancelledA2C_SbyXEtF" }, { - "abstract" : [ - { - "text" : "Loads a mesh from a file, with optional material mapping.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "url" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:10Foundation3URLV", - "text" : "URL" + "kind" : "identifier", + "text" : "+=" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "materialLookup" + "kind" : "text", + "text" : "(" + }, + { + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : ": ((" + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s11AnyHashableV", - "text" : "AnyHashable" + "text" : "Self" }, { "kind" : "text", - "text" : "?) -> " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "text" : "Self" }, { "kind" : "text", - "text" : "?)?) " - }, - { - "kind" : "keyword", - "text" : "throws" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/init(url:materiallookup:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(url:materialLookup:)", + "path" : "\/documentation\/euclid\/angle\/+=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+=(_:_:)", "taskGroups" : [ ], - "title" : "init(url:materialLookup:)", - "usr" : "s:6Euclid4MeshV3url14materialLookupAC10Foundation3URLV_s11AnyHashableVSgAKcSgtKcfc" + "title" : "+=(_:_:)", + "usr" : "s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" }, { "abstract" : [ { - "text" : "Returns a translated copy of the value.", + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -10368,7 +10251,7 @@ }, { "kind" : "identifier", - "text" : "translated" + "text" : "transformed" }, { "kind" : "text", @@ -10384,8 +10267,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", @@ -10393,24 +10276,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/translated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/translated(by:)", + "path" : "\/documentation\/euclid\/pathpoint\/transformed(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/transformed(by:)", "taskGroups" : [ ], - "title" : "translated(by:)", - "usr" : "s:6Euclid7PolygonV10translated2byAcA6VectorV_tF" + "title" : "transformed(by:)", + "usr" : "s:6Euclid9PathPointV11transformed2byAcA9TransformV_tF" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "The position of the vertex.", "type" : "text" } ], @@ -10420,7 +10303,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -10428,49 +10311,32 @@ }, { "kind" : "identifier", - "text" : "scaled" + "text" : "position" }, { "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" - }, - { - "kind" : "text", - "text" : ": " + "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:6Euclid6VectorV", "text" : "Vector" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/scaled(by:)-9vwak", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-9vwak", + "path" : "\/documentation\/euclid\/vertex\/position", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/position", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid9TransformV6scaled2byAcA6VectorV_tF" + "title" : "position", + "usr" : "s:6Euclid6VertexV8positionAA6VectorVvp" }, { "abstract" : [ { - "text" : "A polygon in 3D space.", + "text" : "Merges this polygon with another, removing redundant vertices where possible.", "type" : "text" } ], @@ -10480,7 +10346,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "struct" + "text" : "func" }, { "kind" : "text", @@ -10488,152 +10354,148 @@ }, { "kind" : "identifier", - "text" : "Polygon" - } - ], - "kind" : "org.swift.docc.kind.structure", - "language" : "swift", - "path" : "\/documentation\/euclid\/polygon", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(_:material:)-8gsiw", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(_:material:)-9mns5", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(shape:material:)" - ], - "title" : "Creating Polygons" + "text" : "merge" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/vertices", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/plane", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/bounds", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/center", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/material-swift.property", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/isConvex", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasTexcoords", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasVertexColors", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/orderedEdges", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/undirectedEdges", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/area" - ], - "title" : "Polygon Properties" + "kind" : "text", + "text" : "(" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/containsPoint(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/edges(intersecting:)" - ], - "title" : "Comparing Polygons" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-69m6m", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-8sjrv", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/translated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/transformed(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/merge(_:ensureConvex:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/inverted()", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/withMaterial(_:)" - ], - "title" : "Transforming Polygons" + "kind" : "text", + "text" : ", " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/clip(to:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/split(along:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/tessellate(maxSides:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/triangulate()" - ], - "title" : "Splitting Polygons" + "kind" : "externalParam", + "text" : "ensureConvex" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasVertexNormals" - ], - "title" : "Instance Properties" + "kind" : "text", + "text" : ": " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/mapTexcoords(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/mapVertexColors(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/with(material:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/withoutTexcoords()" - ], - "title" : "Instance Methods" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Material-swift.typealias" - ], - "title" : "Type Aliases" + "kind" : "text", + "text" : ") -> " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/codableClasses" - ], - "title" : "Type Properties" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Bounded-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Decodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Encodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Equatable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Transformable-Implementations" - ], - "title" : "Default Implementations" + "kind" : "text", + "text" : "?" } ], - "title" : "Polygon", - "usr" : "s:6Euclid7PolygonV" + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/polygon\/merge(_:ensureconvex:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/merge(_:ensureConvex:)", + "taskGroups" : [ + + ], + "title" : "merge(_:ensureConvex:)", + "usr" : "s:6Euclid7PolygonV5merge_12ensureConvexACSgAC_SbtF" }, { + "abstract" : [ + { + "text" : "Creates a new mesh by decoding from the given decoder.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "keyword", - "text" : "func" + "kind" : "externalParam", + "text" : "from" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "!=" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s7DecoderP", + "text" : "Decoder" + }, + { + "kind" : "text", + "text" : ") " + }, + { + "kind" : "keyword", + "text" : "throws" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/init(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(from:)", + "taskGroups" : [ + + ], + "title" : "init(from:)", + "usr" : "s:6Euclid4MeshV4fromACs7Decoder_p_tKcfc" + }, + { + "abstract" : [ + { + "text" : "Returns the angle between this vector and another.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", "text" : " " }, + { + "kind" : "identifier", + "text" : "angle" + }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "externalParam", + "text" : "with" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -10641,24 +10503,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/!=(_:_:)", + "path" : "\/documentation\/euclid\/vector\/angle(with:)-29paf", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/angle(with:)-29paf", "taskGroups" : [ ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid5ColorV" + "title" : "angle(with:)", + "usr" : "s:6Euclid6VectorV5angle4withAA5AngleVAC_tF" }, { "abstract" : [ { - "text" : "The color of the path point (optional).", + "text" : "Curve or uncurve the point.", "type" : "text" } ], @@ -10668,7 +10530,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -10676,36 +10538,41 @@ }, { "kind" : "identifier", - "text" : "color" + "text" : "curved" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" }, { "kind" : "text", - "text" : "?" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/color", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/color", + "path" : "\/documentation\/euclid\/pathpoint\/curved(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curved(_:)", "taskGroups" : [ ], - "title" : "color", - "usr" : "s:6Euclid9PathPointV5colorAA5ColorVSgvp" + "title" : "curved(_:)", + "usr" : "s:6Euclid9PathPointV6curvedyACSbF" }, { "abstract" : [ { - "text" : "Returns a vector with its components divided by the specified value.", + "text" : "Returns a rotated copy of the value.", "type" : "text" } ], @@ -10715,70 +10582,117 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "func" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "func" + "kind" : "identifier", + "text" : "rotated" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "\/" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : " " + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : "(" + "text" : ") -> " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:6Euclid6VectorV", "text" : "Vector" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/rotated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotated(by:)", + "taskGroups" : [ + + ], + "title" : "rotated(by:)", + "usr" : "s:6Euclid6VectorV7rotated2byAcA8RotationV_tF" + }, + { + "abstract" : [ + { + "text" : "Creates a rotation from a quaternion.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/\/(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/\/(_:_:)", + "path" : "\/documentation\/euclid\/rotation\/init(_:)-5w6mn", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-5w6mn", "taskGroups" : [ ], - "title" : "\/(_:_:)", - "usr" : "s:6Euclid6VectorV1doiyA2C_SdtFZ" + "title" : "init(_:)", + "usr" : "s:6Euclid8RotationVyAcA10QuaternionVcfc" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/path\/decodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Decodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(from:)" + ], + "title" : "Initializers" + } + ], + "title" : "Decodable Implementations" }, { "abstract" : [ { - "text" : "Creates a mesh by extruding a path along its face normal.", + "text" : "Returns a new vertex with the normal inverted.", "type" : "text" } ], @@ -10788,12 +10702,41 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "func" }, { "kind" : "text", "text" : " " }, + { + "kind" : "identifier", + "text" : "inverted" + }, + { + "kind" : "text", + "text" : "() -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/vertex\/inverted()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/inverted()", + "taskGroups" : [ + + ], + "title" : "inverted()", + "usr" : "s:6Euclid6VertexV8invertedACyF" + }, + { + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { "kind" : "keyword", "text" : "func" @@ -10804,7 +10747,7 @@ }, { "kind" : "identifier", - "text" : "extrude" + "text" : "intersect" }, { "kind" : "text", @@ -10812,8 +10755,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" }, { "kind" : "text", @@ -10821,7 +10764,7 @@ }, { "kind" : "externalParam", - "text" : "depth" + "text" : "isCancelled" }, { "kind" : "text", @@ -10829,42 +10772,71 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { - "kind" : "externalParam", - "text" : "twist" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/intersect(_:iscancelled:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersect(_:isCancelled:)", + "taskGroups" : [ + + ], + "title" : "intersect(_:isCancelled:)", + "usr" : "s:6Euclid4MeshV9intersect_11isCancelledA2C_SbyXEtF" + }, + { + "abstract" : [ + { + "text" : "Creates a mesh by filling a path to form one or more polygons.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "sections" + "kind" : "identifier", + "text" : "fill" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" }, { "kind" : "text", @@ -10912,89 +10884,81 @@ ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/extrude(_:depth:twist:sections:faces:material:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:depth:twist:sections:faces:material:)", + "path" : "\/documentation\/euclid\/mesh\/fill(_:faces:material:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/fill(_:faces:material:)", "taskGroups" : [ ], - "title" : "extrude(_:depth:twist:sections:faces:material:)", - "usr" : "s:6Euclid4MeshV7extrude_5depth5twist8sections5faces8materialAcA4PathV_SdAA5AngleVSiAC5FacesOs11AnyHashableVSgtFZ" + "title" : "fill(_:faces:material:)", + "usr" : "s:6Euclid4MeshV4fill_5faces8materialAcA4PathV_AC5FacesOs11AnyHashableVSgtFZ" }, { - "abstract" : [ - { - "text" : "Returns a Boolean value that indicates whether a point lies on the plane.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "containsPoint" + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "identifier", + "text" : "white" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/containspoint(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/containsPoint(_:)", + "path" : "\/documentation\/euclid\/color\/white", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/white", "taskGroups" : [ ], - "title" : "containsPoint(_:)", - "usr" : "s:6Euclid5PlaneV13containsPointySbAA6VectorVF" + "title" : "white", + "usr" : "s:6Euclid5ColorV5whiteACvpZ" }, { - "abstract" : [ - { - "text" : "Display the 3D shapes you created with meshes.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], - "kind" : "org.swift.docc.kind.article", + "kind" : "org.swift.docc.kind.collectionGroup", "language" : "swift", - "path" : "\/documentation\/euclid\/renderingmeshes", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/RenderingMeshes", + "path" : "\/documentation\/euclid\/pathpoint\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Equatable-Implementations", "taskGroups" : [ - + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/!=(_:_:)" + ], + "title" : "Operators" + } ], - "title" : "Rendering Meshes" + "title" : "Equatable Implementations" }, { "abstract" : [ { - "text" : "Returns the angle between this vector and another.", + "text" : "The identity quaternion (i.e. no rotation).", "type" : "text" } ], @@ -11004,23 +10968,23 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "angle" + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "with" + "kind" : "identifier", + "text" : "identity" }, { "kind" : "text", @@ -11028,33 +10992,27 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/angle(with:)-29paf", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/angle(with:)-29paf", + "path" : "\/documentation\/euclid\/quaternion\/identity", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/identity", "taskGroups" : [ ], - "title" : "angle(with:)", - "usr" : "s:6Euclid6VectorV5angle4withAA5AngleVAC_tF" + "title" : "identity", + "usr" : "s:6Euclid10QuaternionV8identityACvpZ" }, { "abstract" : [ { - "text" : "Expands this bounds (if necessary) to contain the specified bounds.", + "text" : "Creates a size\/scale vector from an array of two coordinates.", "type" : "text" } ], @@ -11064,44 +11022,44 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "formUnion" + "kind" : "externalParam", + "text" : "size" }, { "kind" : "text", - "text" : "(" + "text" : ": [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ")" + "text" : "])" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/formunion(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/formUnion(_:)", + "path" : "\/documentation\/euclid\/vector\/init(size:)-8b34m", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(size:)-8b34m", "taskGroups" : [ ], - "title" : "formUnion(_:)", - "usr" : "s:6Euclid6BoundsV9formUnionyyACF" + "title" : "init(size:)", + "usr" : "s:6Euclid6VectorV4sizeACSaySdG_tcfc" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Closes the path by joining last point to first.", "type" : "text" } ], @@ -11109,14 +11067,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -11127,56 +11077,32 @@ }, { "kind" : "identifier", - "text" : "*=" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "keyword", - "text" : "inout" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "text" : "closed" }, { "kind" : "text", - "text" : ", " + "text" : "() -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/*=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/*=(_:_:)", + "path" : "\/documentation\/euclid\/path\/closed()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/closed()", "taskGroups" : [ ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid4PathV" + "title" : "closed()", + "usr" : "s:6Euclid4PathV6closedACyF" }, { "abstract" : [ { - "text" : "Creates a bounds with min and max coordinates.", + "text" : "Texture is shrink-wrapped.", "type" : "text" } ], @@ -11186,61 +11112,31 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "min" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "max" + "text" : "case" }, { "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : " " }, { - "kind" : "text", - "text" : ")" + "kind" : "identifier", + "text" : "shrink" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.enumerationCase", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/init(min:max:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(min:max:)", + "path" : "\/documentation\/euclid\/mesh\/wrapmode\/shrink", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/shrink", "taskGroups" : [ ], - "title" : "init(min:max:)", - "usr" : "s:6Euclid6BoundsV3min3maxAcA6VectorV_AGtcfc" + "title" : "Mesh.WrapMode.shrink", + "usr" : "s:6Euclid4MeshV8WrapModeO6shrinkyA2EmF" }, { "abstract" : [ { - "text" : "Creates a spherical mesh.", + "text" : "Creates an angle representing the trigonometric arc sine of the value you provide.", "type" : "text" } ], @@ -11266,20 +11162,12 @@ }, { "kind" : "identifier", - "text" : "sphere" + "text" : "asin" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "externalParam", - "text" : "radius" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:Sd", @@ -11287,96 +11175,54 @@ }, { "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "slices" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "stacks" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" - }, - { - "kind" : "text", - "text" : "?, " - }, - { - "kind" : "externalParam", - "text" : "poleDetail" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "faces" - }, - { - "kind" : "text", - "text" : ": " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", - "text" : "Faces" - }, + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" + } + ], + "kind" : "org.swift.docc.kind.typeMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/angle\/asin(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/asin(_:)", + "taskGroups" : [ + + ], + "title" : "asin(_:)", + "usr" : "s:6Euclid5AngleV4asinyACSdFZ" + }, + { + "abstract" : [ { - "kind" : "text", - "text" : ", " - }, + "text" : "Returns a transformed copy of the value.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { - "kind" : "externalParam", - "text" : "wrapMode" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", - "text" : "WrapMode" + "kind" : "identifier", + "text" : "transformed" }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { "kind" : "externalParam", - "text" : "material" + "text" : "by" }, { "kind" : "text", @@ -11384,33 +11230,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : "?) -> " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/sphere(radius:slices:stacks:poledetail:faces:wrapmode:material:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/sphere(radius:slices:stacks:poleDetail:faces:wrapMode:material:)", + "path" : "\/documentation\/euclid\/transformable\/transformed(by:)-9m686", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transformed(by:)-9m686", "taskGroups" : [ ], - "title" : "sphere(radius:slices:stacks:poleDetail:faces:wrapMode:material:)", - "usr" : "s:6Euclid4MeshV6sphere6radius6slices6stacks10poleDetail5faces8wrapMode8materialACSd_S2iSgSiAC5FacesOAC04WrapK0Os11AnyHashableVSgtFZ" + "title" : "transformed(by:)", + "usr" : "s:6Euclid13TransformableP11transformed2byxAA9TransformV_tF" }, { "abstract" : [ { - "text" : "The array of vertices that make up the polygon.", + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -11420,7 +11265,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -11428,36 +11273,48 @@ }, { "kind" : "identifier", - "text" : "vertices" + "text" : "transformed" }, { "kind" : "text", - "text" : ": [" + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "by" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : "]" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/vertices", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/vertices", + "path" : "\/documentation\/euclid\/bounds\/transformed(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/transformed(by:)", "taskGroups" : [ ], - "title" : "vertices", - "usr" : "s:6Euclid7PolygonV8verticesSayAA6VertexVGvp" + "title" : "transformed(by:)", + "usr" : "s:6Euclid13TransformablePAAE11transformed2byxAA9TransformV_tF::SYNTHESIZED::s:6Euclid6BoundsV" }, { "abstract" : [ { - "text" : "A Boolean indicating whether the point is curved or sharp.", + "text" : "Creates a new identity rotation.", "type" : "text" } ], @@ -11467,40 +11324,27 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "isCurved" + "text" : "init" }, { "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "text" : "()" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/iscurved", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/isCurved", + "path" : "\/documentation\/euclid\/rotation\/init()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init()", "taskGroups" : [ ], - "title" : "isCurved", - "usr" : "s:6Euclid9PathPointV8isCurvedSbvp" + "title" : "init()", + "usr" : "s:6Euclid8RotationVACycfc" }, { "abstract" : [ { - "text" : "The plane upon which all path points lie. Will be nil for non-planar paths.", + "text" : "Creates a rotation around the X axis.", "type" : "text" } ], @@ -11510,7 +11354,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -11518,36 +11370,41 @@ }, { "kind" : "identifier", - "text" : "plane" + "text" : "pitch" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : "?" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/plane", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/plane", + "path" : "\/documentation\/euclid\/rotation\/pitch(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/pitch(_:)", "taskGroups" : [ ], - "title" : "plane", - "usr" : "s:6Euclid4PathV5planeAA5PlaneVSgvp" + "title" : "pitch(_:)", + "usr" : "s:6Euclid8RotationV5pitchyAcA5AngleVFZ" }, { "abstract" : [ { - "text" : "Split the polygon along a plane.", + "text" : "A combined rotation, position, and scale that can be applied to a 3D object.", "type" : "text" } ], @@ -11557,7 +11414,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "struct" }, { "kind" : "text", @@ -11565,65 +11422,78 @@ }, { "kind" : "identifier", - "text" : "split" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "along" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" - }, + "text" : "Transform" + } + ], + "kind" : "org.swift.docc.kind.structure", + "language" : "swift", + "path" : "\/documentation\/euclid\/transform", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform", + "taskGroups" : [ { - "kind" : "text", - "text" : ") -> (front" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(offset:rotation:scale:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/offset(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotation(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(_:)-55t4p", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(_:)-7a30s", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transform(from:)" + ], + "title" : "Creating Transforms" }, { - "kind" : "text", - "text" : ": [" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/identity" + ], + "title" : "Default Transforms" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotation", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/offset", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/isFlipped", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/isIdentity" + ], + "title" : "Transform properties" }, { - "kind" : "text", - "text" : "], back" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-19ukh", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-9vwak", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/translated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transformed(by:)" + ], + "title" : "Combining Transforms" }, { - "kind" : "text", - "text" : ": [" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*=(_:_:)" + ], + "title" : "Operators" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-7hvb3", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-83oy3", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-cys2" + ], + "title" : "Initializers" }, { - "kind" : "text", - "text" : "])" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Decodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Encodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Equatable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Transformable-Implementations" + ], + "title" : "Default Implementations" } ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/split(along:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/split(along:)", - "taskGroups" : [ - - ], - "title" : "split(along:)", - "usr" : "s:6Euclid7PolygonV5split5alongSayACG5front_AF4backtAA5PlaneV_tF" + "title" : "Transform", + "usr" : "s:6Euclid9TransformV" }, { "abstract" : [ @@ -11662,8 +11532,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", @@ -11672,15 +11542,74 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/rotate(by:)-4cg0v", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotate(by:)-4cg0v", + "path" : "\/documentation\/euclid\/plane\/rotate(by:)-1azi6", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotate(by:)-1azi6", "taskGroups" : [ ], "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid9PathPointV" + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid5PlaneV" + }, + { + "abstract" : [ + { + "text" : "Deprecated.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "points" + }, + { + "kind" : "text", + "text" : ": [" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : "])" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/bounds\/init(points:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(points:)", + "taskGroups" : [ + + ], + "title" : "init(points:)", + "usr" : "s:6Euclid6BoundsV6pointsACSayAA6VectorVG_tcfc" }, { + "abstract" : [ + { + "text" : "A plane located at the origin, aligned with the X and Y axes.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -11703,7 +11632,7 @@ }, { "kind" : "identifier", - "text" : "clear" + "text" : "xy" }, { "kind" : "text", @@ -11711,24 +11640,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" } ], "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/clear", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/clear", + "path" : "\/documentation\/euclid\/plane\/xy", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/xy", "taskGroups" : [ ], - "title" : "clear", - "usr" : "s:6Euclid5ColorV5clearACvpZ" + "title" : "xy", + "usr" : "s:6Euclid5PlaneV2xyACvpZ" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Creates a copy of the vertex with the specified position.", "type" : "text" } ], @@ -11746,44 +11675,41 @@ }, { "kind" : "identifier", - "text" : "transform" + "text" : "withPosition" }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ": " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/transform(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/transform(by:)", + "path" : "\/documentation\/euclid\/vertex\/withposition(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withPosition(_:)", "taskGroups" : [ ], - "title" : "transform(by:)", - "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid4PathV" + "title" : "withPosition(_:)", + "usr" : "s:6Euclid6VertexV12withPositionyAcA6VectorVF" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "Encodes this transform into the given encoder.", "type" : "text" } ], @@ -11801,7 +11727,7 @@ }, { "kind" : "identifier", - "text" : "scaled" + "text" : "encode" }, { "kind" : "text", @@ -11809,7 +11735,7 @@ }, { "kind" : "externalParam", - "text" : "by" + "text" : "to" }, { "kind" : "text", @@ -11817,33 +11743,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:s7EncoderP", + "text" : "Encoder" }, { "kind" : "text", - "text" : ") -> " + "text" : ") " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" + "kind" : "keyword", + "text" : "throws" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/scaled(by:)-37r1v", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-37r1v", + "path" : "\/documentation\/euclid\/transform\/encode(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/encode(to:)", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid11LineSegmentV6scaled2byACSd_tF" + "title" : "encode(to:)", + "usr" : "s:6Euclid9TransformV6encode2toys7Encoder_p_tKF" }, { "abstract" : [ { - "text" : "An array of vertices suitable for constructing a polygon from the path.", + "text" : "An angle or 2D rotation.", "type" : "text" } ], @@ -11853,7 +11778,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "struct" }, { "kind" : "text", @@ -11861,36 +11786,131 @@ }, { "kind" : "identifier", - "text" : "faceVertices" + "text" : "Angle" + } + ], + "kind" : "org.swift.docc.kind.structure", + "language" : "swift", + "path" : "\/documentation\/euclid\/angle", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(degrees:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(radians:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/degrees(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/radians(_:)" + ], + "title" : "Creating Angles" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/zero", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/halfPi", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/pi", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/twoPi" + ], + "title" : "Default Angles" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/degrees", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/radians", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/isZero" + ], + "title" : "Angle Properties" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/acos(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/asin(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/atan(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/atan2(y:x:)" + ], + "title" : "Computing Angles" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+=(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-=(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*(_:_:)-2ew65", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*(_:_:)-8l78z", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*=(_:_:)" + ], + "title" : "Operators" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/\/(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/\/=(_:_:)" + ], + "title" : "Operators" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/AdditiveArithmetic-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Comparable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Decodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Encodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Equatable-Implementations" + ], + "title" : "Default Implementations" + } + ], + "title" : "Angle", + "usr" : "s:6Euclid5AngleV" + }, + { + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" }, { "kind" : "text", - "text" : ": [" + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "polygon" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" }, { "kind" : "text", - "text" : "]?" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/facevertices", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/faceVertices", + "path" : "\/documentation\/euclid\/path\/init(polygon:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(polygon:)", "taskGroups" : [ ], - "title" : "faceVertices", - "usr" : "s:6Euclid4PathV12faceVerticesSayAA6VertexVGSgvp" + "title" : "init(polygon:)", + "usr" : "s:6Euclid4PathV7polygonAcA7PolygonV_tcfc" }, { "abstract" : [ { - "text" : "Creates a new path point by decoding from the given decoder.", + "text" : "Creates a new line by decoding from the given decoder.", "type" : "text" } ], @@ -11930,18 +11950,18 @@ ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/init(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(from:)", + "path" : "\/documentation\/euclid\/line\/init(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(from:)", "taskGroups" : [ ], "title" : "init(from:)", - "usr" : "s:6Euclid9PathPointV4fromACs7Decoder_p_tKcfc" + "usr" : "s:6Euclid4LineV4fromACs7Decoder_p_tKcfc" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -11949,14 +11969,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -11967,56 +11979,48 @@ }, { "kind" : "identifier", - "text" : "*=" - }, - { - "kind" : "text", - "text" : " " + "text" : "transformed" }, { "kind" : "text", "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" - }, - { - "kind" : "text", - "text" : ")" + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/*=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/*=(_:_:)", + "path" : "\/documentation\/euclid\/polygon\/transformed(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/transformed(by:)", "taskGroups" : [ ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid4MeshV" + "title" : "transformed(by:)", + "usr" : "s:6Euclid13TransformablePAAE11transformed2byxAA9TransformV_tF::SYNTHESIZED::s:6Euclid7PolygonV" }, { "abstract" : [ { - "text" : "Returns a copy of the mesh with the new material applied to all polygons.", + "text" : "Computes the convex hull of a set of paths.", "type" : "text" } ], @@ -12024,6 +12028,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -12034,11 +12046,44 @@ }, { "kind" : "identifier", - "text" : "withMaterial" + "text" : "convexHull" }, { "kind" : "text", - "text" : "(" + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "T" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "of" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA4PathV7ElementRtzlFZ1TL_xmfp", + "text" : "T" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "material" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", @@ -12055,20 +12100,20 @@ "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/withmaterial(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withMaterial(_:)", + "path" : "\/documentation\/euclid\/mesh\/convexhull(of:material:)-4hvi3", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-4hvi3", "taskGroups" : [ ], - "title" : "withMaterial(_:)", - "usr" : "s:6Euclid4MeshV12withMaterialyACs11AnyHashableVSgF" + "title" : "convexHull(of:material:)", + "usr" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA4PathV7ElementRtzlFZ" }, { "abstract" : [ { - "text" : "Creates a quaternion from a rotation matrix.", + "text" : "Creates a quaternion from raw component values.", "type" : "text" } ], @@ -12086,8 +12131,35 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -12096,21 +12168,21 @@ ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/init(_:)-7xa5o", + "path" : "\/documentation\/euclid\/quaternion\/init(_:_:_:_:)", "platforms" : [ ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-7xa5o", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:_:_:_:)", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid10QuaternionVyAcA8RotationVcfc" + "title" : "init(_:_:_:_:)", + "usr" : "s:6Euclid10QuaternionVyACSd_S3dtcfc" }, { "abstract" : [ { - "text" : "Multiplies the angle by a numeric value.", + "text" : "The magnitude of the vector.", "type" : "text" } ], @@ -12120,15 +12192,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -12136,75 +12200,75 @@ }, { "kind" : "identifier", - "text" : "*=" + "text" : "length" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "text", - "text" : "(" - }, + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + } + ], + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/length", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/length", + "taskGroups" : [ + + ], + "title" : "length", + "usr" : "s:6Euclid6VectorV6lengthSdvp" + }, + { + "abstract" : [ + { + "text" : "A Boolean value that indicates whether the polygon includes texture coordinates.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { "kind" : "keyword", - "text" : "inout" + "text" : "var" }, { "kind" : "text", "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "kind" : "identifier", + "text" : "hasTexcoords" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/*=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*=(_:_:)", + "path" : "\/documentation\/euclid\/polygon\/hastexcoords", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasTexcoords", "taskGroups" : [ ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid5AngleV2meoiyyACz_SdtFZ" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Equatable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/!=(_:_:)" - ], - "title" : "Operators" - } - ], - "title" : "Equatable Implementations" + "title" : "hasTexcoords", + "usr" : "s:6Euclid7PolygonV12hasTexcoordsSbvp" }, { "abstract" : [ { - "text" : "An axially-aligned bounding box in 3D space.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -12214,7 +12278,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "struct" + "text" : "func" }, { "kind" : "text", @@ -12222,104 +12286,44 @@ }, { "kind" : "identifier", - "text" : "Bounds" - } - ], - "kind" : "org.swift.docc.kind.structure", - "language" : "swift", - "path" : "\/documentation\/euclid\/bounds", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds", - "taskGroups" : [ + "text" : "transform" + }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-1icmf", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-27jri", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(min:max:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:_:)" - ], - "title" : "Creating Bounds" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/empty" - ], - "title" : "Default Bounds" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/min", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/max", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/size", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/center", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/corners", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/isEmpty" - ], - "title" : "Bounds Properties" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/containsPoint(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersects(_:)-7br6p", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersects(_:)-95v17" - ], - "title" : "Comparing Bounds" + "kind" : "text", + "text" : "(" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/inset(by:)-49ykf", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/inset(by:)-4gk62", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersection(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/union(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/formIntersection(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/formUnion(_:)" - ], - "title" : "Combining and Modifying Bounds" + "kind" : "externalParam", + "text" : "by" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-5dvvh", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-6epo6", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/translated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/transformed(by:)" - ], - "title" : "Transforming Bounds" + "kind" : "text", + "text" : ": " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-5bh7b", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-r54o", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(bounds:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(points:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(polygons:)" - ], - "title" : "Initializers" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Decodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Encodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Equatable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Transformable-Implementations" - ], - "title" : "Default Implementations" + "kind" : "text", + "text" : ")" } ], - "title" : "Bounds", - "usr" : "s:6Euclid6BoundsV" + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/pathpoint\/transform(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/transform(by:)", + "taskGroups" : [ + + ], + "title" : "transform(by:)", + "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid9PathPointV" }, { "abstract" : [ { - "text" : "Creates a ", - "type" : "text" - }, - { - "code" : "Vector", - "type" : "codeVoice" - }, - { - "text" : " from a simd vector 3.", + "text" : "Creates a vector from an array of coordinates.", "type" : "text" } ], @@ -12333,32 +12337,32 @@ }, { "kind" : "text", - "text" : "(" + "text" : "([" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@T@simd_double3", - "text" : "simd_double3" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ")" + "text" : "])" } ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/init(_:)-5n3j", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-5n3j", + "path" : "\/documentation\/euclid\/vector\/init(_:)-63ct7", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-63ct7", "taskGroups" : [ ], "title" : "init(_:)", - "usr" : "s:6Euclid6VectorVyACs5SIMD3VySdGcfc" + "usr" : "s:6Euclid6VectorVyACSaySdGcfc" }, { "abstract" : [ { - "text" : "A finite line segment in 3D space.", + "text" : "Returns one or more polygons needed to fill the path.", "type" : "text" } ], @@ -12368,7 +12372,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "struct" + "text" : "func" }, { "kind" : "text", @@ -12376,74 +12380,62 @@ }, { "kind" : "identifier", - "text" : "LineSegment" - } - ], - "kind" : "org.swift.docc.kind.structure", - "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment", - "taskGroups" : [ + "text" : "facePolygons" + }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(_:_:)" - ], - "title" : "Creating Line Segments" + "kind" : "text", + "text" : "(" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/start", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/end", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/length", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/direction" - ], - "title" : "Line Segment Properties" + "kind" : "externalParam", + "text" : "material" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/containsPoint(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersection(with:)-1tffl", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersection(with:)-2u7vo", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersects(_:)" - ], - "title" : "Comparing Line Segments" + "kind" : "text", + "text" : ": " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-2lm8c", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-37r1v", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/translated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/transformed(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/inverted()" - ], - "title" : "Transforming Line Segments" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(start:end:)" - ], - "title" : "Initializers" + "kind" : "text", + "text" : "." }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Bounded-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Comparable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Decodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Encodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Equatable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Transformable-Implementations" - ], - "title" : "Default Implementations" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" + }, + { + "kind" : "text", + "text" : "?) -> [" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" + }, + { + "kind" : "text", + "text" : "]" } ], - "title" : "LineSegment", - "usr" : "s:6Euclid11LineSegmentV" + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/path\/facepolygons(material:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/facePolygons(material:)", + "taskGroups" : [ + + ], + "title" : "facePolygons(material:)", + "usr" : "s:6Euclid4PathV12facePolygons8materialSayAA7PolygonVGs11AnyHashableVSg_tF" }, { "abstract" : [ { - "text" : "A plane located at the origin, aligned with the X and Z axes.", + "text" : "Multiplies the angle by a numeric value.", "type" : "text" } ], @@ -12461,7 +12453,7 @@ }, { "kind" : "keyword", - "text" : "let" + "text" : "func" }, { "kind" : "text", @@ -12469,54 +12461,32 @@ }, { "kind" : "identifier", - "text" : "xz" + "text" : "*=" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" - } - ], - "kind" : "org.swift.docc.kind.typeProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/xz", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/xz", - "taskGroups" : [ - - ], - "title" : "xz", - "usr" : "s:6Euclid5PlaneV2xzACvpZ" - }, - { - "abstract" : [ - { - "text" : "An array containing the raw components of the quaternion.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "text", + "text" : "(" + }, { "kind" : "keyword", - "text" : "var" + "text" : "inout" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "components" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : ": [" + "text" : ", " }, { "kind" : "typeIdentifier", @@ -12525,33 +12495,32 @@ }, { "kind" : "text", - "text" : "]" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/components", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/components", + "path" : "\/documentation\/euclid\/angle\/*=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*=(_:_:)", "taskGroups" : [ ], - "title" : "components", - "usr" : "s:6Euclid10QuaternionV10componentsSaySdGvp" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid5AngleV2meoiyyACz_SdtFZ" }, { - "abstract" : [ - { - "text" : "Merges any coplanar polygons that share one or more edges.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -12562,68 +12531,64 @@ }, { "kind" : "identifier", - "text" : "detessellate" + "text" : "..<" }, { "kind" : "text", - "text" : "() -> " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s16PartialRangeUpToV", + "text" : "PartialRangeUpTo" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ">" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/detessellate()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/detessellate()", + "path" : "\/documentation\/euclid\/linesegment\/'.._(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/.._(_:)", "taskGroups" : [ ], - "title" : "detessellate()", - "usr" : "s:6Euclid4MeshV12detessellateACyF" + "title" : "..<(_:)", + "usr" : "s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/line\/encodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Encodable-Implementations", - "taskGroups" : [ + "abstract" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/encode(to:)" - ], - "title" : "Instance Methods" - } - ], - "title" : "Encodable Implementations" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Equatable-Implementations", - "taskGroups" : [ + "text" : "Creates a mesh from a RealityKit ", + "type" : "text" + }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/!=(_:_:)" - ], - "title" : "Operators" - } - ], - "title" : "Equatable Implementations" - }, - { - "abstract" : [ + "code" : "ModelEntity", + "type" : "codeVoice" + }, { - "text" : "Returns the point where the specified plane intersects the line.", + "text" : " with optional material mapping.", "type" : "text" } ], @@ -12633,23 +12598,24 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "intersection" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:17RealityFoundation11ModelEntityC", + "text" : "ModelEntity" }, { "kind" : "text", - "text" : "(" + "text" : ", " }, { "kind" : "externalParam", - "text" : "with" + "text" : "materialLookup" }, { "kind" : "text", @@ -12657,37 +12623,44 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" + "preciseIdentifier" : "s:6Euclid4MeshV26RealityKitMaterialProvidera", + "text" : "RealityKitMaterialProvider" }, { "kind" : "text", - "text" : ") -> " - }, + "text" : "?)" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/init(_:materiallookup:)-3drza", + "platforms" : [ { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "beta" : false, + "deprecated" : false, + "introducedAt" : "15.0", + "name" : "iOS", + "unavailable" : false }, { - "kind" : "text", - "text" : "?" + "beta" : false, + "deprecated" : false, + "introducedAt" : "12.0", + "name" : "macOS", + "unavailable" : false } ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/line\/intersection(with:)-7s1sd", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersection(with:)-7s1sd", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materialLookup:)-3drza", "taskGroups" : [ ], - "title" : "intersection(with:)", - "usr" : "s:6Euclid4LineV12intersection4withAA6VectorVSgAA5PlaneV_tF" + "title" : "init(_:materialLookup:)", + "usr" : "s:6Euclid4MeshV_14materialLookupAC17RealityFoundation11ModelEntityC_s11AnyHashableVSgAE8Material_pcSgtcfc" }, { "abstract" : [ { - "text" : "Returns a new vector that represents the mininum of the components of the two vectors.", + "text" : "Creates a path point.", "type" : "text" } ], @@ -12697,15 +12670,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "min" + "text" : "init" }, { "kind" : "text", @@ -12721,60 +12686,42 @@ "text" : ", " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "externalParam", + "text" : "texcoord" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:6Euclid6VectorV", "text" : "Vector" - } - ], - "kind" : "org.swift.docc.kind.function", - "language" : "swift", - "path" : "\/documentation\/euclid\/min(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/min(_:_:)", - "taskGroups" : [ - - ], - "title" : "min(_:_:)", - "usr" : "s:6Euclid3minyAA6VectorVAD_ADtF" - }, - { - "abstract" : [ + }, { - "text" : "Returns a scaled copy of the value.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "text", + "text" : "?, " + }, { - "kind" : "keyword", - "text" : "func" + "kind" : "externalParam", + "text" : "color" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "scaled" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : "(" + "text" : "?, " }, { "kind" : "externalParam", - "text" : "by" + "text" : "isCurved" }, { "kind" : "text", @@ -12782,33 +12729,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/scaled(by:)-356zr", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-356zr", + "path" : "\/documentation\/euclid\/pathpoint\/init(_:texcoord:color:iscurved:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(_:texcoord:color:isCurved:)", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid6VectorV6scaled2byA2C_tF" + "title" : "init(_:texcoord:color:isCurved:)", + "usr" : "s:6Euclid9PathPointV_8texcoord5color8isCurvedAcA6VectorV_AHSgAA5ColorVSgSbtcfc" }, { "abstract" : [ { - "text" : "Creates a new transform.", + "text" : "Creates a single polygon from a path.", "type" : "text" } ], @@ -12822,11 +12764,11 @@ }, { "kind" : "text", - "text" : "(" + "text" : "?(" }, { "kind" : "externalParam", - "text" : "offset" + "text" : "shape" }, { "kind" : "text", @@ -12834,16 +12776,16 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" }, { "kind" : "text", - "text" : "?, " + "text" : ", " }, { "kind" : "externalParam", - "text" : "rotation" + "text" : "material" }, { "kind" : "text", @@ -12851,25 +12793,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" - }, - { - "kind" : "text", - "text" : "?, " - }, - { - "kind" : "externalParam", - "text" : "scale" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", + "text" : "Material" }, { "kind" : "text", @@ -12878,79 +12803,73 @@ ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/init(offset:rotation:scale:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(offset:rotation:scale:)", + "path" : "\/documentation\/euclid\/polygon\/init(shape:material:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(shape:material:)", "taskGroups" : [ ], - "title" : "init(offset:rotation:scale:)", - "usr" : "s:6Euclid9TransformV6offset8rotation5scaleAcA6VectorVSg_AA8RotationVSgAItcfc" + "title" : "init(shape:material:)", + "usr" : "s:6Euclid7PolygonV5shape8materialACSgAA4PathV_s11AnyHashableVSgtcfc" }, { + "abstract" : [ + { + "text" : "An array containing the X, Y, and Z components of the vector.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/path\/transformable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Transformable-Implementations", - "taskGroups" : [ + "fragments" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/*(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/*=(_:_:)" - ], - "title" : "Operators" + "kind" : "keyword", + "text" : "var" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotate(by:)-3m9le", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotate(by:)-93ypi", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scale(by:)-1kdd7", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scale(by:)-vnel", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-19jpq", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-84xdd", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/transform(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/transformed(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/translate(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/translated(by:)" - ], - "title" : "Instance Methods" + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "components" + }, + { + "kind" : "text", + "text" : ": [" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : "]" } ], - "title" : "Transformable Implementations" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/bounded-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Bounded-Implementations", + "path" : "\/documentation\/euclid\/vector\/components", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/components", "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/bounds" - ], - "title" : "Instance Properties" - } + ], - "title" : "Bounded Implementations" + "title" : "components", + "usr" : "s:6Euclid6VectorV10componentsSaySdGvp" }, { "abstract" : [ { - "text" : "A vector with all coordinates set to ", + "text" : "Returns whether the leftmost plane has the lower value.", "type" : "text" }, { - "code" : "1", - "type" : "codeVoice" + "text" : " ", + "type" : "text" }, { - "text" : ".", + "text" : "This provides a stable order when sorting collections of planes.", "type" : "text" } ], @@ -12968,7 +12887,7 @@ }, { "kind" : "keyword", - "text" : "let" + "text" : "func" }, { "kind" : "text", @@ -12976,27 +12895,49 @@ }, { "kind" : "identifier", - "text" : "one" + "text" : "<" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/one", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/one", + "path" : "\/documentation\/euclid\/plane\/_(_:_:)-6eeco", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_(_:_:)-6eeco", "taskGroups" : [ ], - "title" : "one", - "usr" : "s:6Euclid6VectorV3oneACvpZ" + "title" : "<(_:_:)", + "usr" : "s:6Euclid5PlaneV1loiySbAC_ACtFZ" }, { "availableLanguages" : [ @@ -13004,22 +12945,40 @@ ], "kind" : "org.swift.docc.kind.collectionGroup", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Equatable-Implementations", + "path" : "\/documentation\/euclid\/mesh\/faces\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/Equatable-Implementations", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/!=(_:_:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/!=(_:_:)" ], "title" : "Operators" } ], "title" : "Equatable Implementations" }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/bounds\/encodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Encodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/encode(to:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Encodable Implementations" + }, { "abstract" : [ { - "text" : "Smooth vertex normals for corners with angles greater (more obtuse) than the specified threshold.", + "text" : "Computes the convex hull of a set of points.", "type" : "text" } ], @@ -13027,6 +12986,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -13037,15 +13004,23 @@ }, { "kind" : "identifier", - "text" : "smoothingNormals" + "text" : "convexHull" }, { "kind" : "text", - "text" : "(" + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "T" + }, + { + "kind" : "text", + "text" : ">(" }, { "kind" : "externalParam", - "text" : "forAnglesGreaterThan" + "text" : "of" }, { "kind" : "text", @@ -13053,12 +13028,29 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA6VectorV7ElementRtzlFZ1TL_xmfp", + "text" : "T" }, { "kind" : "text", - "text" : ") -> " + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "material" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" + }, + { + "kind" : "text", + "text" : "?) -> " }, { "kind" : "typeIdentifier", @@ -13066,27 +13058,29 @@ "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/smoothingnormals(foranglesgreaterthan:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/smoothingNormals(forAnglesGreaterThan:)", + "path" : "\/documentation\/euclid\/mesh\/convexhull(of:material:)-6176", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-6176", "taskGroups" : [ ], - "title" : "smoothingNormals(forAnglesGreaterThan:)", - "usr" : "s:6Euclid4MeshV16smoothingNormals20forAnglesGreaterThanAcA5AngleV_tF" + "title" : "convexHull(of:material:)", + "usr" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA6VectorV7ElementRtzlFZ" }, { - "abstract" : [ - { - "text" : "Translate the value in place.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -13097,44 +13091,64 @@ }, { "kind" : "identifier", - "text" : "translate" + "text" : "..." + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "Self" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:SN", + "text" : "ClosedRange" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ">" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/translate(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/translate(by:)", + "path" : "\/documentation\/euclid\/plane\/'...(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:_:)", "taskGroups" : [ ], - "title" : "translate(by:)", - "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid6BoundsV" + "title" : "...(_:_:)", + "usr" : "s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:6Euclid5PlaneV" }, { "abstract" : [ { - "text" : "Align extruded cross-sections to the tangent of the path curve.", + "text" : "An arbitrary point on the line selected as the origin.", "type" : "text" } ], @@ -13144,7 +13158,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "case" + "text" : "let" }, { "kind" : "text", @@ -13152,41 +13166,32 @@ }, { "kind" : "identifier", - "text" : "tangent" + "text" : "origin" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.enumerationCase", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/alignment\/tangent", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/tangent", + "path" : "\/documentation\/euclid\/line\/origin", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/origin", "taskGroups" : [ ], - "title" : "Path.Alignment.tangent", - "usr" : "s:6Euclid4PathV9AlignmentO7tangentyA2EmF" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/color\/decodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/Decodable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(from:)" - ], - "title" : "Initializers" - } - ], - "title" : "Decodable Implementations" + "title" : "origin", + "usr" : "s:6Euclid4LineV6originAA6VectorVvp" }, { "abstract" : [ { - "text" : "Returns a new vertex with the normal inverted.", + "text" : "The center of the bounds. If the bounds is empty this will return the zero vector.", "type" : "text" } ], @@ -13196,7 +13201,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -13204,61 +13209,58 @@ }, { "kind" : "identifier", - "text" : "inverted" + "text" : "center" }, { "kind" : "text", - "text" : "() -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/inverted()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/inverted()", + "path" : "\/documentation\/euclid\/bounds\/center", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/center", "taskGroups" : [ ], - "title" : "inverted()", - "usr" : "s:6Euclid6VertexV8invertedACyF" + "title" : "center", + "usr" : "s:6Euclid6BoundsV6centerAA6VectorVvp" }, { + "abstract" : [ + { + "text" : "Returns a scaled copy of the value.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "?(" - }, - { - "kind" : "externalParam", - "text" : "scnGeometry" + "text" : "func" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "c:objc(cs)SCNGeometry", - "text" : "SCNGeometry" + "kind" : "identifier", + "text" : "scaled" }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { "kind" : "externalParam", - "text" : "materialLookup" + "text" : "by" }, { "kind" : "text", @@ -13266,31 +13268,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19SCNMaterialProvidera", - "text" : "SCNMaterialProvider" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : "?)" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/init(scngeometry:materiallookup:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(scnGeometry:materialLookup:)", + "path" : "\/documentation\/euclid\/transformable\/scaled(by:)-5p6di", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scaled(by:)-5p6di", "taskGroups" : [ ], - "title" : "init(scnGeometry:materialLookup:)", - "usr" : "s:6Euclid4MeshV11scnGeometry14materialLookupACSgSo11SCNGeometryC_s11AnyHashableVSgSo11SCNMaterialCcSgtcfc" + "title" : "scaled(by:)", + "usr" : "s:6Euclid13TransformableP6scaled2byxSd_tF" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the value.", + "text" : "Combines two rotations to get the cumulative rotation.", "type" : "text" } ], @@ -13298,6 +13301,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -13308,24 +13319,29 @@ }, { "kind" : "identifier", - "text" : "transformed" + "text" : "*" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", @@ -13333,18 +13349,19 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/transformed(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/transformed(by:)", + "path" : "\/documentation\/euclid\/rotation\/*(_:_:)-55zcf", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*(_:_:)-55zcf", "taskGroups" : [ ], - "title" : "transformed(by:)", - "usr" : "s:6Euclid13TransformablePAAE11transformed2byxAA9TransformV_tF::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : "*(_:_:)", + "usr" : "s:6Euclid8RotationV1moiyA2C_ACtFZ" }, { "availableLanguages" : [ @@ -13369,7 +13386,7 @@ }, { "kind" : "identifier", - "text" : ">" + "text" : "+=" }, { "kind" : "text", @@ -13380,12 +13397,12 @@ "text" : "(" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { "kind" : "typeIdentifier", @@ -13393,31 +13410,28 @@ }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "text" : "Self" + }, + { + "kind" : "text", + "text" : ")" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/_(_:_:)-7i9lp", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_(_:_:)-7i9lp", + "path" : "\/documentation\/euclid\/vector\/+=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+=(_:_:)", "taskGroups" : [ ], - "title" : ">(_:_:)", - "usr" : "s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "+=(_:_:)", + "usr" : "s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" }, { - "abstract" : [ - { - "text" : "Creates a circular arc.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -13440,100 +13454,56 @@ }, { "kind" : "identifier", - "text" : "arc" + "text" : "..." }, { "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "angle" + "text" : " " }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "radius" + "text" : "Self" }, { "kind" : "text", - "text" : ": " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "segments" + "preciseIdentifier" : "s:s16PartialRangeFromV", + "text" : "PartialRangeFrom" }, { "kind" : "text", - "text" : ": " + "text" : "<" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "text" : "Self" }, { "kind" : "text", - "text" : "?, " - }, - { - "kind" : "externalParam", - "text" : "color" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" - }, - { - "kind" : "text", - "text" : "?) -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "text" : ">" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/arc(angle:radius:segments:color:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/arc(angle:radius:segments:color:)", + "path" : "\/documentation\/euclid\/vector\/'...(_:)-14arr", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:)-14arr", "taskGroups" : [ ], - "title" : "arc(angle:radius:segments:color:)", - "usr" : "s:6Euclid4PathV3arc5angle6radius8segments5colorAcA5AngleV_SdSiSgAA5ColorVSgtFZ" + "title" : "...(_:)", + "usr" : "s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:6Euclid6VectorV" }, { "abstract" : [ { - "text" : "A point along a path.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -13543,7 +13513,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "struct" + "text" : "func" }, { "kind" : "text", @@ -13551,75 +13521,44 @@ }, { "kind" : "identifier", - "text" : "PathPoint" - } - ], - "kind" : "org.swift.docc.kind.structure", - "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(_:texcoord:color:isCurved:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/point(_:_:_:texcoord:color:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/point(_:texcoord:color:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curve(_:_:_:texcoord:color:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curve(_:texcoord:color:)" - ], - "title" : "Creating Path Points" + "text" : "transform" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/position", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/color", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/texcoord", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/isCurved" - ], - "title" : "Path Point Properties" + "kind" : "text", + "text" : "(" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/lerp(_:_:)" - ], - "title" : "Interpolating Path Points" + "kind" : "externalParam", + "text" : "by" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-4wtbg", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-7e3o7", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/translated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/transformed(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/withColor(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curved(_:)" - ], - "title" : "Transforming Path Points" + "kind" : "text", + "text" : ": " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/with(color:)" - ], - "title" : "Instance Methods" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Decodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Encodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Equatable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Transformable-Implementations" - ], - "title" : "Default Implementations" + "kind" : "text", + "text" : ")" } ], - "title" : "PathPoint", - "usr" : "s:6Euclid9PathPointV" + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/linesegment\/transform(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/transform(by:)", + "taskGroups" : [ + + ], + "title" : "transform(by:)", + "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { "abstract" : [ { - "text" : "The identity quaternion (i.e. no rotation).", + "text" : "Returns a translated copy of the value.", "type" : "text" } ], @@ -13629,23 +13568,23 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "func" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "let" + "kind" : "identifier", + "text" : "translated" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "identity" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", @@ -13653,27 +13592,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/identity", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/identity", + "path" : "\/documentation\/euclid\/polygon\/translated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/translated(by:)", "taskGroups" : [ ], - "title" : "identity", - "usr" : "s:6Euclid10QuaternionV8identityACvpZ" + "title" : "translated(by:)", + "usr" : "s:6Euclid7PolygonV10translated2byAcA6VectorV_tF" }, { "abstract" : [ { - "text" : "Creates a closed rectangular path.", + "text" : "Creates a cylindrical mesh.", "type" : "text" } ], @@ -13699,7 +13644,7 @@ }, { "kind" : "identifier", - "text" : "rectangle" + "text" : "cylinder" }, { "kind" : "text", @@ -13707,7 +13652,7 @@ }, { "kind" : "externalParam", - "text" : "width" + "text" : "radius" }, { "kind" : "text", @@ -13741,7 +13686,7 @@ }, { "kind" : "externalParam", - "text" : "color" + "text" : "slices" }, { "kind" : "text", @@ -13749,59 +13694,50 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : "?) -> " + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "poleDetail" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" - } - ], - "kind" : "org.swift.docc.kind.typeMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/path\/rectangle(width:height:color:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rectangle(width:height:color:)", - "taskGroups" : [ - - ], - "title" : "rectangle(width:height:color:)", - "usr" : "s:6Euclid4PathV9rectangle5width6height5colorACSd_SdAA5ColorVSgtFZ" - }, - { - "abstract" : [ + "preciseIdentifier" : "s:Si", + "text" : "Int" + }, { - "text" : "An empty path.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "text", + "text" : ", " + }, { - "kind" : "keyword", - "text" : "static" + "kind" : "externalParam", + "text" : "faces" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "keyword", - "text" : "let" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", + "text" : "Faces" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "identifier", - "text" : "empty" + "kind" : "externalParam", + "text" : "wrapMode" }, { "kind" : "text", @@ -13809,27 +13745,47 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", + "text" : "WrapMode" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "material" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" + }, + { + "kind" : "text", + "text" : "?) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/empty", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/empty", + "path" : "\/documentation\/euclid\/mesh\/cylinder(radius:height:slices:poledetail:faces:wrapmode:material:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cylinder(radius:height:slices:poleDetail:faces:wrapMode:material:)", "taskGroups" : [ ], - "title" : "empty", - "usr" : "s:6Euclid4PathV5emptyACvpZ" + "title" : "cylinder(radius:height:slices:poleDetail:faces:wrapMode:material:)", + "usr" : "s:6Euclid4MeshV8cylinder6radius6height6slices10poleDetail5faces8wrapMode8materialACSd_SdS2iAC5FacesOAC04WrapK0Os11AnyHashableVSgtFZ" }, { - "abstract" : [ - { - "text" : "Creates an angle from a degrees value.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -13852,7 +13808,11 @@ }, { "kind" : "identifier", - "text" : "degrees" + "text" : "<=" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", @@ -13860,8 +13820,15 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", @@ -13869,24 +13836,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/degrees(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/degrees(_:)", + "path" : "\/documentation\/euclid\/vector\/_=(_:_:)-j6oq", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_=(_:_:)-j6oq", "taskGroups" : [ ], - "title" : "degrees(_:)", - "usr" : "s:6Euclid5AngleV7degreesyACSdFZ" + "title" : "<=(_:_:)", + "usr" : "s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" }, { "abstract" : [ { - "text" : "Creates a line segment with a start and end point.", + "text" : "Creates a ", + "type" : "text" + }, + { + "code" : "Rotation", + "type" : "codeVoice" + }, + { + "text" : " from a simd quaternion.", "type" : "text" } ], @@ -13900,37 +13875,12 @@ }, { "kind" : "text", - "text" : "?(" - }, - { - "kind" : "externalParam", - "text" : "start" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "end" - }, - { - "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "c:@SA@simd_quatf", + "text" : "simd_quatf" }, { "kind" : "text", @@ -13939,18 +13889,53 @@ ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/init(start:end:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(start:end:)", + "path" : "\/documentation\/euclid\/rotation\/init(_:)-8izj", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-8izj", "taskGroups" : [ ], - "title" : "init(start:end:)", - "usr" : "s:6Euclid11LineSegmentV5start3endACSgAA6VectorV_AHtcfc" + "title" : "init(_:)", + "usr" : "s:6Euclid8RotationVyACSo10simd_quatfacfc" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/linesegment\/transformable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Transformable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/*(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/*=(_:_:)" + ], + "title" : "Operators" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotate(by:)-16elu", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotate(by:)-l48f", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scale(by:)-2v2ef", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scale(by:)-8v4ag", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-2lm8c", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-37r1v", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/transform(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/transformed(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/translate(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/translated(by:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Transformable Implementations" }, { "abstract" : [ { - "text" : "Splits all polygons in the mesh into triangles.", + "text" : "Multiplies the rotation angle by the specified value.", "type" : "text" } ], @@ -13958,6 +13943,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -13968,70 +13961,70 @@ }, { "kind" : "identifier", - "text" : "triangulate" + "text" : "*=" }, { "kind" : "text", - "text" : "() -> " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/triangulate()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/triangulate()", - "taskGroups" : [ - - ], - "title" : "triangulate()", - "usr" : "s:6Euclid4MeshV11triangulateACyF" - }, - { - "abstract" : [ - { - "text" : "The angle of rotation around the X-axis.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "text", + "text" : "(" + }, { "kind" : "keyword", - "text" : "var" + "text" : "inout" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "pitch" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/pitch", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/pitch", + "path" : "\/documentation\/euclid\/rotation\/*=(_:_:)-7u9hf", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*=(_:_:)-7u9hf", "taskGroups" : [ ], - "title" : "pitch", - "usr" : "s:6Euclid8RotationV5pitchAA5AngleVvp" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid8RotationV2meoiyyACz_SdtFZ" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/quaternion\/encodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Encodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/encode(to:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Encodable Implementations" }, { "availableLanguages" : [ @@ -14102,13 +14095,13 @@ ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/'...(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:_:)", + "path" : "\/documentation\/euclid\/vector\/'...(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:_:)", "taskGroups" : [ ], "title" : "...(_:_:)", - "usr" : "s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:6Euclid5PlaneV" + "usr" : "s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" }, { "availableLanguages" : [ @@ -14133,7 +14126,7 @@ }, { "kind" : "identifier", - "text" : "..." + "text" : ">=" }, { "kind" : "text", @@ -14149,37 +14142,39 @@ }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s16PartialRangeFromV", - "text" : "PartialRangeFrom" + "text" : "Self" }, { "kind" : "text", - "text" : "<" + "text" : ") -> " }, { "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ">" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/'...(_:)-7xdsm", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:)-7xdsm", + "path" : "\/documentation\/euclid\/angle\/_=(_:_:)-9rm6o", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_=(_:_:)-9rm6o", "taskGroups" : [ ], - "title" : "...(_:)", - "usr" : "s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:6Euclid5AngleV" + "title" : ">=(_:_:)", + "usr" : "s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" }, { + "abstract" : [ + { + "text" : "Transform the value in place.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -14202,7 +14197,7 @@ }, { "kind" : "identifier", - "text" : "!=" + "text" : "*=" }, { "kind" : "text", @@ -14213,12 +14208,12 @@ "text" : "(" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { "kind" : "typeIdentifier", @@ -14226,46 +14221,32 @@ }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" + }, + { + "kind" : "text", + "text" : ")" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/!=(_:_:)", + "path" : "\/documentation\/euclid\/plane\/*=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/*=(_:_:)", "taskGroups" : [ ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid5PlaneV" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Equatable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/!=(_:_:)" - ], - "title" : "Operators" - } - ], - "title" : "Equatable Implementations" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid5PlaneV" }, { "abstract" : [ { - "text" : "An arbitrary point on the line selected as the origin.", + "text" : "Creates a new bounds that contains both the specified bounds and this one.", "type" : "text" } ], @@ -14275,7 +14256,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "let" + "text" : "func" }, { "kind" : "text", @@ -14283,77 +14264,88 @@ }, { "kind" : "identifier", - "text" : "origin" + "text" : "union" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/line\/origin", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/origin", + "path" : "\/documentation\/euclid\/bounds\/union(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/union(_:)", "taskGroups" : [ ], - "title" : "origin", - "usr" : "s:6Euclid4LineV6originAA6VectorVvp" + "title" : "union(_:)", + "usr" : "s:6Euclid6BoundsV5unionyA2CF" }, { + "abstract" : [ + { + "text" : "The points that make up the corners of the bounds.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "var" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "let" + "kind" : "identifier", + "text" : "corners" }, { "kind" : "text", - "text" : " " + "text" : ": [" }, { - "kind" : "identifier", - "text" : "red" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "text" : "]" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/red", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/red", + "path" : "\/documentation\/euclid\/bounds\/corners", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/corners", "taskGroups" : [ ], - "title" : "red", - "usr" : "s:6Euclid5ColorV3redACvpZ" + "title" : "corners", + "usr" : "s:6Euclid6BoundsV7cornersSayAA6VectorVGvp" }, { "abstract" : [ { - "text" : "The perpendicular distance from the world origin to the plane.", + "text" : "Creates a line from an origin and direction.", "type" : "text" } ], @@ -14363,15 +14355,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "let" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "?(" }, { - "kind" : "identifier", - "text" : "w" + "kind" : "externalParam", + "text" : "origin" }, { "kind" : "text", @@ -14379,24 +14371,45 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "direction" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/w", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/w", + "path" : "\/documentation\/euclid\/line\/init(origin:direction:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(origin:direction:)", "taskGroups" : [ ], - "title" : "w", - "usr" : "s:6Euclid5PlaneV1wSdvp" + "title" : "init(origin:direction:)", + "usr" : "s:6Euclid4LineV6origin9directionACSgAA6VectorV_AHtcfc" }, { "abstract" : [ { - "text" : "The face normal for the path.", + "text" : "Creates a new vertex.", "type" : "text" } ], @@ -14406,118 +14419,81 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "faceNormal" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ": " + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : "?, " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:6Euclid6VectorV", "text" : "Vector" + }, + { + "kind" : "text", + "text" : "?, " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" + }, + { + "kind" : "text", + "text" : "?)" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/facenormal", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/faceNormal", + "path" : "\/documentation\/euclid\/vertex\/init(_:_:_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:_:_:_:)", "taskGroups" : [ ], - "title" : "faceNormal", - "usr" : "s:6Euclid4PathV10faceNormalAA6VectorVvp" + "title" : "init(_:_:_:_:)", + "usr" : "s:6Euclid6VertexVyAcA6VectorV_AESgAfA5ColorVSgtcfc" }, { - "abstract" : [ - { - "text" : "Euclid is a library for creating and manipulating 3D geometry using techniques such as extruding or “lathing” 2D paths to create solid 3D shapes, and CSG (Constructive Solid Geometry) to combine or subtract those shapes from one another.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], - "kind" : "org.swift.docc.kind.module", + "kind" : "org.swift.docc.kind.collectionGroup", "language" : "swift", - "path" : "\/documentation\/euclid", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid", + "path" : "\/documentation\/euclid\/color\/decodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/Decodable-Implementations", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/ConstructingMeshes", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/RenderingMeshes" - ], - "title" : "Using Euclid" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon" - ], - "title" : "Surfaces" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment" - ], - "title" : "Lines and Paths" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle" - ], - "title" : "Rotations and Transforms" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color" - ], - "title" : "Fundamental Types" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/sin(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/cos(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/tan(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/min(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/max(_:_:)" - ], - "title" : "Supporting Functions" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounded", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(from:)" ], - "title" : "Protocols" + "title" : "Initializers" } ], - "title" : "Euclid", - "usr" : "Euclid" + "title" : "Decodable Implementations" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "Returns a rotated copy of the value.", "type" : "text" } ], @@ -14535,7 +14511,7 @@ }, { "kind" : "identifier", - "text" : "scale" + "text" : "rotated" }, { "kind" : "text", @@ -14551,68 +14527,131 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transformable\/scale(by:)-89xwv", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scale(by:)-89xwv", + "path" : "\/documentation\/euclid\/transformable\/rotated(by:)-76uyz", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotated(by:)-76uyz", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF" + "title" : "rotated(by:)", + "usr" : "s:6Euclid13TransformableP7rotated2byxAA8RotationV_tF" }, { + "abstract" : [ + { + "text" : "Creates a composite mesh from an array of submeshes.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "keyword", - "text" : "func" + "kind" : "externalParam", + "text" : "submeshes" }, { "kind" : "text", - "text" : " " + "text" : ": [" }, { - "kind" : "identifier", - "text" : "!=" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" + }, + { + "kind" : "text", + "text" : "])" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/init(submeshes:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(submeshes:)", + "taskGroups" : [ + + ], + "title" : "init(submeshes:)", + "usr" : "s:6Euclid4MeshV9submeshesACSayACG_tcfc" + }, + { + "abstract" : [ + { + "text" : "Returns a new mesh reprenting only the volume exclusively occupied by", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "one shape or the other, but not both.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", "text" : " " }, + { + "kind" : "identifier", + "text" : "symmetricDifference" + }, { "kind" : "text", "text" : "(" }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" }, { "kind" : "text", "text" : ", " }, + { + "kind" : "externalParam", + "text" : "isCancelled" + }, + { + "kind" : "text", + "text" : ": " + }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" }, { "kind" : "text", @@ -14620,32 +14659,90 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/!=(_:_:)", + "path" : "\/documentation\/euclid\/mesh\/symmetricdifference(_:iscancelled:)-swift.method", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/symmetricDifference(_:isCancelled:)-swift.method", "taskGroups" : [ ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid4PathV" + "title" : "symmetricDifference(_:isCancelled:)", + "usr" : "s:6Euclid4MeshV19symmetricDifference_11isCancelledA2C_SbyXEtF" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/polygon\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Equatable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/!=(_:_:)" + ], + "title" : "Operators" + } + ], + "title" : "Equatable Implementations" }, { "abstract" : [ { - "text" : "A Boolean value that indicates whether the quaternion has a length of ", + "text" : "The face generation policy for Euclid to use when creating a mesh.", "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "enum" }, { - "code" : "1", - "type" : "codeVoice" + "kind" : "text", + "text" : " " }, { - "text" : ".", + "kind" : "identifier", + "text" : "Faces" + } + ], + "kind" : "org.swift.docc.kind.enumeration", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/faces", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/back", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/default", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/front", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/frontAndBack" + ], + "title" : "Enumeration Cases" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/Equatable-Implementations" + ], + "title" : "Default Implementations" + } + ], + "title" : "Mesh.Faces", + "usr" : "s:6Euclid4MeshV5FacesO" + }, + { + "abstract" : [ + { + "text" : "Returns the distance between the vector (representing a position in space) from the specified plane.", "type" : "text" } ], @@ -14655,7 +14752,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -14663,7 +14760,15 @@ }, { "kind" : "identifier", - "text" : "isNormalized" + "text" : "distance" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "from" }, { "kind" : "text", @@ -14671,27 +14776,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/isnormalized", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/isNormalized", + "path" : "\/documentation\/euclid\/vector\/distance(from:)-5p7ko", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/distance(from:)-5p7ko", "taskGroups" : [ ], - "title" : "isNormalized", - "usr" : "s:6Euclid10QuaternionV12isNormalizedSbvp" + "title" : "distance(from:)", + "usr" : "s:6Euclid6VectorV8distance4fromSdAA5PlaneV_tF" }, { "abstract" : [ { - "text" : "Divides the components of the vector by the specified value.", + "text" : "Divides the components of the vector by the value you provide.", "type" : "text" } ], @@ -14737,8 +14848,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -14756,21 +14867,18 @@ ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/\/=(_:_:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/\/=(_:_:)", + "path" : "\/documentation\/euclid\/vector\/\/=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/\/=(_:_:)", "taskGroups" : [ ], "title" : "\/=(_:_:)", - "usr" : "s:6Euclid10QuaternionV2deoiyyACz_SdtFZ" + "usr" : "s:6Euclid6VectorV2deoiyyACz_SdtFZ" }, { "abstract" : [ { - "text" : "Return a copy of the polygon with transformed vertex colors", + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -14780,53 +14888,145 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "mapColors" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : "((" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "kind" : "identifier", + "text" : "*" }, { "kind" : "text", - "text" : "?) -> " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : "?) -> " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/mapcolors(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/mapColors(_:)", + "path" : "\/documentation\/euclid\/vector\/*(_:_:)-98mbu", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-98mbu", "taskGroups" : [ ], - "title" : "mapColors(_:)", - "usr" : "s:6Euclid4PathV9mapColorsyAcA5ColorVSgAGXEF" + "title" : "*(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid6VectorV" + }, + { + "abstract" : [ + { + "text" : "Creates a line segment with a start and end point.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" + }, + { + "kind" : "text", + "text" : "?(" + }, + { + "kind" : "externalParam", + "text" : "start" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "end" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/linesegment\/init(start:end:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(start:end:)", + "taskGroups" : [ + + ], + "title" : "init(start:end:)", + "usr" : "s:6Euclid11LineSegmentV5start3endACSgAA6VectorV_AHtcfc" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/rotation\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Equatable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/!=(_:_:)" + ], + "title" : "Operators" + } + ], + "title" : "Equatable Implementations" }, { "abstract" : [ @@ -14883,7 +15083,7 @@ { "abstract" : [ { - "text" : "A closure that converts a RealityKit material to a Euclid material.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -14893,7 +15093,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "typealias" + "text" : "func" }, { "kind" : "text", @@ -14901,34 +15101,39 @@ }, { "kind" : "identifier", - "text" : "RealityKitMaterialProvider" - } - ], - "kind" : "org.swift.docc.kind.typeAlias", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/realitykitmaterialprovider", - "platforms" : [ + "text" : "scale" + }, { - "beta" : false, - "deprecated" : false, - "introducedAt" : "15.0", - "name" : "iOS", - "unavailable" : false + "kind" : "text", + "text" : "(" }, { - "beta" : false, - "deprecated" : false, - "introducedAt" : "12.0", - "name" : "macOS", - "unavailable" : false + "kind" : "externalParam", + "text" : "by" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ")" } ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/RealityKitMaterialProvider", + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/pathpoint\/scale(by:)-7pxnt", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scale(by:)-7pxnt", "taskGroups" : [ ], - "title" : "Mesh.RealityKitMaterialProvider", - "usr" : "s:6Euclid4MeshV26RealityKitMaterialProvidera" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid9PathPointV" }, { "availableLanguages" : [ @@ -14953,7 +15158,7 @@ }, { "kind" : "identifier", - "text" : "!=" + "text" : ">" }, { "kind" : "text", @@ -14987,18 +15192,18 @@ ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/!=(_:_:)", + "path" : "\/documentation\/euclid\/plane\/_(_:_:)-3fd8h", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_(_:_:)-3fd8h", "taskGroups" : [ ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid8RotationV" + "title" : ">(_:_:)", + "usr" : "s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:6Euclid5PlaneV" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Creates a rotation around the Z axis.", "type" : "text" } ], @@ -15008,52 +15213,57 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "transform" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "identifier", + "text" : "roll" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transformable\/transform(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transform(by:)", + "path" : "\/documentation\/euclid\/rotation\/roll(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/roll(_:)", "taskGroups" : [ ], - "title" : "transform(by:)", - "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF" + "title" : "roll(_:)", + "usr" : "s:6Euclid8RotationV4rollyAcA5AngleVFZ" }, { "abstract" : [ { - "text" : "Returns the distance between the vector (representing a position in space) from the specified line.", + "text" : "Returns a Boolean value that indicates if the specified point is within the bounds.", "type" : "text" } ], @@ -15071,24 +15281,16 @@ }, { "kind" : "identifier", - "text" : "distance" + "text" : "containsPoint" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "externalParam", - "text" : "from" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4LineV", - "text" : "Line" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -15096,39 +15298,27 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/distance(from:)-3eglz", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/distance(from:)-3eglz", + "path" : "\/documentation\/euclid\/bounds\/containspoint(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/containsPoint(_:)", "taskGroups" : [ ], - "title" : "distance(from:)", - "usr" : "s:6Euclid6VectorV8distance4fromSdAA4LineV_tF" + "title" : "containsPoint(_:)", + "usr" : "s:6Euclid6BoundsV13containsPointySbAA6VectorVF" }, { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/path\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Equatable-Implementations", - "taskGroups" : [ + "abstract" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/!=(_:_:)" - ], - "title" : "Operators" + "text" : "Returns a quaternion with its components multiplied by the specified value.", + "type" : "text" } ], - "title" : "Equatable Implementations" - }, - { "availableLanguages" : [ "swift" ], @@ -15143,7 +15333,7 @@ }, { "kind" : "keyword", - "text" : "let" + "text" : "func" }, { "kind" : "text", @@ -15151,7 +15341,75 @@ }, { "kind" : "identifier", - "text" : "orange" + "text" : "*" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" + } + ], + "kind" : "org.swift.docc.kind.operator", + "language" : "swift", + "path" : "\/documentation\/euclid\/quaternion\/*(_:_:)-2drke", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*(_:_:)-2drke", + "taskGroups" : [ + + ], + "title" : "*(_:_:)", + "usr" : "s:6Euclid10QuaternionV1moiyA2C_SdtFZ" + }, + { + "abstract" : [ + { + "text" : "A Boolean value that indicates whether the polygon includes vertex colors.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "var" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "hasVertexColors" }, { "kind" : "text", @@ -15159,24 +15417,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/orange", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/orange", + "path" : "\/documentation\/euclid\/polygon\/hasvertexcolors", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasVertexColors", "taskGroups" : [ ], - "title" : "orange", - "usr" : "s:6Euclid5ColorV6orangeACvpZ" + "title" : "hasVertexColors", + "usr" : "s:6Euclid7PolygonV15hasVertexColorsSbvp" }, { "abstract" : [ { - "text" : "Creates a rotation from Euler angles applied in roll\/yaw\/pitch order.", + "text" : "Creates a quaternion from an axis and angle.", "type" : "text" } ], @@ -15190,11 +15448,11 @@ }, { "kind" : "text", - "text" : "(" + "text" : "?(" }, { "kind" : "externalParam", - "text" : "roll" + "text" : "axis" }, { "kind" : "text", @@ -15202,8 +15460,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -15211,7 +15469,7 @@ }, { "kind" : "externalParam", - "text" : "yaw" + "text" : "angle" }, { "kind" : "text", @@ -15224,11 +15482,52 @@ }, { "kind" : "text", - "text" : ", " + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/quaternion\/init(axis:angle:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(axis:angle:)", + "taskGroups" : [ + + ], + "title" : "init(axis:angle:)", + "usr" : "s:6Euclid10QuaternionV4axis5angleACSgAA6VectorV_AA5AngleVtcfc" + }, + { + "abstract" : [ + { + "text" : "Returns the point where the specified plane intersects the line.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "intersection" + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "externalParam", - "text" : "pitch" + "text" : "with" }, { "kind" : "text", @@ -15236,23 +15535,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : "?" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/init(roll:yaw:pitch:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(roll:yaw:pitch:)", + "path" : "\/documentation\/euclid\/line\/intersection(with:)-7s1sd", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersection(with:)-7s1sd", "taskGroups" : [ ], - "title" : "init(roll:yaw:pitch:)", - "usr" : "s:6Euclid8RotationV4roll3yaw5pitchAcA5AngleV_A2Htcfc" + "title" : "intersection(with:)", + "usr" : "s:6Euclid4LineV12intersection4withAA6VectorVSgAA5PlaneV_tF" }, { "availableLanguages" : [ @@ -15260,22 +15568,22 @@ ], "kind" : "org.swift.docc.kind.collectionGroup", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/bounded-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Bounded-Implementations", + "path" : "\/documentation\/euclid\/mesh\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Equatable-Implementations", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/bounds" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/!=(_:_:)" ], - "title" : "Instance Properties" + "title" : "Operators" } ], - "title" : "Bounded Implementations" + "title" : "Equatable Implementations" }, { "abstract" : [ { - "text" : "Returns a Boolean value that indicates if the specified point is inside the mesh.", + "text" : "Deprecated.", "type" : "text" } ], @@ -15293,41 +15601,52 @@ }, { "kind" : "identifier", - "text" : "containsPoint" + "text" : "with" }, { "kind" : "text", "text" : "(" }, + { + "kind" : "externalParam", + "text" : "material" + }, + { + "kind" : "text", + "text" : ": " + }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/containspoint(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/containsPoint(_:)", + "path" : "\/documentation\/euclid\/polygon\/with(material:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/with(material:)", "taskGroups" : [ ], - "title" : "containsPoint(_:)", - "usr" : "s:6Euclid4MeshV13containsPointySbAA6VectorVF" + "title" : "with(material:)", + "usr" : "s:6Euclid7PolygonV4with8materialACs11AnyHashableVSg_tF" }, { "abstract" : [ { - "text" : "Creates a new line segment by decoding from the given decoder.", + "text" : "Creates a new quaternion by decoding from the given decoder.", "type" : "text" } ], @@ -15367,18 +15686,21 @@ ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/init(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(from:)", + "path" : "\/documentation\/euclid\/quaternion\/init(from:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(from:)", "taskGroups" : [ ], "title" : "init(from:)", - "usr" : "s:6Euclid11LineSegmentV4fromACs7Decoder_p_tKcfc" + "usr" : "s:6Euclid10QuaternionV4fromACs7Decoder_p_tKcfc" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -15396,7 +15718,7 @@ }, { "kind" : "identifier", - "text" : "scaled" + "text" : "rotate" }, { "kind" : "text", @@ -15412,33 +15734,31 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/scaled(by:)-29v7y", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-29v7y", + "path" : "\/documentation\/euclid\/pathpoint\/rotate(by:)-r7j4", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotate(by:)-r7j4", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid5PlaneV6scaled2byAcA6VectorV_tF" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid9PathPointV" }, { "abstract" : [ { - "text" : "Merges this polygon with another, removing redundant vertices where possible.", + "text" : "Clip polygon to the specified plane", "type" : "text" } ], @@ -15456,24 +15776,15 @@ }, { "kind" : "identifier", - "text" : "merge" + "text" : "clip" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" - }, - { - "kind" : "text", - "text" : ", " - }, { "kind" : "externalParam", - "text" : "ensureConvex" + "text" : "to" }, { "kind" : "text", @@ -15481,12 +15792,12 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" }, { "kind" : "text", - "text" : ") -> " + "text" : ") -> [" }, { "kind" : "typeIdentifier", @@ -15495,23 +15806,23 @@ }, { "kind" : "text", - "text" : "?" + "text" : "]" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/merge(_:ensureconvex:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/merge(_:ensureConvex:)", + "path" : "\/documentation\/euclid\/polygon\/clip(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/clip(to:)", "taskGroups" : [ ], - "title" : "merge(_:ensureConvex:)", - "usr" : "s:6Euclid7PolygonV5merge_12ensureConvexACSgAC_SbtF" + "title" : "clip(to:)", + "usr" : "s:6Euclid7PolygonV4clip2toSayACGAA5PlaneV_tF" }, { "abstract" : [ { - "text" : "An angle or 2D rotation.", + "text" : "The color of the path point (optional).", "type" : "text" } ], @@ -15521,7 +15832,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "struct" + "text" : "var" }, { "kind" : "text", @@ -15529,87 +15840,36 @@ }, { "kind" : "identifier", - "text" : "Angle" - } - ], - "kind" : "org.swift.docc.kind.structure", - "language" : "swift", - "path" : "\/documentation\/euclid\/angle", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(degrees:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(radians:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/degrees(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/radians(_:)" - ], - "title" : "Creating Angles" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/zero", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/halfPi", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/pi", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/twoPi" - ], - "title" : "Default Angles" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/degrees", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/radians", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/isZero" - ], - "title" : "Angle Properties" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/acos(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/asin(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/atan(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/atan2(y:x:)" - ], - "title" : "Computing Angles" + "text" : "color" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+=(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-=(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*(_:_:)-2ew65", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*(_:_:)-8l78z", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*=(_:_:)" - ], - "title" : "Operators" + "kind" : "text", + "text" : ": " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/\/(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/\/=(_:_:)" - ], - "title" : "Operators" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/AdditiveArithmetic-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Comparable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Decodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Encodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Equatable-Implementations" - ], - "title" : "Default Implementations" + "kind" : "text", + "text" : "?" } ], - "title" : "Angle", - "usr" : "s:6Euclid5AngleV" + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/pathpoint\/color", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/color", + "taskGroups" : [ + + ], + "title" : "color", + "usr" : "s:6Euclid9PathPointV5colorAA5ColorVSgvp" }, { "abstract" : [ { - "text" : "Computes the trigonometric sine of an angle.", + "text" : "Computes the cross-product of this vector and another.", "type" : "text" } ], @@ -15627,7 +15887,7 @@ }, { "kind" : "identifier", - "text" : "sin" + "text" : "cross" }, { "kind" : "text", @@ -15635,8 +15895,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -15644,33 +15904,31 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.function", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/sin(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/sin(_:)", + "path" : "\/documentation\/euclid\/vector\/cross(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/cross(_:)", "taskGroups" : [ ], - "title" : "sin(_:)", - "usr" : "s:6Euclid3sinySdAA5AngleVF" + "title" : "cross(_:)", + "usr" : "s:6Euclid6VectorV5crossyA2CF" }, { + "abstract" : [ + { + "text" : "Linearly interpolate between this vector and another.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -15681,11 +15939,7 @@ }, { "kind" : "identifier", - "text" : "!=" - }, - { - "kind" : "text", - "text" : " " + "text" : "lerp" }, { "kind" : "text", @@ -15693,7 +15947,8 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -15701,7 +15956,8 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -15709,24 +15965,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/wrapmode\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/!=(_:_:)", + "path" : "\/documentation\/euclid\/vector\/lerp(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/lerp(_:_:)", "taskGroups" : [ ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid4MeshV8WrapModeO" + "title" : "lerp(_:_:)", + "usr" : "s:6Euclid6VectorV4lerpyA2C_SdtF" }, { "abstract" : [ { - "text" : "Angle representing a full rotation.", + "text" : "An array of vertices suitable for constructing a set of edge polygons for the path.", "type" : "text" } ], @@ -15736,56 +15992,44 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "var" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "let" + "kind" : "identifier", + "text" : "edgeVertices" }, { "kind" : "text", - "text" : " " + "text" : ": [" }, { - "kind" : "identifier", - "text" : "twoPi" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" }, { "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "text" : "]" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/twopi", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/twoPi", + "path" : "\/documentation\/euclid\/path\/edgevertices", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/edgeVertices", "taskGroups" : [ ], - "title" : "twoPi", - "usr" : "s:6Euclid5AngleV5twoPiACvpZ" + "title" : "edgeVertices", + "usr" : "s:6Euclid4PathV12edgeVerticesSayAA6VertexVGvp" }, { "abstract" : [ { - "text" : "Creates a Euclid ", - "type" : "text" - }, - { - "code" : "Quaternion", - "type" : "codeVoice" - }, - { - "text" : " from a SceneKit quaternion.", + "text" : "The angle of rotation around the Z-axis.", "type" : "text" } ], @@ -15795,39 +16039,40 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "var" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@T@SCNQuaternion", - "text" : "SCNQuaternion" + "kind" : "identifier", + "text" : "roll" }, { "kind" : "text", - "text" : ")" + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/init(_:)-b3v3", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-b3v3", + "path" : "\/documentation\/euclid\/rotation\/roll", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/roll", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid10QuaternionVyACSo10SCNVector4Vcfc" + "title" : "roll", + "usr" : "s:6Euclid8RotationV4rollAA5AngleVvp" }, { "abstract" : [ { - "text" : "Creates a path point.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -15837,24 +16082,23 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "identifier", + "text" : "scale" }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { "kind" : "externalParam", - "text" : "texcoord" + "text" : "by" }, { "kind" : "text", @@ -15862,33 +16106,46 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : "?, " - }, - { - "kind" : "externalParam", - "text" : "color" - }, + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/transform\/scale(by:)-55r4j", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(by:)-55r4j", + "taskGroups" : [ + + ], + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid9TransformV" + }, + { + "abstract" : [ { - "kind" : "text", - "text" : ": " - }, + "text" : "The size or scale component of the transform.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "kind" : "keyword", + "text" : "var" }, { "kind" : "text", - "text" : "?, " + "text" : " " }, { - "kind" : "externalParam", - "text" : "isCurved" + "kind" : "identifier", + "text" : "scale" }, { "kind" : "text", @@ -15896,28 +16153,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/init(_:texcoord:color:iscurved:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(_:texcoord:color:isCurved:)", + "path" : "\/documentation\/euclid\/transform\/scale", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale", "taskGroups" : [ ], - "title" : "init(_:texcoord:color:isCurved:)", - "usr" : "s:6Euclid9PathPointV_8texcoord5color8isCurvedAcA6VectorV_AHSgAA5ColorVSgSbtcfc" + "title" : "scale", + "usr" : "s:6Euclid9TransformV5scaleAA6VectorVvp" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the value.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -15925,14 +16178,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -15943,52 +16188,44 @@ }, { "kind" : "identifier", - "text" : "*" - }, - { - "kind" : "text", - "text" : " " + "text" : "scale" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/*(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/*(_:_:)", + "path" : "\/documentation\/euclid\/bounds\/scale(by:)-mpk5", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scale(by:)-mpk5", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid9PathPointV" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid6BoundsV" }, { "abstract" : [ { - "text" : "Creates a mesh from a SceneKit geometry, with the material you provide.", + "text" : "The plane upon which all path points lie. Will be nil for non-planar paths.", "type" : "text" } ], @@ -15998,24 +16235,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "?(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "c:objc(cs)SCNGeometry", - "text" : "SCNGeometry" + "text" : "var" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "material" + "kind" : "identifier", + "text" : "plane" }, { "kind" : "text", @@ -16023,28 +16251,46 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" }, { "kind" : "text", - "text" : "?)" + "text" : "?" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/init(_:material:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:material:)", + "path" : "\/documentation\/euclid\/path\/plane", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/plane", "taskGroups" : [ ], - "title" : "init(_:material:)", - "usr" : "s:6Euclid4MeshV_8materialACSgSo11SCNGeometryC_s11AnyHashableVSgtcfc" + "title" : "plane", + "usr" : "s:6Euclid4PathV5planeAA5PlaneVSgvp" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/transform\/decodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Decodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(from:)" + ], + "title" : "Initializers" + } + ], + "title" : "Decodable Implementations" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Efficiently computes the intersection of multiple meshes.", "type" : "text" } ], @@ -16052,6 +16298,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -16062,15 +16316,32 @@ }, { "kind" : "identifier", - "text" : "transform" + "text" : "intersection" }, { "kind" : "text", - "text" : "(" + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "T" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV12intersection_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ1TL_xmfp", + "text" : "T" + }, + { + "kind" : "text", + "text" : ", " }, { "kind" : "externalParam", - "text" : "by" + "text" : "isCancelled" }, { "kind" : "text", @@ -16078,28 +16349,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/transform(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/transform(by:)", + "path" : "\/documentation\/euclid\/mesh\/intersection(_:iscancelled:)-swift.type.method", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersection(_:isCancelled:)-swift.type.method", "taskGroups" : [ ], - "title" : "transform(by:)", - "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid4MeshV" + "title" : "intersection(_:isCancelled:)", + "usr" : "s:6Euclid4MeshV12intersection_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ" }, { "abstract" : [ { - "text" : "Return a copy of the polygon with transformed texture coordinates", + "text" : "Returns the point where the specified line intersects this one.", "type" : "text" } ], @@ -16117,25 +16393,24 @@ }, { "kind" : "identifier", - "text" : "mapTexcoords" + "text" : "intersection" }, { "kind" : "text", - "text" : "((" + "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "externalParam", + "text" : "with" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid4LineV", + "text" : "Line" }, { "kind" : "text", @@ -16143,24 +16418,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : "?" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/maptexcoords(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/mapTexcoords(_:)", + "path" : "\/documentation\/euclid\/line\/intersection(with:)-2nysu", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersection(with:)-2nysu", "taskGroups" : [ ], - "title" : "mapTexcoords(_:)", - "usr" : "s:6Euclid7PolygonV12mapTexcoordsyAcA6VectorVAFXEF" + "title" : "intersection(with:)", + "usr" : "s:6Euclid4LineV12intersection4withAA6VectorVSgAC_tF" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the value.", + "text" : "Flips the polygon along its plane and reverses the order and surface normals of the vertices.", "type" : "text" } ], @@ -16178,15 +16457,58 @@ }, { "kind" : "identifier", - "text" : "transformed" + "text" : "inverted" }, { "kind" : "text", - "text" : "(" + "text" : "() -> " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/polygon\/inverted()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/inverted()", + "taskGroups" : [ + + ], + "title" : "inverted()", + "usr" : "s:6Euclid7PolygonV8invertedACyF" + }, + { + "abstract" : [ + { + "text" : "An unordered set of polygon edges.", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "The direction of each edge is normalized relative to the origin to simplify edge-equality comparisons.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "var" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "undirectedEdges" }, { "kind" : "text", @@ -16194,30 +16516,40 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:Sh", + "text" : "Set" }, { "kind" : "text", - "text" : ") -> " + "text" : "<" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" + }, + { + "kind" : "text", + "text" : ">" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/transformed(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transformed(by:)", + "path" : "\/documentation\/euclid\/polygon\/undirectededges", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/undirectedEdges", "taskGroups" : [ ], - "title" : "transformed(by:)", - "usr" : "s:6Euclid9TransformV11transformed2byA2C_tF" + "title" : "undirectedEdges", + "usr" : "s:6Euclid7PolygonV15undirectedEdgesShyAA11LineSegmentVGvp" }, { + "abstract" : [ + { + "text" : "Returns a quaternion with its components divided by the specified value.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -16240,7 +16572,7 @@ }, { "kind" : "identifier", - "text" : "..." + "text" : "\/" }, { "kind" : "text", @@ -16252,7 +16584,8 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", @@ -16260,7 +16593,8 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -16268,36 +16602,144 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:SN", - "text" : "ClosedRange" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" + } + ], + "kind" : "org.swift.docc.kind.operator", + "language" : "swift", + "path" : "\/documentation\/euclid\/quaternion\/\/(_:_:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/\/(_:_:)", + "taskGroups" : [ + + ], + "title" : "\/(_:_:)", + "usr" : "s:6Euclid10QuaternionV1doiyA2C_SdtFZ" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/transform\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Equatable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/!=(_:_:)" + ], + "title" : "Operators" + } + ], + "title" : "Equatable Implementations" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/bounds\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Equatable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/!=(_:_:)" + ], + "title" : "Operators" + } + ], + "title" : "Equatable Implementations" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/transform\/transformable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Transformable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*=(_:_:)" + ], + "title" : "Operators" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotate(by:)-11t07", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotate(by:)-577nk", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(by:)-55r4j", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(by:)-9i9s9", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-19ukh", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-9vwak", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transform(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transformed(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/translate(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/translated(by:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Transformable Implementations" + }, + { + "abstract" : [ + { + "text" : "Quaternion has no effect.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "var" }, { "kind" : "text", - "text" : "<" + "text" : " " }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "identifier", + "text" : "isIdentity" }, { "kind" : "text", - "text" : ">" + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/'...(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:_:)", + "path" : "\/documentation\/euclid\/quaternion\/isidentity", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/isIdentity", "taskGroups" : [ ], - "title" : "...(_:_:)", - "usr" : "s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" + "title" : "isIdentity", + "usr" : "s:6Euclid10QuaternionV10isIdentitySbvp" }, { "abstract" : [ { - "text" : "The magnitude of the vector.", + "text" : "Flip the direction of the line segment", "type" : "text" } ], @@ -16307,7 +16749,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -16315,32 +16757,32 @@ }, { "kind" : "identifier", - "text" : "length" + "text" : "inverted" }, { "kind" : "text", - "text" : ": " + "text" : "() -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/length", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/length", + "path" : "\/documentation\/euclid\/linesegment\/inverted()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/inverted()", "taskGroups" : [ ], - "title" : "length", - "usr" : "s:6Euclid6VectorV6lengthSdvp" + "title" : "inverted()", + "usr" : "s:6Euclid11LineSegmentV8invertedACyF" }, { "abstract" : [ { - "text" : "Creates a curved path point at the specified X, Y and Z coordinates.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -16366,25 +16808,27 @@ }, { "kind" : "identifier", - "text" : "curve" + "text" : "*=" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "Self" }, { "kind" : "text", @@ -16392,33 +16836,54 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : ", " - }, + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.operator", + "language" : "swift", + "path" : "\/documentation\/euclid\/linesegment\/*=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/*=(_:_:)", + "taskGroups" : [ + + ], + "title" : "*=(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" + }, + { + "abstract" : [ { - "kind" : "externalParam", - "text" : "texcoord" + "text" : "Returns a scaled copy of the value.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "identifier", + "text" : "scaled" }, { "kind" : "text", - "text" : "?, " + "text" : "(" }, { "kind" : "externalParam", - "text" : "color" + "text" : "by" }, { "kind" : "text", @@ -16426,28 +16891,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : "?) -> " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/curve(_:_:_:texcoord:color:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curve(_:_:_:texcoord:color:)", + "path" : "\/documentation\/euclid\/mesh\/scaled(by:)-94kks", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-94kks", "taskGroups" : [ ], - "title" : "curve(_:_:_:texcoord:color:)", - "usr" : "s:6Euclid9PathPointV5curve___8texcoord5colorACSd_S2dAA6VectorVSgAA5ColorVSgtFZ" + "title" : "scaled(by:)", + "usr" : "s:6Euclid4MeshV6scaled2byACSd_tF" }, { "availableLanguages" : [ @@ -16472,7 +16937,7 @@ }, { "kind" : "identifier", - "text" : "!=" + "text" : ">" }, { "kind" : "text", @@ -16506,18 +16971,18 @@ ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/!=(_:_:)", + "path" : "\/documentation\/euclid\/linesegment\/_(_:_:)-9688a", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_(_:_:)-9688a", "taskGroups" : [ ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" + "title" : ">(_:_:)", + "usr" : "s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { "abstract" : [ { - "text" : "Creates a new transform by decoding from the given decoder.", + "text" : "Returns the point where the specified plane intersects the line segment.", "type" : "text" } ], @@ -16527,7 +16992,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "intersection" }, { "kind" : "text", @@ -16535,7 +17008,7 @@ }, { "kind" : "externalParam", - "text" : "from" + "text" : "with" }, { "kind" : "text", @@ -16543,32 +17016,37 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7DecoderP", - "text" : "Decoder" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" }, { "kind" : "text", - "text" : ") " + "text" : ") -> " }, { - "kind" : "keyword", - "text" : "throws" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : "?" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/init(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(from:)", + "path" : "\/documentation\/euclid\/linesegment\/intersection(with:)-1tffl", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersection(with:)-1tffl", "taskGroups" : [ ], - "title" : "init(from:)", - "usr" : "s:6Euclid9TransformV4fromACs7Decoder_p_tKcfc" + "title" : "intersection(with:)", + "usr" : "s:6Euclid11LineSegmentV12intersection4withAA6VectorVSgAA5PlaneV_tF" }, { "abstract" : [ { - "text" : "Rotate the value in place.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -16586,7 +17064,7 @@ }, { "kind" : "identifier", - "text" : "rotate" + "text" : "scale" }, { "kind" : "text", @@ -16602,8 +17080,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -16612,18 +17090,18 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/rotate(by:)-7073s", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotate(by:)-7073s", + "path" : "\/documentation\/euclid\/vertex\/scale(by:)-1hyw0", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scale(by:)-1hyw0", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid7PolygonV" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid6VertexV" }, { "abstract" : [ { - "text" : "Creates a new vector from a CoreGraphics size.", + "text" : "Returns a scaled copy of the value.", "type" : "text" } ], @@ -16633,46 +17111,69 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "scaled" }, { "kind" : "text", "text" : "(" }, + { + "kind" : "externalParam", + "text" : "by" + }, + { + "kind" : "text", + "text" : ": " + }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@S@CGSize", - "text" : "CGSize" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/init(_:)-6nlm", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-6nlm", + "path" : "\/documentation\/euclid\/transform\/scaled(by:)-19ukh", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-19ukh", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid6VectorVyACSo6CGSizeVcfc" + "title" : "scaled(by:)", + "usr" : "s:6Euclid9TransformV6scaled2byACSd_tF" }, { - "abstract" : [ - { - "text" : "A Boolean value that indicates whether the polygon includes vertex colors.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -16680,11 +17181,31 @@ }, { "kind" : "identifier", - "text" : "hasVertexColors" + "text" : "!=" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " }, { "kind" : "typeIdentifier", @@ -16692,20 +17213,38 @@ "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/hasvertexcolors", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasVertexColors", + "path" : "\/documentation\/euclid\/mesh\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/!=(_:_:)", "taskGroups" : [ ], - "title" : "hasVertexColors", - "usr" : "s:6Euclid7PolygonV15hasVertexColorsSbvp" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid4MeshV" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/polygon\/decodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Decodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(from:)" + ], + "title" : "Initializers" + } + ], + "title" : "Decodable Implementations" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "Returns a rotated copy of the value.", "type" : "text" } ], @@ -16723,7 +17262,7 @@ }, { "kind" : "identifier", - "text" : "scale" + "text" : "rotated" }, { "kind" : "text", @@ -16739,36 +17278,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/scale(by:)-1hyw0", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scale(by:)-1hyw0", + "path" : "\/documentation\/euclid\/plane\/rotated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotated(by:)", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid6VertexV" + "title" : "rotated(by:)", + "usr" : "s:6Euclid5PlaneV7rotated2byAcA8RotationV_tF" }, { "abstract" : [ { - "text" : "Creates a color from a CoreGraphics ", - "type" : "text" - }, - { - "code" : "CGColor", - "type" : "codeVoice" - }, - { - "text" : ".", + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -16778,121 +17314,135 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "transformed" }, { "kind" : "text", "text" : "(" }, + { + "kind" : "externalParam", + "text" : "by" + }, + { + "kind" : "text", + "text" : ": " + }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@T@CGColorRef", - "text" : "CGColor" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/init(_:)-25eby", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:)-25eby", + "path" : "\/documentation\/euclid\/transform\/transformed(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transformed(by:)", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid5ColorVyACSo10CGColorRefacfc" + "title" : "transformed(by:)", + "usr" : "s:6Euclid9TransformV11transformed2byA2C_tF" }, { "abstract" : [ { - "text" : "Efficiently gets the difference between multiple meshes.", + "text" : "Euclid is a library for creating and manipulating 3D geometry using techniques such as extruding or “lathing” 2D paths to create solid 3D shapes, and CSG (Constructive Solid Geometry) to combine or subtract those shapes from one another.", "type" : "text" } ], "availableLanguages" : [ "swift" ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "difference" - }, - { - "kind" : "text", - "text" : "<" - }, - { - "kind" : "genericParameter", - "text" : "T" - }, - { - "kind" : "text", - "text" : ">(" - }, + "kind" : "org.swift.docc.kind.module", + "language" : "swift", + "path" : "\/documentation\/euclid", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid", + "taskGroups" : [ { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV10difference_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ1TL_xmfp", - "text" : "T" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/ConstructingMeshes", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/RenderingMeshes" + ], + "title" : "Using Euclid" }, { - "kind" : "text", - "text" : ", " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon" + ], + "title" : "Surfaces" }, { - "kind" : "externalParam", - "text" : "isCancelled" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment" + ], + "title" : "Lines and Paths" }, { - "kind" : "text", - "text" : ": " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle" + ], + "title" : "Rotations and Transforms" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color" + ], + "title" : "Fundamental Types" }, { - "kind" : "text", - "text" : ") -> " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/sin(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/cos(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/tan(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/min(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/max(_:_:)" + ], + "title" : "Supporting Functions" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounded", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable" + ], + "title" : "Protocols" } ], - "kind" : "org.swift.docc.kind.typeMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/difference(_:iscancelled:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/difference(_:isCancelled:)", - "taskGroups" : [ - - ], - "title" : "difference(_:isCancelled:)", - "usr" : "s:6Euclid4MeshV10difference_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ" + "title" : "Euclid", + "usr" : "Euclid" }, { "abstract" : [ { - "text" : "Creates an angle representing the trigonometric arc tangent of the vector you provide.", + "text" : "Returns a scaled copy of the value.", "type" : "text" } ], @@ -16900,14 +17450,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -16918,7 +17460,7 @@ }, { "kind" : "identifier", - "text" : "atan2" + "text" : "scaled" }, { "kind" : "text", @@ -16926,24 +17468,7 @@ }, { "kind" : "externalParam", - "text" : "y" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "x" + "text" : "by" }, { "kind" : "text", @@ -16960,42 +17485,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/atan2(y:x:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/atan2(y:x:)", + "path" : "\/documentation\/euclid\/linesegment\/scaled(by:)-37r1v", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-37r1v", "taskGroups" : [ ], - "title" : "atan2(y:x:)", - "usr" : "s:6Euclid5AngleV5atan21y1xACSd_SdtFZ" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/decodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Decodable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(from:)" - ], - "title" : "Initializers" - } - ], - "title" : "Decodable Implementations" + "title" : "scaled(by:)", + "usr" : "s:6Euclid11LineSegmentV6scaled2byACSd_tF" }, { "abstract" : [ { - "text" : "Returns the ordered array of polygon edges.", + "text" : "The angle of rotation.", "type" : "text" } ], @@ -17013,36 +17520,32 @@ }, { "kind" : "identifier", - "text" : "orderedEdges" + "text" : "angle" }, { "kind" : "text", - "text" : ": [" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" - }, - { - "kind" : "text", - "text" : "]" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/orderededges", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/orderedEdges", + "path" : "\/documentation\/euclid\/rotation\/angle", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/angle", "taskGroups" : [ ], - "title" : "orderedEdges", - "usr" : "s:6Euclid7PolygonV12orderedEdgesSayAA11LineSegmentVGvp" + "title" : "angle", + "usr" : "s:6Euclid8RotationV5angleAA5AngleVvp" }, { "abstract" : [ { - "text" : "Computes the convex hull of a set of vertices.", + "text" : "Efficiently gets the difference between multiple meshes.", "type" : "text" } ], @@ -17068,7 +17571,7 @@ }, { "kind" : "identifier", - "text" : "convexHull" + "text" : "difference" }, { "kind" : "text", @@ -17082,17 +17585,9 @@ "kind" : "text", "text" : ">(" }, - { - "kind" : "externalParam", - "text" : "of" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA6VertexV7ElementRtzlFZ1TL_xmfp", + "preciseIdentifier" : "s:6Euclid4MeshV10difference_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ1TL_xmfp", "text" : "T" }, { @@ -17101,7 +17596,7 @@ }, { "kind" : "externalParam", - "text" : "material" + "text" : "isCancelled" }, { "kind" : "text", @@ -17109,12 +17604,12 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" }, { "kind" : "text", - "text" : "?) -> " + "text" : ") -> " }, { "kind" : "typeIdentifier", @@ -17124,18 +17619,18 @@ ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/convexhull(of:material:)-75on2", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-75on2", + "path" : "\/documentation\/euclid\/mesh\/difference(_:iscancelled:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/difference(_:isCancelled:)", "taskGroups" : [ ], - "title" : "convexHull(of:material:)", - "usr" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA6VertexV7ElementRtzlFZ" + "title" : "difference(_:isCancelled:)", + "usr" : "s:6Euclid4MeshV10difference_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ" }, { "abstract" : [ { - "text" : "Divides the rotation angle by the specified value.", + "text" : "Returns the distance between a point and the plane.", "type" : "text" } ], @@ -17143,14 +17638,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -17161,57 +17648,49 @@ }, { "kind" : "identifier", - "text" : "\/=" - }, - { - "kind" : "text", - "text" : " " + "text" : "distance" }, { "kind" : "text", "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" + "kind" : "externalParam", + "text" : "from" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:Sd", "text" : "Double" - }, - { - "kind" : "text", - "text" : ")" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/\/=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/\/=(_:_:)", + "path" : "\/documentation\/euclid\/plane\/distance(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/distance(from:)", "taskGroups" : [ ], - "title" : "\/=(_:_:)", - "usr" : "s:6Euclid8RotationV2deoiyyACz_SdtFZ" + "title" : "distance(from:)", + "usr" : "s:6Euclid5PlaneV8distance4fromSdAA6VectorV_tF" }, { "abstract" : [ { - "text" : "Does the transform apply a mirror operation (negative scale)?", + "text" : "Creates a polygon from a set of vertex positions.", "type" : "text" } ], @@ -17221,15 +17700,32 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "?<" }, { - "kind" : "identifier", - "text" : "isFlipped" + "kind" : "genericParameter", + "text" : "T" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid7PolygonV_8materialACSgx_s11AnyHashableVSgtcSTRzAA6VectorV7ElementRtzlufc1TL_xmfp", + "text" : "T" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "material" }, { "kind" : "text", @@ -17237,52 +17733,73 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", + "text" : "Material" + }, + { + "kind" : "text", + "text" : "?)" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/isflipped", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/isFlipped", + "path" : "\/documentation\/euclid\/polygon\/init(_:material:)-8gsiw", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(_:material:)-8gsiw", "taskGroups" : [ ], - "title" : "isFlipped", - "usr" : "s:6Euclid9TransformV9isFlippedSbvp" + "title" : "init(_:material:)", + "usr" : "s:6Euclid7PolygonV_8materialACSgx_s11AnyHashableVSgtcSTRzAA6VectorV7ElementRtzlufc" }, { "availableLanguages" : [ "swift" ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/additivearithmetic-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/AdditiveArithmetic-Implementations", - "taskGroups" : [ + "fragments" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+=(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-=(_:_:)" - ], - "title" : "Operators" + "kind" : "keyword", + "text" : "static" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/zero" - ], - "title" : "Type Properties" + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "let" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "magenta" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" } ], - "title" : "AdditiveArithmetic Implementations" + "kind" : "org.swift.docc.kind.typeProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/color\/magenta", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/magenta", + "taskGroups" : [ + + ], + "title" : "magenta", + "usr" : "s:6Euclid5ColorV7magentaACvpZ" }, { "abstract" : [ { - "text" : "Creates a transform from the current position, scale and orientation of a SceneKit node.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -17290,14 +17807,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -17308,7 +17817,7 @@ }, { "kind" : "identifier", - "text" : "transform" + "text" : "rotate" }, { "kind" : "text", @@ -17316,7 +17825,7 @@ }, { "kind" : "externalParam", - "text" : "from" + "text" : "by" }, { "kind" : "text", @@ -17324,33 +17833,31 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:objc(cs)SCNNode", - "text" : "SCNNode" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/transform(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transform(from:)", + "path" : "\/documentation\/euclid\/mesh\/rotate(by:)-3uymx", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotate(by:)-3uymx", "taskGroups" : [ ], - "title" : "transform(from:)", - "usr" : "s:6Euclid9TransformV9transform4fromACSo7SCNNodeC_tFZ" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid4MeshV" }, { "abstract" : [ { - "text" : "Computes the convex hull of a set of paths.", + "text" : "Subtracts the quaternion rotation on the right from the one on the left.", "type" : "text" } ], @@ -17376,74 +17883,60 @@ }, { "kind" : "identifier", - "text" : "convexHull" + "text" : "-=" }, { "kind" : "text", - "text" : "<" - }, - { - "kind" : "genericParameter", - "text" : "T" + "text" : " " }, { "kind" : "text", - "text" : ">(" + "text" : "(" }, { - "kind" : "externalParam", - "text" : "of" + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA4PathV7ElementRtzlFZ1TL_xmfp", - "text" : "T" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", "text" : ", " }, - { - "kind" : "externalParam", - "text" : "material" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", - "text" : "?) -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/convexhull(of:material:)-4hvi3", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-4hvi3", + "path" : "\/documentation\/euclid\/quaternion\/-=(_:_:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-=(_:_:)", "taskGroups" : [ ], - "title" : "convexHull(of:material:)", - "usr" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA4PathV7ElementRtzlFZ" + "title" : "-=(_:_:)", + "usr" : "s:6Euclid10QuaternionV2seoiyyACz_ACtFZ" }, { "abstract" : [ { - "text" : "Translate the value in place.", + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -17453,94 +17946,68 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "translate" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "identifier", + "text" : "*" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "Self" }, { "kind" : "text", - "text" : ")" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/transformable\/translate(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/translate(by:)", - "taskGroups" : [ - - ], - "title" : "translate(by:)", - "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF" - }, - { - "abstract" : [ - { - "text" : "The default face generation behavior. Context-dependent.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "text" : ", " + }, { - "kind" : "keyword", - "text" : "case" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : " " + "text" : ") -> " }, { - "kind" : "identifier", - "text" : "`default`" + "kind" : "typeIdentifier", + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.enumerationCase", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/faces\/default", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/default", + "path" : "\/documentation\/euclid\/plane\/*(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/*(_:_:)", "taskGroups" : [ ], - "title" : "Mesh.Faces.default", - "usr" : "s:6Euclid4MeshV5FacesO7defaultyA2EmF" + "title" : "*(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid5PlaneV" }, { "abstract" : [ { - "text" : "Splits all polygons in the mesh that are concave or have more than the specified number of", - "type" : "text" - }, - { - "text" : " ", - "type" : "text" - }, - { - "text" : "sides into two or more convex polygons.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -17558,7 +18025,7 @@ }, { "kind" : "identifier", - "text" : "tessellate" + "text" : "scale" }, { "kind" : "text", @@ -17566,7 +18033,7 @@ }, { "kind" : "externalParam", - "text" : "maxSides" + "text" : "by" }, { "kind" : "text", @@ -17574,33 +18041,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/tessellate(maxsides:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/tessellate(maxSides:)", + "path" : "\/documentation\/euclid\/transformable\/scale(by:)-89xwv", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scale(by:)-89xwv", "taskGroups" : [ ], - "title" : "tessellate(maxSides:)", - "usr" : "s:6Euclid4MeshV10tessellate8maxSidesACSi_tF" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF" }, { "abstract" : [ { - "text" : "Deprecated.", + "text" : "Reduces the bounds to contain just the intersection of itself and the specified bounds.", "type" : "text" } ], @@ -17610,47 +18072,44 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "polygons" + "kind" : "identifier", + "text" : "formIntersection" }, { "kind" : "text", - "text" : ": [" + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" }, { "kind" : "text", - "text" : "])" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/init(polygons:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(polygons:)", + "path" : "\/documentation\/euclid\/bounds\/formintersection(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/formIntersection(_:)", "taskGroups" : [ ], - "title" : "init(polygons:)", - "usr" : "s:6Euclid6BoundsV8polygonsACSayAA7PolygonVG_tcfc" + "title" : "formIntersection(_:)", + "usr" : "s:6Euclid6BoundsV16formIntersectionyyACF" }, { "abstract" : [ { - "text" : "Deprecated.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -17660,16 +18119,43 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" }, { "kind" : "text", - "text" : "?(" + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "*=" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "keyword", + "text" : "inout" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "Self" }, { "kind" : "text", @@ -17677,31 +18163,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/init(_:_:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(_:_:)", + "path" : "\/documentation\/euclid\/vector\/*=(_:_:)-3ur4e", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*=(_:_:)-3ur4e", "taskGroups" : [ ], - "title" : "init(_:_:)", - "usr" : "s:6Euclid11LineSegmentVyACSgAA6VectorV_AFtcfc" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid6VectorV" }, { "abstract" : [ { - "text" : "Computes a set of edges where the mesh intersects a plane.", + "text" : "Removes hairline cracks by inserting additional vertices without altering the shape.", "type" : "text" } ], @@ -17719,70 +18202,32 @@ }, { "kind" : "identifier", - "text" : "edges" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "intersecting" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sh", - "text" : "Set" + "text" : "makeWatertight" }, { "kind" : "text", - "text" : "<" + "text" : "() -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" - }, - { - "kind" : "text", - "text" : ">" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/edges(intersecting:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/edges(intersecting:)", + "path" : "\/documentation\/euclid\/mesh\/makewatertight()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/makeWatertight()", "taskGroups" : [ ], - "title" : "edges(intersecting:)", - "usr" : "s:6Euclid4MeshV5edges12intersectingShyAA11LineSegmentVGAA5PlaneV_tF" + "title" : "makeWatertight()", + "usr" : "s:6Euclid4MeshV14makeWatertightACyF" }, { "abstract" : [ { - "text" : "Returns a new mesh representing the combined volume of the", - "type" : "text" - }, - { - "text" : " ", - "type" : "text" - }, - { - "text" : "mesh parameter and the receiver, with inner faces removed.", + "text" : "Returns a translated copy of the value.", "type" : "text" } ], @@ -17800,24 +18245,15 @@ }, { "kind" : "identifier", - "text" : "union" + "text" : "translated" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" - }, - { - "kind" : "text", - "text" : ", " - }, { "kind" : "externalParam", - "text" : "isCancelled" + "text" : "by" }, { "kind" : "text", @@ -17825,8 +18261,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -17834,32 +18270,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/union(_:iscancelled:)-swift.method", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/union(_:isCancelled:)-swift.method", + "path" : "\/documentation\/euclid\/plane\/translated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/translated(by:)", "taskGroups" : [ ], - "title" : "union(_:isCancelled:)", - "usr" : "s:6Euclid4MeshV5union_11isCancelledA2C_SbyXEtF" + "title" : "translated(by:)", + "usr" : "s:6Euclid5PlaneV10translated2byAcA6VectorV_tF" }, { "abstract" : [ { - "text" : "Creates a ", - "type" : "text" - }, - { - "code" : "Vector", - "type" : "codeVoice" - }, - { - "text" : " from a simd vector 2.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -17869,44 +18297,52 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "rotate" }, { "kind" : "text", "text" : "(" }, + { + "kind" : "externalParam", + "text" : "by" + }, + { + "kind" : "text", + "text" : ": " + }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@T@simd_float2", - "text" : "simd_float2" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/init(_:)-7r7et", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-7r7et", + "path" : "\/documentation\/euclid\/path\/rotate(by:)-3m9le", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotate(by:)-3m9le", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid6VectorVyACs5SIMD2VySfGcfc" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid4PathV" }, { "abstract" : [ { - "text" : "Creates a mesh from a RealityKit ", - "type" : "text" - }, - { - "code" : "MeshDescriptor", - "type" : "codeVoice" - }, - { - "text" : " with optional material.", + "text" : "Adds the quaternion rotation on the right to the one on the left.", "type" : "text" } ], @@ -17916,90 +18352,104 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:17RealityFoundation14MeshDescriptorV", - "text" : "MeshDescriptor" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "materials" + "kind" : "identifier", + "text" : "+=" }, { "kind" : "text", - "text" : ": [" + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "keyword", + "text" : "inout" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", - "text" : "." + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", - "text" : "?])" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/init(_:materials:)-22brv", + "path" : "\/documentation\/euclid\/quaternion\/+=(_:_:)", "platforms" : [ - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "15.0", - "name" : "iOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "12.0", - "name" : "macOS", - "unavailable" : false - } + ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materials:)-22brv", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/+=(_:_:)", "taskGroups" : [ ], - "title" : "init(_:materials:)", - "usr" : "s:6Euclid4MeshV_9materialsAC17RealityFoundation0B10DescriptorV_Says11AnyHashableVSgGtcfc" + "title" : "+=(_:_:)", + "usr" : "s:6Euclid10QuaternionV2peoiyyACz_ACtFZ" }, { "availableLanguages" : [ "swift" ], - "fragments" : [ + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/plane\/decodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Decodable-Implementations", + "taskGroups" : [ { - "kind" : "keyword", - "text" : "static" - }, + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(from:)" + ], + "title" : "Initializers" + } + ], + "title" : "Decodable Implementations" + }, + { + "abstract" : [ { - "kind" : "text", - "text" : " " - }, + "text" : "The magnitude of the quaternion.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -18007,55 +18457,45 @@ }, { "kind" : "identifier", - "text" : "+" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "text" : "length" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/+(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+(_:)", + "path" : "\/documentation\/euclid\/quaternion\/length", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/length", "taskGroups" : [ ], - "title" : "+(_:)", - "usr" : "s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:6Euclid5AngleV" + "title" : "length", + "usr" : "s:6Euclid10QuaternionV6lengthSdvp" }, { + "abstract" : [ + { + "text" : "The texture coordinate of the path point (optional). If omitted, will be inferred automatically.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -18063,52 +18503,36 @@ }, { "kind" : "identifier", - "text" : "!=" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "text" : "texcoord" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "text" : "?" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/!=(_:_:)", + "path" : "\/documentation\/euclid\/pathpoint\/texcoord", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/texcoord", "taskGroups" : [ ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid4MeshV" + "title" : "texcoord", + "usr" : "s:6Euclid9PathPointV8texcoordAA6VectorVSgvp" }, { "abstract" : [ { - "text" : "An infinite 2D plane in 3D space.", + "text" : "Return a copy of the mesh with cube-mapped texture coordinates.", "type" : "text" } ], @@ -18118,7 +18542,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "struct" + "text" : "func" }, { "kind" : "text", @@ -18126,75 +18550,27 @@ }, { "kind" : "identifier", - "text" : "Plane" - } - ], - "kind" : "org.swift.docc.kind.structure", - "language" : "swift", - "path" : "\/documentation\/euclid\/plane", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(normal:pointOnPlane:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(points:)" - ], - "title" : "Creating Planes" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/xy", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/xz", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/yz" - ], - "title" : "Default Planes" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/normal", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/w" - ], - "title" : "Plane Properties" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/containsPoint(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/distance(from:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-4v7tg", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-79olr" - ], - "title" : "Comparing Planes" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/inverted()", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-29v7y", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-6axqe", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/translated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/transformed(by:)" - ], - "title" : "Transforming Planes" + "text" : "cubeMapped" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-9o28g" - ], - "title" : "Instance Methods" + "kind" : "text", + "text" : "() -> " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Comparable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Decodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Encodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Equatable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Transformable-Implementations" - ], - "title" : "Default Implementations" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "title" : "Plane", - "usr" : "s:6Euclid5PlaneV" + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/cubemapped()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cubeMapped()", + "taskGroups" : [ + + ], + "title" : "cubeMapped()", + "usr" : "s:6Euclid4MeshV10cubeMappedACyF" }, { "abstract" : [ @@ -18243,36 +18619,18 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/scale(by:)-677dp", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scale(by:)-677dp", + "path" : "\/documentation\/euclid\/linesegment\/scale(by:)-2v2ef", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scale(by:)-2v2ef", "taskGroups" : [ ], "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid5PlaneV" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/line\/decodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Decodable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(from:)" - ], - "title" : "Initializers" - } - ], - "title" : "Decodable Implementations" + "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { "abstract" : [ { - "text" : "Creates a closed circular path.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -18280,14 +18638,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -18298,7 +18648,7 @@ }, { "kind" : "identifier", - "text" : "circle" + "text" : "rotate" }, { "kind" : "text", @@ -18306,7 +18656,7 @@ }, { "kind" : "externalParam", - "text" : "radius" + "text" : "by" }, { "kind" : "text", @@ -18314,33 +18664,49 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "segments" - }, + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/vertex\/rotate(by:)-1umln", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotate(by:)-1umln", + "taskGroups" : [ + + ], + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid6VertexV" + }, + { + "abstract" : [ { - "kind" : "text", - "text" : ": " - }, + "text" : "The rotation or orientation component of the transform.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "kind" : "keyword", + "text" : "var" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "color" + "kind" : "identifier", + "text" : "rotation" }, { "kind" : "text", @@ -18348,33 +18714,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" - }, - { - "kind" : "text", - "text" : "?) -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/circle(radius:segments:color:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/circle(radius:segments:color:)", + "path" : "\/documentation\/euclid\/transform\/rotation", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotation", "taskGroups" : [ ], - "title" : "circle(radius:segments:color:)", - "usr" : "s:6Euclid4PathV6circle6radius8segments5colorACSd_SiAA5ColorVSgtFZ" + "title" : "rotation", + "usr" : "s:6Euclid9TransformV8rotationAA8RotationVvp" }, { "abstract" : [ { - "text" : "Creates an angle from a radians value.", + "text" : "Expands this bounds (if necessary) to contain the specified bounds.", "type" : "text" } ], @@ -18384,44 +18741,44 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "radians" + "kind" : "identifier", + "text" : "formUnion" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/init(radians:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(radians:)", + "path" : "\/documentation\/euclid\/bounds\/formunion(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/formUnion(_:)", "taskGroups" : [ ], - "title" : "init(radians:)", - "usr" : "s:6Euclid5AngleV7radiansACSd_tcfc" + "title" : "formUnion(_:)", + "usr" : "s:6Euclid6BoundsV9formUnionyyACF" }, { "abstract" : [ { - "text" : "The angle of rotation around the Y-axis.", + "text" : "Returns the difference between two quaternion rotations,.", "type" : "text" } ], @@ -18431,7 +18788,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -18439,35 +18804,54 @@ }, { "kind" : "identifier", - "text" : "yaw" + "text" : "-" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/yaw", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/yaw", + "path" : "\/documentation\/euclid\/quaternion\/-(_:_:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-(_:_:)", "taskGroups" : [ ], - "title" : "yaw", - "usr" : "s:6Euclid8RotationV3yawAA5AngleVvp" + "title" : "-(_:_:)", + "usr" : "s:6Euclid10QuaternionV1soiyA2C_ACtFZ" }, { - "abstract" : [ - { - "text" : "Returns a rotated copy of the value.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -18482,7 +18866,7 @@ }, { "kind" : "identifier", - "text" : "rotated" + "text" : "hash" }, { "kind" : "text", @@ -18490,57 +18874,47 @@ }, { "kind" : "externalParam", - "text" : "by" + "text" : "into" }, { "kind" : "text", "text" : ": " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : ") -> " + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" + "preciseIdentifier" : "s:s6HasherV", + "text" : "Hasher" + }, + { + "kind" : "text", + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/rotated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotated(by:)", + "path" : "\/documentation\/euclid\/quaternion\/hash(into:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/hash(into:)", "taskGroups" : [ ], - "title" : "rotated(by:)", - "usr" : "s:6Euclid5PlaneV7rotated2byAcA8RotationV_tF" + "title" : "hash(into:)", + "usr" : "s:6Euclid10QuaternionV4hash4intoys6HasherVz_tF" }, { "abstract" : [ { - "text" : "All materials used by the mesh.", - "type" : "text" - }, - { - "text" : " ", - "type" : "text" - }, - { - "text" : "The array may contain ", - "type" : "text" - }, - { - "code" : "nil", - "type" : "codeVoice" - }, - { - "text" : " if some or all of the mesh uses the default material.", + "text" : "Creates an angle from a radians value.", "type" : "text" } ], @@ -18550,44 +18924,44 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "materials" + "kind" : "externalParam", + "text" : "radians" }, { "kind" : "text", - "text" : ": [" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : "?]" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/materials", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/materials", + "path" : "\/documentation\/euclid\/angle\/init(radians:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(radians:)", "taskGroups" : [ ], - "title" : "materials", - "usr" : "s:6Euclid4MeshV9materialsSays11AnyHashableVSgGvp" + "title" : "init(radians:)", + "usr" : "s:6Euclid5AngleV7radiansACSd_tcfc" }, { "abstract" : [ { - "text" : "Computes the convex hull of a set of line segments.", + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -18613,74 +18987,95 @@ }, { "kind" : "identifier", - "text" : "convexHull" + "text" : "*" }, { "kind" : "text", - "text" : "<" - }, - { - "kind" : "genericParameter", - "text" : "T" + "text" : " " }, { "kind" : "text", - "text" : ">(" + "text" : "(" }, { - "kind" : "externalParam", - "text" : "of" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA11LineSegmentV7ElementRtzlFZ1TL_xmfp", - "text" : "T" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { - "kind" : "externalParam", - "text" : "material" + "kind" : "typeIdentifier", + "text" : "Self" + } + ], + "kind" : "org.swift.docc.kind.operator", + "language" : "swift", + "path" : "\/documentation\/euclid\/transform\/*(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*(_:_:)", + "taskGroups" : [ + + ], + "title" : "*(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid9TransformV" + }, + { + "abstract" : [ + { + "text" : "The normalized direction of the line.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "kind" : "identifier", + "text" : "direction" }, { "kind" : "text", - "text" : "?) -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/convexhull(of:material:)-91swk", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-91swk", + "path" : "\/documentation\/euclid\/line\/direction", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/direction", "taskGroups" : [ ], - "title" : "convexHull(of:material:)", - "usr" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA11LineSegmentV7ElementRtzlFZ" + "title" : "direction", + "usr" : "s:6Euclid4LineV9directionAA6VectorVvp" }, { "abstract" : [ { - "text" : "Create a color from RGB values and optional alpha component", + "text" : "Creates an angle representing the trigonometric arc tangent of the vector you provide.", "type" : "text" } ], @@ -18690,20 +19085,35 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "atan2" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "kind" : "externalParam", + "text" : "y" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", @@ -18715,13 +19125,12 @@ "text" : ", " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "kind" : "externalParam", + "text" : "x" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", @@ -18730,23 +19139,46 @@ }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/init(_:_:_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:_:_:_:)", + "path" : "\/documentation\/euclid\/angle\/atan2(y:x:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/atan2(y:x:)", "taskGroups" : [ ], - "title" : "init(_:_:_:_:)", - "usr" : "s:6Euclid5ColorVyACSd_S3dtcfc" + "title" : "atan2(y:x:)", + "usr" : "s:6Euclid5AngleV5atan21y1xACSd_SdtFZ" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Equatable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/!=(_:_:)" + ], + "title" : "Operators" + } + ], + "title" : "Equatable Implementations" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "The identity transform (i.e. no transform).", "type" : "text" } ], @@ -18756,23 +19188,23 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "transform" + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "identifier", + "text" : "identity" }, { "kind" : "text", @@ -18782,26 +19214,22 @@ "kind" : "typeIdentifier", "preciseIdentifier" : "s:6Euclid9TransformV", "text" : "Transform" - }, - { - "kind" : "text", - "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/transform(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/transform(by:)", + "path" : "\/documentation\/euclid\/transform\/identity", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/identity", "taskGroups" : [ ], - "title" : "transform(by:)", - "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid9PathPointV" + "title" : "identity", + "usr" : "s:6Euclid9TransformV8identityACvpZ" }, { "abstract" : [ { - "text" : "Returns a translated copy of the value.", + "text" : "Splits all polygons in the mesh into triangles.", "type" : "text" } ], @@ -18819,67 +19247,32 @@ }, { "kind" : "identifier", - "text" : "translated" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "triangulate" }, { "kind" : "text", - "text" : ") -> " + "text" : "() -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/translated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/translated(by:)", + "path" : "\/documentation\/euclid\/mesh\/triangulate()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/triangulate()", "taskGroups" : [ ], - "title" : "translated(by:)", - "usr" : "s:6Euclid11LineSegmentV10translated2byAcA6VectorV_tF" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/wrapmode\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/Equatable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/!=(_:_:)" - ], - "title" : "Operators" - } - ], - "title" : "Equatable Implementations" + "title" : "triangulate()", + "usr" : "s:6Euclid4MeshV11triangulateACyF" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "Creates a closed regular polygon.", "type" : "text" } ], @@ -18887,6 +19280,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -18897,7 +19298,7 @@ }, { "kind" : "identifier", - "text" : "scale" + "text" : "polygon" }, { "kind" : "text", @@ -18905,7 +19306,7 @@ }, { "kind" : "externalParam", - "text" : "by" + "text" : "radius" }, { "kind" : "text", @@ -18918,23 +19319,62 @@ }, { "kind" : "text", - "text" : ")" + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "sides" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Si", + "text" : "Int" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "color" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" + }, + { + "kind" : "text", + "text" : "?) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/scale(by:)-55ayx", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scale(by:)-55ayx", + "path" : "\/documentation\/euclid\/path\/polygon(radius:sides:color:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/polygon(radius:sides:color:)", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "polygon(radius:sides:color:)", + "usr" : "s:6Euclid4PathV7polygon6radius5sides5colorACSd_SiAA5ColorVSgtFZ" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "The plane on which all vertices lie.", "type" : "text" } ], @@ -18944,7 +19384,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -18952,15 +19392,7 @@ }, { "kind" : "identifier", - "text" : "scale" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" + "text" : "plane" }, { "kind" : "text", @@ -18968,28 +19400,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/scale(by:)-4egi6", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scale(by:)-4egi6", + "path" : "\/documentation\/euclid\/polygon\/plane", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/plane", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid9PathPointV" + "title" : "plane", + "usr" : "s:6Euclid7PolygonV5planeAA5PlaneVvp" }, { "abstract" : [ { - "text" : "Rotate the value in place.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -19007,7 +19435,7 @@ }, { "kind" : "identifier", - "text" : "rotate" + "text" : "scale" }, { "kind" : "text", @@ -19023,8 +19451,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -19033,21 +19461,36 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/rotate(by:)-16elu", - "platforms" : [ + "path" : "\/documentation\/euclid\/vertex\/scale(by:)-6c0wl", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scale(by:)-6c0wl", + "taskGroups" : [ ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotate(by:)-16elu", + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid6VertexV" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/linesegment\/bounded-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Bounded-Implementations", "taskGroups" : [ - + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/bounds" + ], + "title" : "Instance Properties" + } ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : "Bounded Implementations" }, { "abstract" : [ { - "text" : "Creates a curved path point at the specified position.", + "text" : "Computes the convex hull of a set of path points.", "type" : "text" } ], @@ -19073,24 +19516,23 @@ }, { "kind" : "identifier", - "text" : "curve" + "text" : "convexHull" }, { "kind" : "text", - "text" : "(" + "text" : "<" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "genericParameter", + "text" : "T" }, { "kind" : "text", - "text" : ", " + "text" : ">(" }, { "kind" : "externalParam", - "text" : "texcoord" + "text" : "of" }, { "kind" : "text", @@ -19098,16 +19540,16 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA9PathPointV7ElementRtzlFZ1TL_xmfp", + "text" : "T" }, { "kind" : "text", - "text" : "?, " + "text" : ", " }, { "kind" : "externalParam", - "text" : "color" + "text" : "material" }, { "kind" : "text", @@ -19115,8 +19557,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", @@ -19124,59 +19566,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/curve(_:texcoord:color:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curve(_:texcoord:color:)", + "path" : "\/documentation\/euclid\/mesh\/convexhull(of:material:)-5ztum", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-5ztum", "taskGroups" : [ ], - "title" : "curve(_:texcoord:color:)", - "usr" : "s:6Euclid9PathPointV5curve_8texcoord5colorAcA6VectorV_AHSgAA5ColorVSgtFZ" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/transformable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Transformable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/*(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/*=(_:_:)" - ], - "title" : "Operators" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotate(by:)-7073s", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotate(by:)-8lp0l", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scale(by:)-2pycj", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scale(by:)-3en6y", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-69m6m", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-8sjrv", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/transform(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/transformed(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/translate(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/translated(by:)" - ], - "title" : "Instance Methods" - } - ], - "title" : "Transformable Implementations" + "title" : "convexHull(of:material:)", + "usr" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA9PathPointV7ElementRtzlFZ" }, { "abstract" : [ { - "text" : "The alpha component of the color.", + "text" : "Divides the components of the vector by the specified value.", "type" : "text" } ], @@ -19186,7 +19593,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -19194,32 +19609,60 @@ }, { "kind" : "identifier", - "text" : "a" + "text" : "\/=" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "keyword", + "text" : "inout" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" + }, + { + "kind" : "text", + "text" : ", " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:Sd", "text" : "Double" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/a", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/a", + "path" : "\/documentation\/euclid\/quaternion\/\/=(_:_:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/\/=(_:_:)", "taskGroups" : [ ], - "title" : "a", - "usr" : "s:6Euclid5ColorV1aSdvp" + "title" : "\/=(_:_:)", + "usr" : "s:6Euclid10QuaternionV2deoiyyACz_SdtFZ" }, { "abstract" : [ { - "text" : "Creates a vertex from a path point.", + "text" : "The angle is zero (or close to zero).", "type" : "text" } ], @@ -19229,36 +19672,40 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "var" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" + "kind" : "identifier", + "text" : "isZero" }, { "kind" : "text", - "text" : ")" + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/init(_:)-7go25", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:)-7go25", + "path" : "\/documentation\/euclid\/angle\/iszero", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/isZero", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid6VertexVyAcA9PathPointVcfc" + "title" : "isZero", + "usr" : "s:6Euclid5AngleV6isZeroSbvp" }, { "abstract" : [ { - "text" : "Rotate the value in place.", + "text" : "Creates a rotation from Euler angles applied in roll\/yaw\/pitch order.", "type" : "text" } ], @@ -19268,23 +19715,32 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "rotate" + "kind" : "externalParam", + "text" : "roll" }, { "kind" : "text", - "text" : "(" + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" + }, + { + "kind" : "text", + "text" : ", " }, { "kind" : "externalParam", - "text" : "by" + "text" : "yaw" }, { "kind" : "text", @@ -19292,63 +19748,45 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "pitch" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/rotate(by:)-15yni", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotate(by:)-15yni", + "path" : "\/documentation\/euclid\/rotation\/init(roll:yaw:pitch:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(roll:yaw:pitch:)", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid6BoundsV" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/transformable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Transformable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/*(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/*=(_:_:)" - ], - "title" : "Operators" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotate(by:)-1umln", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotate(by:)-622p8", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scale(by:)-1hyw0", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scale(by:)-6c0wl", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-1dtbr", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-20sq4", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/transform(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/transformed(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/translate(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/translated(by:)" - ], - "title" : "Instance Methods" - } - ], - "title" : "Transformable Implementations" + "title" : "init(roll:yaw:pitch:)", + "usr" : "s:6Euclid8RotationV4roll3yaw5pitchAcA5AngleV_A2Htcfc" }, { "abstract" : [ { - "text" : "The angle of rotation around the Y-axis.", + "text" : "Creates a quaternion representing a rotation around the Z axis.", "type" : "text" } ], @@ -19358,7 +19796,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -19366,35 +19812,44 @@ }, { "kind" : "identifier", - "text" : "yaw" + "text" : "roll" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:6Euclid5AngleV", "text" : "Angle" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/yaw", + "path" : "\/documentation\/euclid\/quaternion\/roll(_:)", "platforms" : [ ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/yaw", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/roll(_:)", "taskGroups" : [ ], - "title" : "yaw", - "usr" : "s:6Euclid10QuaternionV3yawAA5AngleVvp" + "title" : "roll(_:)", + "usr" : "s:6Euclid10QuaternionV4rollyAcA5AngleVFZ" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "Returns a scaled copy of the value.", "type" : "text" } ], @@ -19412,7 +19867,7 @@ }, { "kind" : "identifier", - "text" : "scale" + "text" : "scaled" }, { "kind" : "text", @@ -19428,28 +19883,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/scale(by:)-758tv", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scale(by:)-758tv", + "path" : "\/documentation\/euclid\/vector\/scaled(by:)-356zr", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-356zr", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid5PlaneV" + "title" : "scaled(by:)", + "usr" : "s:6Euclid6VectorV6scaled2byA2C_tF" }, { "abstract" : [ { - "text" : "The quaternion Y component.", + "text" : "Creates a new polygon by decoding from the given decoder.", "type" : "text" } ], @@ -19459,15 +19919,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "y" + "kind" : "externalParam", + "text" : "from" }, { "kind" : "text", @@ -19475,27 +19935,80 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:s7DecoderP", + "text" : "Decoder" + }, + { + "kind" : "text", + "text" : ") " + }, + { + "kind" : "keyword", + "text" : "throws" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/y", - "platforms" : [ + "path" : "\/documentation\/euclid\/polygon\/init(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(from:)", + "taskGroups" : [ ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/y", + "title" : "init(from:)", + "usr" : "s:6Euclid7PolygonV4fromACs7Decoder_p_tKcfc" + }, + { + "abstract" : [ + { + "text" : "Creates a path from a set of line segments.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sh", + "text" : "Set" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" + }, + { + "kind" : "text", + "text" : ">)" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/path\/init(_:)-5bu0o", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-5bu0o", "taskGroups" : [ ], - "title" : "y", - "usr" : "s:6Euclid10QuaternionV1ySdvp" + "title" : "init(_:)", + "usr" : "s:6Euclid4PathVyACShyAA11LineSegmentVGcfc" }, { "abstract" : [ { - "text" : "The texture coordinate of the path point (optional). If omitted, will be inferred automatically.", + "text" : "Returns an array containing the red, green, blue, and alpha components of the color.", "type" : "text" } ], @@ -19513,36 +20026,71 @@ }, { "kind" : "identifier", - "text" : "texcoord" + "text" : "components" }, { "kind" : "text", - "text" : ": " + "text" : ": [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : "?" + "text" : "]" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/texcoord", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/texcoord", + "path" : "\/documentation\/euclid\/color\/components", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/components", "taskGroups" : [ ], - "title" : "texcoord", - "usr" : "s:6Euclid9PathPointV8texcoordAA6VectorVSgvp" + "title" : "components", + "usr" : "s:6Euclid5ColorV10componentsSaySdGvp" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/bounds\/transformable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Transformable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/*(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/*=(_:_:)" + ], + "title" : "Operators" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotate(by:)-15yni", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotate(by:)-ntgj", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scale(by:)-7dhh3", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scale(by:)-mpk5", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-5dvvh", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-6epo6", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/transform(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/transformed(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/translate(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/translated(by:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Transformable Implementations" }, { "abstract" : [ { - "text" : "Rotate the value in place.", + "text" : "Translate the value in place.", "type" : "text" } ], @@ -19560,7 +20108,7 @@ }, { "kind" : "identifier", - "text" : "rotate" + "text" : "translate" }, { "kind" : "text", @@ -19576,8 +20124,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -19586,21 +20134,18 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/rotate(by:)-577nk", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotate(by:)-577nk", + "path" : "\/documentation\/euclid\/linesegment\/translate(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/translate(by:)", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid9TransformV" + "title" : "translate(by:)", + "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { "abstract" : [ { - "text" : "Creates a mesh by filling a path to form one or more polygons.", + "text" : "Efficiently forms a union from multiple meshes.", "type" : "text" } ], @@ -19626,33 +20171,24 @@ }, { "kind" : "identifier", - "text" : "fill" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "text" : "union" }, { "kind" : "text", - "text" : ", " + "text" : "<" }, { - "kind" : "externalParam", - "text" : "faces" + "kind" : "genericParameter", + "text" : "T" }, { "kind" : "text", - "text" : ": " + "text" : ">(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", - "text" : "Faces" + "preciseIdentifier" : "s:6Euclid4MeshV5union_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ1TL_xmfp", + "text" : "T" }, { "kind" : "text", @@ -19660,7 +20196,7 @@ }, { "kind" : "externalParam", - "text" : "material" + "text" : "isCancelled" }, { "kind" : "text", @@ -19668,12 +20204,12 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" }, { "kind" : "text", - "text" : "?) -> " + "text" : ") -> " }, { "kind" : "typeIdentifier", @@ -19683,87 +20219,168 @@ ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/fill(_:faces:material:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/fill(_:faces:material:)", + "path" : "\/documentation\/euclid\/mesh\/union(_:iscancelled:)-swift.type.method", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/union(_:isCancelled:)-swift.type.method", "taskGroups" : [ ], - "title" : "fill(_:faces:material:)", - "usr" : "s:6Euclid4MeshV4fill_5faces8materialAcA4PathV_AC5FacesOs11AnyHashableVSgtFZ" + "title" : "union(_:isCancelled:)", + "usr" : "s:6Euclid4MeshV5union_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ" }, { + "abstract" : [ + { + "text" : "A Boolean value that indicates whether the mesh includes vertex colors.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "var" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "func" + "kind" : "identifier", + "text" : "hasVertexColors" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "..." + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/hasvertexcolors", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasVertexColors", + "taskGroups" : [ + + ], + "title" : "hasVertexColors", + "usr" : "s:6Euclid4MeshV15hasVertexColorsSbvp" + }, + { + "abstract" : [ + { + "text" : "An axially-aligned bounding box in 3D space.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "struct" }, { "kind" : "text", "text" : " " }, { - "kind" : "text", - "text" : "(" + "kind" : "identifier", + "text" : "Bounds" + } + ], + "kind" : "org.swift.docc.kind.structure", + "language" : "swift", + "path" : "\/documentation\/euclid\/bounds", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-1icmf", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-27jri", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(min:max:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:_:)" + ], + "title" : "Creating Bounds" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/empty" + ], + "title" : "Default Bounds" }, { - "kind" : "text", - "text" : ") -> " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/min", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/max", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/size", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/center", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/corners", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/isEmpty" + ], + "title" : "Bounds Properties" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s19PartialRangeThroughV", - "text" : "PartialRangeThrough" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/containsPoint(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersects(_:)-7br6p", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersects(_:)-95v17" + ], + "title" : "Comparing Bounds" }, { - "kind" : "text", - "text" : "<" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/inset(by:)-49ykf", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/inset(by:)-4gk62", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersection(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/union(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/formIntersection(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/formUnion(_:)" + ], + "title" : "Combining and Modifying Bounds" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-5dvvh", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-6epo6", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/translated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/transformed(by:)" + ], + "title" : "Transforming Bounds" }, { - "kind" : "text", - "text" : ">" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-5bh7b", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-r54o", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(bounds:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(points:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(polygons:)" + ], + "title" : "Initializers" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Decodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Encodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Equatable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Transformable-Implementations" + ], + "title" : "Default Implementations" } ], - "kind" : "org.swift.docc.kind.operator", - "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/'...(_:)-3s6ak", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:)-3s6ak", - "taskGroups" : [ - - ], - "title" : "...(_:)", - "usr" : "s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:6Euclid5AngleV" + "title" : "Bounds", + "usr" : "s:6Euclid6BoundsV" }, { "abstract" : [ { - "text" : "Rotate the value in place.", + "text" : "Returns a rotated copy of the value.", "type" : "text" } ], @@ -19781,7 +20398,7 @@ }, { "kind" : "identifier", - "text" : "rotate" + "text" : "rotated" }, { "kind" : "text", @@ -19797,38 +20414,42 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/rotate(by:)-3uymx", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotate(by:)-3uymx", + "path" : "\/documentation\/euclid\/linesegment\/rotated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotated(by:)", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid4MeshV" + "title" : "rotated(by:)", + "usr" : "s:6Euclid11LineSegmentV7rotated2byAcA8RotationV_tF" }, { - "abstract" : [ - { - "text" : "The quaternion Z component.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "var" @@ -19839,7 +20460,7 @@ }, { "kind" : "identifier", - "text" : "z" + "text" : "errorDomain" }, { "kind" : "text", @@ -19847,27 +20468,54 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:SS", + "text" : "String" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/z", + "path" : "\/documentation\/euclid\/mesh\/ioerror\/errordomain", "platforms" : [ - + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "8.0", + "name" : "iOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "10.10", + "name" : "macOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "9.0", + "name" : "tvOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "2.0", + "name" : "watchOS", + "unavailable" : false + } ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/z", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorDomain", "taskGroups" : [ ], - "title" : "z", - "usr" : "s:6Euclid10QuaternionV1zSdvp" + "title" : "errorDomain", + "usr" : "s:10Foundation13CustomNSErrorPAAE11errorDomainSSvpZ::SYNTHESIZED::s:6Euclid4MeshV7IOErrorV" }, { "abstract" : [ { - "text" : "Flip the direction of the line segment", + "text" : "Returns a scaled copy of the value.", "type" : "text" } ], @@ -19885,32 +20533,49 @@ }, { "kind" : "identifier", - "text" : "inverted" + "text" : "scaled" }, { "kind" : "text", - "text" : "() -> " + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "by" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/inverted()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/inverted()", + "path" : "\/documentation\/euclid\/vertex\/scaled(by:)-1dtbr", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-1dtbr", "taskGroups" : [ ], - "title" : "inverted()", - "usr" : "s:6Euclid11LineSegmentV8invertedACyF" + "title" : "scaled(by:)", + "usr" : "s:6Euclid6VertexV6scaled2byACSd_tF" }, { "abstract" : [ { - "text" : "A surface normal vector, perpendicular to the plane.", + "text" : "Callback used to cancel a long-running operation.", "type" : "text" } ], @@ -19920,7 +20585,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "let" + "text" : "typealias" }, { "kind" : "text", @@ -19928,32 +20593,41 @@ }, { "kind" : "identifier", - "text" : "normal" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "CancellationHandler" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.typeAlias", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/normal", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/normal", + "path" : "\/documentation\/euclid\/mesh\/cancellationhandler", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/CancellationHandler", "taskGroups" : [ ], - "title" : "normal", - "usr" : "s:6Euclid5PlaneV6normalAA6VectorVvp" + "title" : "Mesh.CancellationHandler", + "usr" : "s:6Euclid4MeshV19CancellationHandlera" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/rotation\/decodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Decodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(from:)" + ], + "title" : "Initializers" + } + ], + "title" : "Decodable Implementations" }, { "abstract" : [ { - "text" : "Rotation has no effect.", + "text" : "Creates a spherical mesh.", "type" : "text" } ], @@ -19963,7 +20637,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -19971,7 +20653,15 @@ }, { "kind" : "identifier", - "text" : "isIdentity" + "text" : "sphere" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "radius" }, { "kind" : "text", @@ -19979,42 +20669,16 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/isidentity", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/isIdentity", - "taskGroups" : [ - - ], - "title" : "isIdentity", - "usr" : "s:6Euclid8RotationV10isIdentitySbvp" - }, - { - "abstract" : [ - { - "text" : "The angle of rotation.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "var" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "identifier", - "text" : "angle" + "kind" : "externalParam", + "text" : "slices" }, { "kind" : "text", @@ -20022,105 +20686,16 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/angle", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/angle", - "taskGroups" : [ - - ], - "title" : "angle", - "usr" : "s:6Euclid10QuaternionV5angleAA5AngleVvp" - }, - { - "abstract" : [ - { - "text" : "Creates a new bounds that contains both the specified bounds and this one.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "union" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/union(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/union(_:)", - "taskGroups" : [ - - ], - "title" : "union(_:)", - "usr" : "s:6Euclid6BoundsV5unionyA2CF" - }, - { - "abstract" : [ - { - "text" : "Translate the value in place.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "translate" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : "(" + "text" : ", " }, { "kind" : "externalParam", - "text" : "by" + "text" : "stacks" }, { "kind" : "text", @@ -20128,119 +20703,50 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ")" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/translate(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/translate(by:)", - "taskGroups" : [ - - ], - "title" : "translate(by:)", - "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid6VertexV" - }, - { - "abstract" : [ - { - "text" : "Returns the componentwise sum of two vectors.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "+" + "text" : "?, " }, { - "kind" : "text", - "text" : " " + "kind" : "externalParam", + "text" : "poleDetail" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", "text" : ", " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "externalParam", + "text" : "faces" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - } - ], - "kind" : "org.swift.docc.kind.operator", - "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/+(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+(_:_:)", - "taskGroups" : [ - - ], - "title" : "+(_:_:)", - "usr" : "s:6Euclid6VectorV1poiyA2C_ACtFZ" - }, - { - "abstract" : [ - { - "text" : "A Boolean value that indicates whether the bounds is empty (has zero volume).", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "var" + "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", + "text" : "Faces" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "identifier", - "text" : "isEmpty" + "kind" : "externalParam", + "text" : "wrapMode" }, { "kind" : "text", @@ -20248,84 +20754,50 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/isempty", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/isEmpty", - "taskGroups" : [ - - ], - "title" : "isEmpty", - "usr" : "s:6Euclid6BoundsV7isEmptySbvp" - }, - { - "abstract" : [ - { - "text" : "Creates a rotation around the Z axis.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", + "text" : "WrapMode" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "identifier", - "text" : "roll" + "kind" : "externalParam", + "text" : "material" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/roll(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/roll(_:)", + "path" : "\/documentation\/euclid\/mesh\/sphere(radius:slices:stacks:poledetail:faces:wrapmode:material:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/sphere(radius:slices:stacks:poleDetail:faces:wrapMode:material:)", "taskGroups" : [ ], - "title" : "roll(_:)", - "usr" : "s:6Euclid8RotationV4rollyAcA5AngleVFZ" + "title" : "sphere(radius:slices:stacks:poleDetail:faces:wrapMode:material:)", + "usr" : "s:6Euclid4MeshV6sphere6radius6slices6stacks10poleDetail5faces8wrapMode8materialACSd_S2iSgSiAC5FacesOAC04WrapK0Os11AnyHashableVSgtFZ" }, { "abstract" : [ { - "text" : "The default wrap behavior. Context-dependent.", + "text" : "Creates a corner path point at the specified position.", "type" : "text" } ], @@ -20335,38 +20807,12 @@ "fragments" : [ { "kind" : "keyword", - "text" : "case" + "text" : "static" }, { "kind" : "text", "text" : " " }, - { - "kind" : "identifier", - "text" : "`default`" - } - ], - "kind" : "org.swift.docc.kind.enumerationCase", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/wrapmode\/default", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/default", - "taskGroups" : [ - - ], - "title" : "Mesh.WrapMode.default", - "usr" : "s:6Euclid4MeshV8WrapModeO7defaultyA2EmF" - }, - { - "abstract" : [ - { - "text" : "Flips the face direction and vertex normals of all polygons within the mesh.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ { "kind" : "keyword", "text" : "func" @@ -20377,50 +20823,24 @@ }, { "kind" : "identifier", - "text" : "inverted" + "text" : "point" }, { "kind" : "text", - "text" : "() -> " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/inverted()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/inverted()", - "taskGroups" : [ - - ], - "title" : "inverted()", - "usr" : "s:6Euclid4MeshV8invertedACyF" - }, - { - "abstract" : [ - { - "text" : "Creates a new vector by decoding from the given decoder.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "init" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "(" + "text" : ", " }, { "kind" : "externalParam", - "text" : "from" + "text" : "texcoord" }, { "kind" : "text", @@ -20428,58 +20848,16 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7DecoderP", - "text" : "Decoder" - }, - { - "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "throws" - } - ], - "kind" : "org.swift.docc.kind.initializer", - "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/init(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(from:)", - "taskGroups" : [ - - ], - "title" : "init(from:)", - "usr" : "s:6Euclid6VectorV4fromACs7Decoder_p_tKcfc" - }, - { - "abstract" : [ - { - "text" : "Returns a transformed copy of the value.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "transformed" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "(" + "text" : "?, " }, { "kind" : "externalParam", - "text" : "by" + "text" : "color" }, { "kind" : "text", @@ -20487,45 +20865,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transformable\/transformed(by:)-21ah6", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transformed(by:)-21ah6", + "path" : "\/documentation\/euclid\/pathpoint\/point(_:texcoord:color:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/point(_:texcoord:color:)", "taskGroups" : [ ], - "title" : "transformed(by:)", - "usr" : "s:6Euclid13TransformablePAAE11transformed2byxAA9TransformV_tF" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/decodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Decodable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(from:)" - ], - "title" : "Initializers" - } - ], - "title" : "Decodable Implementations" + "title" : "point(_:texcoord:color:)", + "usr" : "s:6Euclid9PathPointV5point_8texcoord5colorAcA6VectorV_AHSgAA5ColorVSgtFZ" }, { "abstract" : [ @@ -20712,7 +21073,7 @@ }, { "kind" : "identifier", - "text" : "..." + "text" : "..<" }, { "kind" : "text", @@ -20732,8 +21093,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s19PartialRangeThroughV", - "text" : "PartialRangeThrough" + "preciseIdentifier" : "s:s16PartialRangeUpToV", + "text" : "PartialRangeUpTo" }, { "kind" : "text", @@ -20750,18 +21111,18 @@ ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/'...(_:)-49h2f", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:)-49h2f", + "path" : "\/documentation\/euclid\/angle\/'.._(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/.._(_:)", "taskGroups" : [ ], - "title" : "...(_:)", - "usr" : "s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:6Euclid5PlaneV" + "title" : "..<(_:)", + "usr" : "s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:6Euclid5AngleV" }, { "abstract" : [ { - "text" : "Creates a plane from a point and surface normal.", + "text" : "Computes a set of edges where the mesh intersects a plane.", "type" : "text" } ], @@ -20771,15 +21132,23 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" }, { "kind" : "text", - "text" : "?(" + "text" : " " + }, + { + "kind" : "identifier", + "text" : "edges" + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "externalParam", - "text" : "normal" + "text" : "intersecting" }, { "kind" : "text", @@ -20787,45 +21156,46 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { - "kind" : "externalParam", - "text" : "pointOnPlane" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sh", + "text" : "Set" }, { "kind" : "text", - "text" : ": " + "text" : "<" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" }, { "kind" : "text", - "text" : ")" + "text" : ">" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/init(normal:pointonplane:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(normal:pointOnPlane:)", + "path" : "\/documentation\/euclid\/mesh\/edges(intersecting:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/edges(intersecting:)", "taskGroups" : [ ], - "title" : "init(normal:pointOnPlane:)", - "usr" : "s:6Euclid5PlaneV6normal07pointOnB0ACSgAA6VectorV_AHtcfc" + "title" : "edges(intersecting:)", + "usr" : "s:6Euclid4MeshV5edges12intersectingShyAA11LineSegmentVGAA5PlaneV_tF" }, { "abstract" : [ { - "text" : "The texture wrapping mode to use when generating a mesh.", + "text" : "The angle of rotation around the X-axis.", "type" : "text" } ], @@ -20835,7 +21205,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "enum" + "text" : "var" }, { "kind" : "text", @@ -20843,37 +21213,32 @@ }, { "kind" : "identifier", - "text" : "WrapMode" - } - ], - "kind" : "org.swift.docc.kind.enumeration", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/wrapmode", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode", - "taskGroups" : [ + "text" : "pitch" + }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/default", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/none", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/shrink", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/tube" - ], - "title" : "Enumeration Cases" + "kind" : "text", + "text" : ": " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/Equatable-Implementations" - ], - "title" : "Default Implementations" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "title" : "Mesh.WrapMode", - "usr" : "s:6Euclid4MeshV8WrapModeO" + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/rotation\/pitch", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/pitch", + "taskGroups" : [ + + ], + "title" : "pitch", + "usr" : "s:6Euclid8RotationV5pitchAA5AngleVvp" }, { "abstract" : [ { - "text" : "Encodes this line segment into the given encoder.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -20891,7 +21256,7 @@ }, { "kind" : "identifier", - "text" : "encode" + "text" : "rotate" }, { "kind" : "text", @@ -20899,7 +21264,7 @@ }, { "kind" : "externalParam", - "text" : "to" + "text" : "by" }, { "kind" : "text", @@ -20907,32 +21272,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7EncoderP", - "text" : "Encoder" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "throws" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/encode(to:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/encode(to:)", + "path" : "\/documentation\/euclid\/mesh\/rotate(by:)-7y2vv", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotate(by:)-7y2vv", "taskGroups" : [ ], - "title" : "encode(to:)", - "usr" : "s:6Euclid11LineSegmentV6encode2toys7Encoder_p_tKF" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid4MeshV" }, { "abstract" : [ { - "text" : "Creates a quaternion from an axis and angle.", + "text" : "Creates an axis-aligned cubical mesh.", "type" : "text" } ], @@ -20942,15 +21303,31 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" }, { "kind" : "text", - "text" : "?(" + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "cube" + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "externalParam", - "text" : "axis" + "text" : "center" }, { "kind" : "text", @@ -20967,7 +21344,7 @@ }, { "kind" : "externalParam", - "text" : "angle" + "text" : "size" }, { "kind" : "text", @@ -20975,91 +21352,84 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ")" - } - ], - "kind" : "org.swift.docc.kind.initializer", - "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/init(axis:angle:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(axis:angle:)", - "taskGroups" : [ - - ], - "title" : "init(axis:angle:)", - "usr" : "s:6Euclid10QuaternionV4axis5angleACSgAA6VectorV_AA5AngleVtcfc" - }, - { - "abstract" : [ + "text" : ", " + }, { - "text" : "Creates a scale transform.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "externalParam", + "text" : "faces" + }, { - "kind" : "keyword", - "text" : "static" + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", + "text" : "Faces" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "keyword", - "text" : "func" + "kind" : "externalParam", + "text" : "wrapMode" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "scale" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", + "text" : "WrapMode" }, { "kind" : "text", - "text" : "(" + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "material" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/scale(_:)-55t4p", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(_:)-55t4p", + "path" : "\/documentation\/euclid\/mesh\/cube(center:size:faces:wrapmode:material:)-eado", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cube(center:size:faces:wrapMode:material:)-eado", "taskGroups" : [ ], - "title" : "scale(_:)", - "usr" : "s:6Euclid9TransformV5scaleyAcA6VectorVFZ" + "title" : "cube(center:size:faces:wrapMode:material:)", + "usr" : "s:6Euclid4MeshV4cube6center4size5faces8wrapMode8materialAcA6VectorV_SdAC5FacesOAC04WrapH0Os11AnyHashableVSgtFZ" }, { "abstract" : [ { - "text" : "Create a mesh from STL data.", + "text" : "Rotation has no effect.", "type" : "text" } ], @@ -21069,32 +21439,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "?(" - }, - { - "kind" : "externalParam", - "text" : "stlData" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:10Foundation4DataV", - "text" : "Data" + "text" : "var" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "materialLookup" + "kind" : "identifier", + "text" : "isIdentity" }, { "kind" : "text", @@ -21102,28 +21455,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19STLMaterialProvidera", - "text" : "STLMaterialProvider" - }, - { - "kind" : "text", - "text" : "?)" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/init(stldata:materiallookup:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(stlData:materialLookup:)", + "path" : "\/documentation\/euclid\/rotation\/isidentity", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/isIdentity", "taskGroups" : [ ], - "title" : "init(stlData:materialLookup:)", - "usr" : "s:6Euclid4MeshV7stlData14materialLookupACSg10Foundation0D0V_s11AnyHashableVSgAA5ColorVSgcSgtcfc" + "title" : "isIdentity", + "usr" : "s:6Euclid8RotationV10isIdentitySbvp" }, { "abstract" : [ { - "text" : "Clip mesh to the specified plane and optionally fill sheared faces with specified material.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -21141,7 +21490,7 @@ }, { "kind" : "identifier", - "text" : "clip" + "text" : "scale" }, { "kind" : "text", @@ -21149,24 +21498,7 @@ }, { "kind" : "externalParam", - "text" : "to" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "fill" + "text" : "by" }, { "kind" : "text", @@ -21174,33 +21506,36 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "?) -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/clip(to:fill:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/clip(to:fill:)", + "path" : "\/documentation\/euclid\/polygon\/scale(by:)-3en6y", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scale(by:)-3en6y", "taskGroups" : [ ], - "title" : "clip(to:fill:)", - "usr" : "s:6Euclid4MeshV4clip2to4fillAcA5PlaneV_s11AnyHashableVSgtF" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid7PolygonV" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the value.", + "text" : "Creates a ", + "type" : "text" + }, + { + "code" : "Quaternion", + "type" : "codeVoice" + }, + { + "text" : " from a simd quaternion.", "type" : "text" } ], @@ -21210,27 +21545,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "*" - }, - { - "kind" : "text", - "text" : " " + "text" : "init" }, { "kind" : "text", @@ -21238,40 +21553,31 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "c:@SA@simd_quatd", + "text" : "simd_quatd" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/*(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*(_:_:)", + "path" : "\/documentation\/euclid\/quaternion\/init(_:)-27eol", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-27eol", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid9TransformV" + "title" : "init(_:)", + "usr" : "s:6Euclid10QuaternionVyACSo10simd_quatdacfc" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -21289,7 +21595,7 @@ }, { "kind" : "identifier", - "text" : "scaled" + "text" : "rotate" }, { "kind" : "text", @@ -21305,33 +21611,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/scaled(by:)-1dtbr", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-1dtbr", + "path" : "\/documentation\/euclid\/plane\/rotate(by:)-2ix6y", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotate(by:)-2ix6y", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid6VertexV6scaled2byACSd_tF" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid5PlaneV" }, { "abstract" : [ { - "text" : "Linearly interpolates between two vertices.", + "text" : "Creates a composite path from an array of subpaths.", "type" : "text" } ], @@ -21341,75 +21642,44 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "lerp" + "text" : "init" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" + "kind" : "externalParam", + "text" : "subpaths" }, { "kind" : "text", - "text" : ", " + "text" : ": [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" + "text" : "])" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/lerp(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/lerp(_:_:)", + "path" : "\/documentation\/euclid\/path\/init(subpaths:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(subpaths:)", "taskGroups" : [ ], - "title" : "lerp(_:_:)", - "usr" : "s:6Euclid6VertexV4lerpyA2C_SdtF" + "title" : "init(subpaths:)", + "usr" : "s:6Euclid4PathV8subpathsACSayACG_tcfc" }, { "abstract" : [ { - "text" : "Creates a Euclid", - "type" : "text" - }, - { - "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform", - "isActive" : true, - "type" : "reference" - }, - { - "text" : " from a RealityKit ", - "type" : "text" - }, - { - "code" : "Transform", - "type" : "codeVoice" - }, - { - "text" : ".", + "text" : "The axis of rotation.", "type" : "text" } ], @@ -21419,56 +21689,43 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "var" }, { "kind" : "text", - "text" : "(RealityKit" + "text" : " " }, { - "kind" : "text", - "text" : "." + "kind" : "identifier", + "text" : "axis" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:17RealityFoundation9TransformV", - "text" : "Transform" + "kind" : "text", + "text" : ": " }, { - "kind" : "text", - "text" : ")" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/init(_:)-cys2", + "path" : "\/documentation\/euclid\/quaternion\/axis", "platforms" : [ - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "13.0", - "name" : "iOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "10.15", - "name" : "macOS", - "unavailable" : false - } + ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-cys2", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/axis", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid9TransformVyAC17RealityFoundationABVcfc" + "title" : "axis", + "usr" : "s:6Euclid10QuaternionV4axisAA6VectorVvp" }, { "abstract" : [ { - "text" : "Creates a corner path point at the specified X, Y and Z coordinates.", + "text" : "The minimum coordinate of the bounds.", "type" : "text" } ], @@ -21478,15 +21735,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "let" }, { "kind" : "text", @@ -21494,42 +21743,58 @@ }, { "kind" : "identifier", - "text" : "point" + "text" : "min" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + } + ], + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/bounds\/min", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/min", + "taskGroups" : [ + + ], + "title" : "min", + "usr" : "s:6Euclid6BoundsV3minAA6VectorVvp" + }, + { + "abstract" : [ { - "kind" : "text", - "text" : ", " - }, + "text" : "Scale the value in place.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "kind" : "identifier", + "text" : "scale" }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { "kind" : "externalParam", - "text" : "texcoord" + "text" : "by" }, { "kind" : "text", @@ -21542,54 +21807,65 @@ }, { "kind" : "text", - "text" : "?, " - }, - { - "kind" : "externalParam", - "text" : "color" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" - }, - { - "kind" : "text", - "text" : "?) -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/point(_:_:_:texcoord:color:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/point(_:_:_:texcoord:color:)", + "path" : "\/documentation\/euclid\/vector\/scale(by:)-8g7t0", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scale(by:)-8g7t0", "taskGroups" : [ ], - "title" : "point(_:_:_:texcoord:color:)", - "usr" : "s:6Euclid9PathPointV5point___8texcoord5colorACSd_S2dAA6VectorVSgAA5ColorVSgtFZ" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid6VectorV" }, { "availableLanguages" : [ "swift" ], - "fragments" : [ + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/path\/transformable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Transformable-Implementations", + "taskGroups" : [ { - "kind" : "keyword", - "text" : "static" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/*(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/*=(_:_:)" + ], + "title" : "Operators" }, { - "kind" : "text", - "text" : " " - }, + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotate(by:)-3m9le", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotate(by:)-93ypi", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scale(by:)-1kdd7", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scale(by:)-vnel", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-19jpq", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-84xdd", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/transform(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/transformed(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/translate(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/translated(by:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Transformable Implementations" + }, + { + "abstract" : [ + { + "text" : "Tessellates the polygon into triangles.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { "kind" : "keyword", "text" : "func" @@ -21600,64 +21876,91 @@ }, { "kind" : "identifier", - "text" : "..<" + "text" : "triangulate" }, { "kind" : "text", - "text" : " " + "text" : "() -> [" }, { - "kind" : "text", - "text" : "(" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "text", + "text" : "]" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/polygon\/triangulate()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/triangulate()", + "taskGroups" : [ + + ], + "title" : "triangulate()", + "usr" : "s:6Euclid7PolygonV11triangulateSayACGyF" + }, + { + "abstract" : [ + { + "text" : "Scale the value in place.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "identifier", + "text" : "scale" }, { "kind" : "text", - "text" : ") -> " + "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sn", - "text" : "Range" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : "<" + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ">" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/'.._(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/.._(_:_:)", + "path" : "\/documentation\/euclid\/transform\/scale(by:)-9i9s9", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(by:)-9i9s9", "taskGroups" : [ ], - "title" : "..<(_:_:)", - "usr" : "s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:6Euclid5PlaneV" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid9TransformV" }, { "abstract" : [ { - "text" : "Returns the product of a numeric multiplier and an angle.", + "text" : "Returns a new bounds inset by the specified amount.", "type" : "text" } ], @@ -21665,14 +21968,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -21683,29 +21978,24 @@ }, { "kind" : "identifier", - "text" : "*" - }, - { - "kind" : "text", - "text" : " " + "text" : "inset" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -21713,32 +22003,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/*(_:_:)-2ew65", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*(_:_:)-2ew65", + "path" : "\/documentation\/euclid\/bounds\/inset(by:)-4gk62", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/inset(by:)-4gk62", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid5AngleV1moiyACSd_ACtFZ" + "title" : "inset(by:)", + "usr" : "s:6Euclid6BoundsV5inset2byACSd_tF" }, { "abstract" : [ { - "text" : "Creates a ", - "type" : "text" - }, - { - "code" : "Vector", - "type" : "codeVoice" - }, - { - "text" : " from a simd vector 3.", + "text" : "Creates a new line from the specified line segment.", "type" : "text" } ], @@ -21756,8 +22038,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@T@simd_float3", - "text" : "simd_float3" + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" }, { "kind" : "text", @@ -21766,18 +22048,18 @@ ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/init(_:)-5s4mt", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-5s4mt", + "path" : "\/documentation\/euclid\/line\/init(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(_:)", "taskGroups" : [ ], "title" : "init(_:)", - "usr" : "s:6Euclid6VectorVyACs5SIMD3VySfGcfc" + "usr" : "s:6Euclid4LineVyAcA0B7SegmentVcfc" }, { "abstract" : [ { - "text" : "Computes the dot-product of this vector and another.", + "text" : "The bounds of all the path’s points.", "type" : "text" } ], @@ -21787,7 +22069,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -21795,49 +22077,41 @@ }, { "kind" : "identifier", - "text" : "dot" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "bounds" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/dot(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/dot(_:)", + "path" : "\/documentation\/euclid\/path\/bounds", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/bounds", "taskGroups" : [ ], - "title" : "dot(_:)", - "usr" : "s:6Euclid6VectorV3dotySdACF" + "title" : "bounds", + "usr" : "s:6Euclid4PathV6boundsAA6BoundsVvp" }, { "abstract" : [ { - "text" : "A Boolean value that indicates whether the vector has a length of ", + "text" : "An optional ", "type" : "text" }, { - "code" : "1", - "type" : "codeVoice" + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Material-swift.typealias", + "isActive" : true, + "type" : "reference" }, { - "text" : ".", + "text" : " associated with the polygon.", "type" : "text" } ], @@ -21855,7 +22129,7 @@ }, { "kind" : "identifier", - "text" : "isNormalized" + "text" : "material" }, { "kind" : "text", @@ -21863,24 +22137,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", + "text" : "Material" + }, + { + "kind" : "text", + "text" : "?" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/isnormalized", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isNormalized", + "path" : "\/documentation\/euclid\/polygon\/material-swift.property", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/material-swift.property", "taskGroups" : [ ], - "title" : "isNormalized", - "usr" : "s:6Euclid6VectorV12isNormalizedSbvp" + "title" : "material", + "usr" : "s:6Euclid7PolygonV8materials11AnyHashableVSgvp" }, { "abstract" : [ { - "text" : "The face generation policy for Euclid to use when creating a mesh.", + "text" : "Generate front faces.", "type" : "text" } ], @@ -21890,7 +22168,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "enum" + "text" : "case" }, { "kind" : "text", @@ -21898,65 +22176,35 @@ }, { "kind" : "identifier", - "text" : "Faces" + "text" : "front" } ], - "kind" : "org.swift.docc.kind.enumeration", + "kind" : "org.swift.docc.kind.enumerationCase", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/faces", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces", + "path" : "\/documentation\/euclid\/mesh\/faces\/front", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/front", "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/back", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/default", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/front", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/frontAndBack" - ], - "title" : "Enumeration Cases" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/Equatable-Implementations" - ], - "title" : "Default Implementations" - } + ], - "title" : "Mesh.Faces", - "usr" : "s:6Euclid4MeshV5FacesO" + "title" : "Mesh.Faces.front", + "usr" : "s:6Euclid4MeshV5FacesO5frontyA2EmF" }, { "availableLanguages" : [ "swift" ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/encodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Encodable-Implementations", - "taskGroups" : [ + "fragments" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/encode(to:)" - ], - "title" : "Instance Methods" - } - ], - "title" : "Encodable Implementations" - }, - { - "abstract" : [ + "kind" : "keyword", + "text" : "static" + }, { - "text" : "Texture coordinates for the vertex. Set this to zero if you are not using a texture map.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -21964,32 +22212,60 @@ }, { "kind" : "identifier", - "text" : "texcoord" + "text" : "!=" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/texcoord", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/texcoord", + "path" : "\/documentation\/euclid\/bounds\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/!=(_:_:)", "taskGroups" : [ ], - "title" : "texcoord", - "usr" : "s:6Euclid6VertexV8texcoordAA6VectorVvp" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid6BoundsV" }, { "abstract" : [ { - "text" : "Texture is shrink-wrapped.", + "text" : "Creates a Euclid ", + "type" : "text" + }, + { + "code" : "Quaternion", + "type" : "codeVoice" + }, + { + "text" : " from a SceneKit quaternion.", "type" : "text" } ], @@ -21999,26 +22275,34 @@ "fragments" : [ { "kind" : "keyword", - "text" : "case" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "shrink" + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@T@SCNQuaternion", + "text" : "SCNQuaternion" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.enumerationCase", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/wrapmode\/shrink", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/shrink", + "path" : "\/documentation\/euclid\/quaternion\/init(_:)-b3v3", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-b3v3", "taskGroups" : [ ], - "title" : "Mesh.WrapMode.shrink", - "usr" : "s:6Euclid4MeshV8WrapModeO6shrinkyA2EmF" + "title" : "init(_:)", + "usr" : "s:6Euclid10QuaternionVyACSo10SCNVector4Vcfc" }, { "availableLanguages" : [ @@ -22043,7 +22327,7 @@ }, { "kind" : "identifier", - "text" : "-=" + "text" : "<=" }, { "kind" : "text", @@ -22053,14 +22337,6 @@ "kind" : "text", "text" : "(" }, - { - "kind" : "keyword", - "text" : "inout" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "typeIdentifier", "text" : "Self" @@ -22075,36 +22351,23 @@ }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/-=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-=(_:_:)", + "path" : "\/documentation\/euclid\/linesegment\/_=(_:_:)-8q2nt", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_=(_:_:)-8q2nt", "taskGroups" : [ ], - "title" : "-=(_:_:)", - "usr" : "s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/decodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Decodable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(from:)" - ], - "title" : "Initializers" - } - ], - "title" : "Decodable Implementations" + "title" : "<=(_:_:)", + "usr" : "s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { "availableLanguages" : [ @@ -22129,7 +22392,7 @@ }, { "kind" : "identifier", - "text" : "+" + "text" : ">=" }, { "kind" : "text", @@ -22145,27 +22408,36 @@ }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { "kind" : "typeIdentifier", "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/+(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+(_:)", + "path" : "\/documentation\/euclid\/vector\/_=(_:_:)-9s7pp", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_=(_:_:)-9s7pp", "taskGroups" : [ ], - "title" : "+(_:)", - "usr" : "s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:6Euclid6VectorV" + "title" : ">=(_:_:)", + "usr" : "s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" }, { "abstract" : [ { - "text" : "Alignment mode to use when extruding along a path.", + "text" : "Merges any coplanar polygons that share one or more edges.", "type" : "text" } ], @@ -22175,7 +22447,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "enum" + "text" : "func" }, { "kind" : "text", @@ -22183,36 +22455,32 @@ }, { "kind" : "identifier", - "text" : "Alignment" - } - ], - "kind" : "org.swift.docc.kind.enumeration", - "language" : "swift", - "path" : "\/documentation\/euclid\/path\/alignment", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment", - "taskGroups" : [ + "text" : "detessellate" + }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/axis", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/default", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/tangent" - ], - "title" : "Enumeration Cases" + "kind" : "text", + "text" : "() -> " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/Equatable-Implementations" - ], - "title" : "Default Implementations" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "title" : "Path.Alignment", - "usr" : "s:6Euclid4PathV9AlignmentO" + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/detessellate()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/detessellate()", + "taskGroups" : [ + + ], + "title" : "detessellate()", + "usr" : "s:6Euclid4MeshV12detessellateACyF" }, { "abstract" : [ { - "text" : "A zero-length vector.", + "text" : "Returns the normalized quaternion.", "type" : "text" } ], @@ -22222,15 +22490,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "let" + "text" : "func" }, { "kind" : "text", @@ -22238,32 +22498,35 @@ }, { "kind" : "identifier", - "text" : "zero" + "text" : "normalized" }, { "kind" : "text", - "text" : ": " + "text" : "() -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/zero", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/zero", + "path" : "\/documentation\/euclid\/quaternion\/normalized()", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/normalized()", "taskGroups" : [ ], - "title" : "zero", - "usr" : "s:6Euclid6VectorV4zeroACvpZ" + "title" : "normalized()", + "usr" : "s:6Euclid10QuaternionV10normalizedACyF" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -22271,14 +22534,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -22289,56 +22544,65 @@ }, { "kind" : "identifier", - "text" : "*=" - }, - { - "kind" : "text", - "text" : " " + "text" : "rotate" }, { "kind" : "text", "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/*=(_:_:)-3ur4e", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*=(_:_:)-3ur4e", + "path" : "\/documentation\/euclid\/path\/rotate(by:)-93ypi", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotate(by:)-93ypi", "taskGroups" : [ ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid4PathV" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/encodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Encodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/encode(to:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Encodable Implementations" }, { "abstract" : [ { - "text" : "The zero quaternion.", + "text" : "Creates a mesh by connecting a series of 3D paths representing the cross sections.", "type" : "text" } ], @@ -22356,7 +22620,7 @@ }, { "kind" : "keyword", - "text" : "let" + "text" : "func" }, { "kind" : "text", @@ -22364,133 +22628,75 @@ }, { "kind" : "identifier", - "text" : "zero" + "text" : "loft" }, { "kind" : "text", - "text" : ": " + "text" : "([" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" - } - ], - "kind" : "org.swift.docc.kind.typeProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/zero", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/zero", - "taskGroups" : [ - - ], - "title" : "zero", - "usr" : "s:6Euclid10QuaternionV4zeroACvpZ" - }, - { - "abstract" : [ - { - "text" : "Material used by the mesh polygons.", - "type" : "text" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" }, { - "text" : " ", - "type" : "text" + "kind" : "text", + "text" : "], " }, { - "text" : "See ", - "type" : "text" + "kind" : "externalParam", + "text" : "faces" }, { - "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Material-swift.typealias", - "isActive" : true, - "type" : "reference" + "kind" : "text", + "text" : ": " }, { - "text" : " for details.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "typealias" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", + "text" : "Faces" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "identifier", - "text" : "Material" - } - ], - "kind" : "org.swift.docc.kind.typeAlias", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/material", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Material", - "taskGroups" : [ - - ], - "title" : "Mesh.Material", - "usr" : "s:6Euclid4MeshV8Materiala" - }, - { - "abstract" : [ - { - "text" : "The array of points that makes up this path.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "let" + "kind" : "externalParam", + "text" : "material" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "points" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : ": [" + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" - }, - { - "kind" : "text", - "text" : "]" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/points", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/points", + "path" : "\/documentation\/euclid\/mesh\/loft(_:faces:material:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/loft(_:faces:material:)", "taskGroups" : [ ], - "title" : "points", - "usr" : "s:6Euclid4PathV6pointsSayAA0B5PointVGvp" + "title" : "loft(_:faces:material:)", + "usr" : "s:6Euclid4MeshV4loft_5faces8materialACSayAA4PathVG_AC5FacesOs11AnyHashableVSgtFZ" }, { "abstract" : [ { - "text" : "Returns whether the leftmost angle has the lower value.", + "text" : "An orientation or rotation in 3D space.", "type" : "text" } ], @@ -22500,88 +22706,109 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "struct" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "func" - }, + "kind" : "identifier", + "text" : "Rotation" + } + ], + "kind" : "org.swift.docc.kind.structure", + "language" : "swift", + "path" : "\/documentation\/euclid\/rotation", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation", + "taskGroups" : [ { - "kind" : "text", - "text" : " " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init()", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-5w6mn", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-68leo", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-7j4ql", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(axis:angle:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(pitch:yaw:roll:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(roll:yaw:pitch:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(yaw:pitch:roll:)" + ], + "title" : "Creating Rotations" }, { - "kind" : "identifier", - "text" : "<" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/identity" + ], + "title" : "Default Quaternions" }, { - "kind" : "text", - "text" : " " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/pitch(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/roll(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/yaw(_:)" + ], + "title" : "Creating Rotations Around an Axis" }, { - "kind" : "text", - "text" : "(" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/pitch", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/roll", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/yaw", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/axis", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/angle", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/forward", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/right", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/up", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/isIdentity" + ], + "title" : "Rotation Properties" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/slerp(_:_:)" + ], + "title" : "Interpolating Rotations" }, { - "kind" : "text", - "text" : ", " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/-(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*(_:_:)-55zcf", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*(_:_:)-5fe82", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*=(_:_:)-68kkw", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*=(_:_:)-7u9hf" + ], + "title" : "Operators" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/\/(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/\/=(_:_:)" + ], + "title" : "Operators" }, { - "kind" : "text", - "text" : ") -> " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-8izj" + ], + "title" : "Initializers" }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" - } - ], - "kind" : "org.swift.docc.kind.operator", - "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/_(_:_:)-1aqv9", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_(_:_:)-1aqv9", - "taskGroups" : [ - - ], - "title" : "<(_:_:)", - "usr" : "s:6Euclid5AngleV1loiySbAC_ACtFZ" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/encodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Encodable-Implementations", - "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/encode(to:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Decodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Encodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Equatable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Hashable-Implementations" ], - "title" : "Instance Methods" + "title" : "Default Implementations" } ], - "title" : "Encodable Implementations" + "title" : "Rotation", + "usr" : "s:6Euclid8RotationV" }, { "abstract" : [ { - "text" : "Multiplies the quaternion rotation on the left by the one on the right.", + "text" : "Creates a closed elliptical path.", "type" : "text" } ], @@ -22607,149 +22834,95 @@ }, { "kind" : "identifier", - "text" : "*=" - }, - { - "kind" : "text", - "text" : " " + "text" : "ellipse" }, { "kind" : "text", "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" + "kind" : "externalParam", + "text" : "width" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", "text" : ", " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "kind" : "externalParam", + "text" : "height" }, { "kind" : "text", - "text" : ")" - } - ], - "kind" : "org.swift.docc.kind.operator", - "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/*=(_:_:)-5ic2j", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*=(_:_:)-5ic2j", - "taskGroups" : [ - - ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid10QuaternionV2meoiyyACz_ACtFZ" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/hashable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Hashable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/hash(into:)" - ], - "title" : "Instance Methods" - } - ], - "title" : "Hashable Implementations" - }, - { - "abstract" : [ - { - "text" : "Returns the product of two quaternions (i.e. the effect of rotating the left by the right).", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "text" : ": " + }, { - "kind" : "keyword", - "text" : "static" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "keyword", - "text" : "func" + "kind" : "externalParam", + "text" : "segments" }, { "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "*" + "text" : ": " }, { - "kind" : "text", - "text" : " " + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : "(" + "text" : ", " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "kind" : "externalParam", + "text" : "color" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/*(_:_:)-305tn", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*(_:_:)-305tn", + "path" : "\/documentation\/euclid\/path\/ellipse(width:height:segments:color:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/ellipse(width:height:segments:color:)", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid10QuaternionV1moiyA2C_ACtFZ" + "title" : "ellipse(width:height:segments:color:)", + "usr" : "s:6Euclid4PathV7ellipse5width6height8segments5colorACSd_SdSiAA5ColorVSgtFZ" }, { "availableLanguages" : [ @@ -22782,10 +22955,28 @@ "title" : "Mesh.MaterialProvider", "usr" : "s:6Euclid4MeshV16MaterialProvidera" }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/path\/bounded-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Bounded-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/bounds" + ], + "title" : "Instance Properties" + } + ], + "title" : "Bounded Implementations" + }, { "abstract" : [ { - "text" : "Returns a Boolean value that indicates whether a point lies inside the polygon, on the same plane.", + "text" : "Translate the value in place.", "type" : "text" } ], @@ -22803,38 +22994,47 @@ }, { "kind" : "identifier", - "text" : "containsPoint" + "text" : "translate" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/containspoint(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/containsPoint(_:)", + "path" : "\/documentation\/euclid\/plane\/translate(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/translate(by:)", "taskGroups" : [ ], - "title" : "containsPoint(_:)", - "usr" : "s:6Euclid7PolygonV13containsPointySbAA6VectorVF" + "title" : "translate(by:)", + "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid5PlaneV" }, { + "abstract" : [ + { + "text" : "Return Wavefront OBJ string data for the mesh.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -22849,61 +23049,32 @@ }, { "kind" : "identifier", - "text" : "intersect" + "text" : "objString" }, { "kind" : "text", - "text" : "(" + "text" : "() -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "isCancelled" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:SS", + "text" : "String" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/intersect(_:iscancelled:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersect(_:isCancelled:)", + "path" : "\/documentation\/euclid\/mesh\/objstring()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/objString()", "taskGroups" : [ ], - "title" : "intersect(_:isCancelled:)", - "usr" : "s:6Euclid4MeshV9intersect_11isCancelledA2C_SbyXEtF" + "title" : "objString()", + "usr" : "s:6Euclid4MeshV9objStringSSyF" }, { "abstract" : [ { - "text" : "Returns the intersection point between the specified line segment and this one.", + "text" : "Creates a mesh from a SceneKit geometry, with optional material mapping.", "type" : "text" } ], @@ -22913,23 +23084,24 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "?(" }, { - "kind" : "identifier", - "text" : "intersection" + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)SCNGeometry", + "text" : "SCNGeometry" }, { "kind" : "text", - "text" : "(" + "text" : ", " }, { "kind" : "externalParam", - "text" : "with" + "text" : "materialLookup" }, { "kind" : "text", @@ -22937,37 +23109,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid4MeshV19SCNMaterialProvidera", + "text" : "SCNMaterialProvider" }, { "kind" : "text", - "text" : "?" + "text" : "?)" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/intersection(with:)-2u7vo", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersection(with:)-2u7vo", + "path" : "\/documentation\/euclid\/mesh\/init(_:materiallookup:)-7p5hd", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materialLookup:)-7p5hd", "taskGroups" : [ ], - "title" : "intersection(with:)", - "usr" : "s:6Euclid11LineSegmentV12intersection4withAA6VectorVSgAC_tF" + "title" : "init(_:materialLookup:)", + "usr" : "s:6Euclid4MeshV_14materialLookupACSgSo11SCNGeometryC_s11AnyHashableVSgSo11SCNMaterialCcSgtcfc" }, { "abstract" : [ { - "text" : "The translation or position component of the transform.", + "text" : "Creates an angle representing the trigonometric arc cosine of the value you provide.", "type" : "text" } ], @@ -22977,7 +23140,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -22985,32 +23156,41 @@ }, { "kind" : "identifier", - "text" : "offset" + "text" : "acos" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/offset", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/offset", + "path" : "\/documentation\/euclid\/angle\/acos(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/acos(_:)", "taskGroups" : [ ], - "title" : "offset", - "usr" : "s:6Euclid9TransformV6offsetAA6VectorVvp" + "title" : "acos(_:)", + "usr" : "s:6Euclid5AngleV4acosyACSdFZ" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the value.", + "text" : "Returns the inverse angle.", "type" : "text" } ], @@ -23020,32 +23200,36 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "transformed" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "identifier", + "text" : "-" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", @@ -23053,24 +23237,39 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/transformed(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/transformed(by:)", + "path" : "\/documentation\/euclid\/angle\/-(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-(_:)", "taskGroups" : [ ], - "title" : "transformed(by:)", - "usr" : "s:6Euclid13TransformablePAAE11transformed2byxAA9TransformV_tF::SYNTHESIZED::s:6Euclid7PolygonV" + "title" : "-(_:)", + "usr" : "s:6Euclid5AngleV1sopyA2CFZ" }, { + "abstract" : [ + { + "text" : "Creates a mesh by extruding a path along its face normal.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -23081,7 +23280,7 @@ }, { "kind" : "identifier", - "text" : "subtract" + "text" : "extrude" }, { "kind" : "text", @@ -23089,8 +23288,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" }, { "kind" : "text", @@ -23098,7 +23297,7 @@ }, { "kind" : "externalParam", - "text" : "isCancelled" + "text" : "depth" }, { "kind" : "text", @@ -23106,62 +23305,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/subtract(_:iscancelled:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/subtract(_:isCancelled:)", - "taskGroups" : [ - - ], - "title" : "subtract(_:isCancelled:)", - "usr" : "s:6Euclid4MeshV8subtract_11isCancelledA2C_SbyXEtF" - }, - { - "abstract" : [ - { - "text" : "Returns a scaled copy of the value.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "func" + "kind" : "externalParam", + "text" : "twist" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "scaled" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : "(" + "text" : ", " }, { "kind" : "externalParam", - "text" : "by" + "text" : "sections" }, { "kind" : "text", @@ -23169,101 +23339,74 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { - "kind" : "typeIdentifier", - "text" : "Self" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/transformable\/scaled(by:)-3shbk", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scaled(by:)-3shbk", - "taskGroups" : [ - - ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid13TransformableP6scaled2byxAA6VectorV_tF" - }, - { - "abstract" : [ - { - "text" : "Creates a rotation around the Y axis.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" + "kind" : "externalParam", + "text" : "faces" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "keyword", - "text" : "func" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", + "text" : "Faces" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "identifier", - "text" : "yaw" + "kind" : "externalParam", + "text" : "material" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/yaw(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/yaw(_:)", + "path" : "\/documentation\/euclid\/mesh\/extrude(_:depth:twist:sections:faces:material:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:depth:twist:sections:faces:material:)", "taskGroups" : [ ], - "title" : "yaw(_:)", - "usr" : "s:6Euclid8RotationV3yawyAcA5AngleVFZ" + "title" : "extrude(_:depth:twist:sections:faces:material:)", + "usr" : "s:6Euclid4MeshV7extrude_5depth5twist8sections5faces8materialAcA4PathV_SdAA5AngleVSiAC5FacesOs11AnyHashableVSgtFZ" }, { + "abstract" : [ + { + "text" : "Computes the trigonometric cosine of an angle.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -23274,11 +23417,7 @@ }, { "kind" : "identifier", - "text" : "!=" - }, - { - "kind" : "text", - "text" : " " + "text" : "cos" }, { "kind" : "text", @@ -23286,15 +23425,8 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", @@ -23302,24 +23434,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.function", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/!=(_:_:)", + "path" : "\/documentation\/euclid\/cos(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/cos(_:)", "taskGroups" : [ ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid6VertexV" + "title" : "cos(_:)", + "usr" : "s:6Euclid3cosySdAA5AngleVF" }, { "abstract" : [ { - "text" : "Flips the polygon along its plane and reverses the order and surface normals of the vertices.", + "text" : "Creates a rotation from an axis and angle.", "type" : "text" } ], @@ -23329,40 +23461,61 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "?(" }, { - "kind" : "identifier", - "text" : "inverted" + "kind" : "externalParam", + "text" : "axis" }, { "kind" : "text", - "text" : "() -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "angle" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/inverted()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/inverted()", + "path" : "\/documentation\/euclid\/rotation\/init(axis:angle:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(axis:angle:)", "taskGroups" : [ ], - "title" : "inverted()", - "usr" : "s:6Euclid7PolygonV8invertedACyF" + "title" : "init(axis:angle:)", + "usr" : "s:6Euclid8RotationV4axis5angleACSgAA6VectorV_AA5AngleVtcfc" }, { "abstract" : [ { - "text" : "Creates a composite mesh from an array of submeshes.", + "text" : "Generate back faces.", "type" : "text" } ], @@ -23372,39 +23525,26 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "submeshes" + "text" : "case" }, { "kind" : "text", - "text" : ": [" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "text" : " " }, { - "kind" : "text", - "text" : "])" + "kind" : "identifier", + "text" : "back" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.enumerationCase", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/init(submeshes:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(submeshes:)", + "path" : "\/documentation\/euclid\/mesh\/faces\/back", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/back", "taskGroups" : [ ], - "title" : "init(submeshes:)", - "usr" : "s:6Euclid4MeshV9submeshesACSayACG_tcfc" + "title" : "Mesh.Faces.back", + "usr" : "s:6Euclid4MeshV5FacesO4backyA2EmF" }, { "abstract" : [ @@ -23457,18 +23597,18 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/transformed(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/transformed(by:)", + "path" : "\/documentation\/euclid\/linesegment\/transformed(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/transformed(by:)", "taskGroups" : [ ], "title" : "transformed(by:)", - "usr" : "s:6Euclid13TransformablePAAE11transformed2byxAA9TransformV_tF::SYNTHESIZED::s:6Euclid6BoundsV" + "usr" : "s:6Euclid13TransformablePAAE11transformed2byxAA9TransformV_tF::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { "abstract" : [ { - "text" : "The blue component of the color.", + "text" : "Returns the ordered array of polygon edges.", "type" : "text" } ], @@ -23486,165 +23626,222 @@ }, { "kind" : "identifier", - "text" : "b" + "text" : "orderedEdges" }, { "kind" : "text", - "text" : ": " + "text" : ": [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" + }, + { + "kind" : "text", + "text" : "]" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/b", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/b", + "path" : "\/documentation\/euclid\/polygon\/orderededges", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/orderedEdges", "taskGroups" : [ ], - "title" : "b", - "usr" : "s:6Euclid5ColorV1bSdvp" + "title" : "orderedEdges", + "usr" : "s:6Euclid7PolygonV12orderedEdgesSayAA11LineSegmentVGvp" }, { - "abstract" : [ + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/plane\/encodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Encodable-Implementations", + "taskGroups" : [ { - "text" : "Creates a line from an origin and direction.", - "type" : "text" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/encode(to:)" + ], + "title" : "Instance Methods" } ], + "title" : "Encodable Implementations" + }, + { "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" }, { "kind" : "text", - "text" : "?(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "origin" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "identifier", + "text" : ">=" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "direction" + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "Self" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/line\/init(origin:direction:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(origin:direction:)", + "path" : "\/documentation\/euclid\/plane\/_=(_:_:)-5nk27", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_=(_:_:)-5nk27", "taskGroups" : [ ], - "title" : "init(origin:direction:)", - "usr" : "s:6Euclid4LineV6origin9directionACSgAA6VectorV_AHtcfc" + "title" : ">=(_:_:)", + "usr" : "s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:6Euclid5PlaneV" }, { + "abstract" : [ + { + "text" : "Return a copy of the mesh with cylindrically-mapped texture coordinates.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "func" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "func" + "kind" : "identifier", + "text" : "cylinderMapped" }, { "kind" : "text", - "text" : " " + "text" : "() -> " }, { - "kind" : "identifier", - "text" : "..." + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/cylindermapped()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cylinderMapped()", + "taskGroups" : [ + + ], + "title" : "cylinderMapped()", + "usr" : "s:6Euclid4MeshV14cylinderMappedACyF" + }, + { + "abstract" : [ + { + "text" : "Returns a scaled copy of the value.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", "text" : " " }, + { + "kind" : "identifier", + "text" : "scaled" + }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s16PartialRangeFromV", - "text" : "PartialRangeFrom" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : "<" + "text" : ") -> " }, { "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ">" + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/'...(_:)-4yucl", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:)-4yucl", + "path" : "\/documentation\/euclid\/bounds\/scaled(by:)-6epo6", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-6epo6", "taskGroups" : [ ], - "title" : "...(_:)", - "usr" : "s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:6Euclid5PlaneV" + "title" : "scaled(by:)", + "usr" : "s:6Euclid6BoundsV6scaled2byACSd_tF" }, { "abstract" : [ { - "text" : "A Boolean value that indicates whether the mesh includes vertex normals that differ from the face normal.", + "text" : "A path made up of a sequence of straight line segments between points.", "type" : "text" } ], @@ -23654,7 +23851,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "struct" }, { "kind" : "text", @@ -23662,32 +23859,126 @@ }, { "kind" : "identifier", - "text" : "hasVertexNormals" + "text" : "Path" + } + ], + "kind" : "org.swift.docc.kind.structure", + "language" : "swift", + "path" : "\/documentation\/euclid\/path", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/empty" + ], + "title" : "Default Paths" }, { - "kind" : "text", - "text" : ": " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-3c0eo", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-4jhkw", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(subpaths:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:detail:color:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/curve(_:detail:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/line(_:_:color:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/line(_:color:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/arc(angle:radius:segments:color:)" + ], + "title" : "Creating Paths" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/circle(radius:segments:color:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/ellipse(width:height:segments:color:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rectangle(width:height:color:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/roundedRectangle(width:height:radius:detail:color:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/square(size:color:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/polygon(radius:sides:color:)" + ], + "title" : "Creating Shape Paths" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/text(_:font:width:detail:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/text(_:width:detail:)" + ], + "title" : "Creating Text Paths" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/points", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/plane", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/bounds", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/length", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/isClosed", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/isPlanar" + ], + "title" : "Path Properties" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-19jpq", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-84xdd", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/translated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/transformed(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/withColor(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/closed()" + ], + "title" : "Transforming Paths" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-5bu0o", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(cgPath:detail:color:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(polygon:)" + ], + "title" : "Initializers" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/edgeVertices", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/faceNormal", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/faceVertices", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/latheProfile", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/subpaths" + ], + "title" : "Instance Properties" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/edgeVertices(for:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/extrusionContours(along:twist:align:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/facePolygons(material:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/mapColors(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/with(color:)" + ], + "title" : "Instance Methods" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment" + ], + "title" : "Enumerations" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Bounded-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Decodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Encodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Equatable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Transformable-Implementations" + ], + "title" : "Default Implementations" } ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/hasvertexnormals", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasVertexNormals", - "taskGroups" : [ - - ], - "title" : "hasVertexNormals", - "usr" : "s:6Euclid4MeshV16hasVertexNormalsSbvp" + "title" : "Path", + "usr" : "s:6Euclid4PathV" }, { "abstract" : [ { - "text" : "Linearly interpolate between this vector and another.", + "text" : "The square of the length of the vector. This is less expensive to compute than the length itself.", "type" : "text" } ], @@ -23697,7 +23988,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -23705,45 +23996,27 @@ }, { "kind" : "identifier", - "text" : "lerp" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "lengthSquared" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:Sd", "text" : "Double" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/lerp(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/lerp(_:_:)", + "path" : "\/documentation\/euclid\/vector\/lengthsquared", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/lengthSquared", "taskGroups" : [ ], - "title" : "lerp(_:_:)", - "usr" : "s:6Euclid6VectorV4lerpyA2C_SdtF" + "title" : "lengthSquared", + "usr" : "s:6Euclid6VectorV13lengthSquaredSdvp" }, { "availableLanguages" : [ @@ -23751,17 +24024,17 @@ ], "kind" : "org.swift.docc.kind.collectionGroup", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/decodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Decodable-Implementations", + "path" : "\/documentation\/euclid\/transform\/encodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Encodable-Implementations", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(from:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/encode(to:)" ], - "title" : "Initializers" + "title" : "Instance Methods" } ], - "title" : "Decodable Implementations" + "title" : "Encodable Implementations" }, { "abstract" : [ @@ -23821,7 +24094,7 @@ { "abstract" : [ { - "text" : "Creates a bounds from a collection of points.", + "text" : "Returns a translated copy of the value.", "type" : "text" } ], @@ -23831,44 +24104,57 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" }, { "kind" : "text", - "text" : "<" + "text" : " " }, { - "kind" : "genericParameter", - "text" : "T" + "kind" : "identifier", + "text" : "translated" }, { "kind" : "text", - "text" : ">(" + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "by" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsVyACxcSlRzAA6VectorV7ElementRtzlufc1TL_xmfp", - "text" : "T" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/init(_:)-27jri", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-27jri", + "path" : "\/documentation\/euclid\/pathpoint\/translated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/translated(by:)", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid6BoundsVyACxcSlRzAA6VectorV7ElementRtzlufc" + "title" : "translated(by:)", + "usr" : "s:6Euclid9PathPointV10translated2byAcA6VectorV_tF" }, { "abstract" : [ { - "text" : "Returns a vector with its components multiplied by the specified value.", + "text" : "Returns a normalized vector.", "type" : "text" } ], @@ -23876,14 +24162,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -23894,33 +24172,11 @@ }, { "kind" : "identifier", - "text" : "*" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "normalized" }, { "kind" : "text", - "text" : ") -> " + "text" : "() -> " }, { "kind" : "typeIdentifier", @@ -23928,15 +24184,15 @@ "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/*(_:_:)-5mcy5", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-5mcy5", + "path" : "\/documentation\/euclid\/vector\/normalized()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/normalized()", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid6VectorV1moiyA2C_SdtFZ" + "title" : "normalized()", + "usr" : "s:6Euclid6VectorV10normalizedACyF" }, { "availableLanguages" : [ @@ -23961,7 +24217,7 @@ }, { "kind" : "identifier", - "text" : "..<" + "text" : "<=" }, { "kind" : "text", @@ -23989,36 +24245,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sn", - "text" : "Range" - }, - { - "kind" : "text", - "text" : "<" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ">" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/'.._(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/.._(_:_:)", + "path" : "\/documentation\/euclid\/plane\/_=(_:_:)-1oq2t", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_=(_:_:)-1oq2t", "taskGroups" : [ ], - "title" : "..<(_:_:)", - "usr" : "s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" + "title" : "<=(_:_:)", + "usr" : "s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:6Euclid5PlaneV" }, { "abstract" : [ { - "text" : "The quaternion X component.", + "text" : "A plane located at the origin, aligned with the X and Z axes.", "type" : "text" } ], @@ -24028,7 +24272,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", @@ -24036,7 +24288,7 @@ }, { "kind" : "identifier", - "text" : "x" + "text" : "xz" }, { "kind" : "text", @@ -24044,27 +24296,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/x", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/x", + "path" : "\/documentation\/euclid\/plane\/xz", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/xz", "taskGroups" : [ ], - "title" : "x", - "usr" : "s:6Euclid10QuaternionV1xSdvp" + "title" : "xz", + "usr" : "s:6Euclid5PlaneV2xzACvpZ" }, { "abstract" : [ { - "text" : "Return a copy of the mesh with cube-mapped texture coordinates.", + "text" : "The angle in radians.", "type" : "text" } ], @@ -24074,7 +24323,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -24082,44 +24331,42 @@ }, { "kind" : "identifier", - "text" : "cubeMapped" + "text" : "radians" }, { "kind" : "text", - "text" : "() -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/cubemapped()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cubeMapped()", + "path" : "\/documentation\/euclid\/angle\/radians", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/radians", "taskGroups" : [ ], - "title" : "cubeMapped()", - "usr" : "s:6Euclid4MeshV10cubeMappedACyF" + "title" : "radians", + "usr" : "s:6Euclid5AngleV7radiansSdvp" }, { + "abstract" : [ + { + "text" : "The Z component of the vector.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -24127,74 +24374,122 @@ }, { "kind" : "identifier", - "text" : "..." - }, - { - "kind" : "text", - "text" : " " + "text" : "z" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:Sd", + "text" : "Double" + } + ], + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/z", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/z", + "taskGroups" : [ + + ], + "title" : "z", + "usr" : "s:6Euclid6VectorV1zSdvp" + }, + { + "abstract" : [ + { + "text" : "Creates a vector from a CoreGraphics ", + "type" : "text" }, { - "kind" : "text", - "text" : ") -> " + "code" : "CGPoint", + "type" : "codeVoice" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s16PartialRangeFromV", - "text" : "PartialRangeFrom" + "text" : ".", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" }, { "kind" : "text", - "text" : "<" + "text" : "(" }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "c:@S@CGPoint", + "text" : "CGPoint" }, { "kind" : "text", - "text" : ">" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/'...(_:)-14arr", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:)-14arr", + "path" : "\/documentation\/euclid\/vector\/init(_:)-4eop9", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-4eop9", "taskGroups" : [ ], - "title" : "...(_:)", - "usr" : "s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "init(_:)", + "usr" : "s:6Euclid6VectorVyACSo7CGPointVcfc" }, { + "abstract" : [ + { + "text" : "The red component of the color.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/encodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Encodable-Implementations", - "taskGroups" : [ + "fragments" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/encode(to:)" - ], - "title" : "Instance Methods" + "kind" : "keyword", + "text" : "var" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "r" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "title" : "Encodable Implementations" + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/color\/r", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/r", + "taskGroups" : [ + + ], + "title" : "r", + "usr" : "s:6Euclid5ColorV1rSdvp" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "The face normal for the path.", "type" : "text" } ], @@ -24204,7 +24499,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -24212,15 +24507,7 @@ }, { "kind" : "identifier", - "text" : "transform" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" + "text" : "faceNormal" }, { "kind" : "text", @@ -24228,46 +24515,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/transform(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/transform(by:)", + "path" : "\/documentation\/euclid\/path\/facenormal", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/faceNormal", "taskGroups" : [ ], - "title" : "transform(by:)", - "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid6BoundsV" + "title" : "faceNormal", + "usr" : "s:6Euclid4PathV10faceNormalAA6VectorVvp" }, { "abstract" : [ { - "text" : "A vertex represents a corner of a ", - "type" : "text" - }, - { - "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon", - "isActive" : true, - "type" : "reference" - }, - { - "text" : " or a point on the surface of a ", - "type" : "text" - }, - { - "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh", - "isActive" : true, - "type" : "reference" - }, - { - "text" : ".", + "text" : "Returns the reverse quaternion rotation.", "type" : "text" } ], @@ -24277,89 +24542,64 @@ "fragments" : [ { "kind" : "keyword", - "text" : "struct" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "Vertex" - } - ], - "kind" : "org.swift.docc.kind.structure", - "language" : "swift", - "path" : "\/documentation\/euclid\/vertex", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex", - "taskGroups" : [ + "kind" : "keyword", + "text" : "func" + }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:_:_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:)-5517j", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:)-7go25" - ], - "title" : "Creating Vertices" + "kind" : "text", + "text" : " " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/position", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/normal", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/texcoord", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/color" - ], - "title" : "Vertex Properties" + "kind" : "identifier", + "text" : "-" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/inverted()", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-1dtbr", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-20sq4", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/translated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/transformed(by:)" - ], - "title" : "Transforming Vertices" + "kind" : "text", + "text" : " " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/lerp(_:_:)" - ], - "title" : "Interpolating Vertices" + "kind" : "text", + "text" : "(" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/encode(to:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(from:)" - ], - "title" : "Encoding and Decoding Vertices" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withColor(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withNormal(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withPosition(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withTexcoord(_:)" - ], - "title" : "Instance Methods" + "kind" : "text", + "text" : ") -> " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Decodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Encodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Equatable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Transformable-Implementations" - ], - "title" : "Default Implementations" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" } ], - "title" : "Vertex", - "usr" : "s:6Euclid6VertexV" + "kind" : "org.swift.docc.kind.operator", + "language" : "swift", + "path" : "\/documentation\/euclid\/quaternion\/-(_:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-(_:)", + "taskGroups" : [ + + ], + "title" : "-(_:)", + "usr" : "s:6Euclid10QuaternionV1sopyA2CFZ" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "Divides the rotation angle by the specified value.", "type" : "text" } ], @@ -24367,6 +24607,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -24377,44 +24625,57 @@ }, { "kind" : "identifier", - "text" : "scale" + "text" : "\/=" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/scale(by:)-2v2ef", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scale(by:)-2v2ef", + "path" : "\/documentation\/euclid\/rotation\/\/=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/\/=(_:_:)", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : "\/=(_:_:)", + "usr" : "s:6Euclid8RotationV2deoiyyACz_SdtFZ" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Alignment mode to use when extruding along a path.", "type" : "text" } ], @@ -24424,7 +24685,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "typealias" }, { "kind" : "text", @@ -24432,15 +24693,41 @@ }, { "kind" : "identifier", - "text" : "transform" + "text" : "Alignment" + } + ], + "kind" : "org.swift.docc.kind.typeAlias", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/alignment", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Alignment", + "taskGroups" : [ + + ], + "title" : "Mesh.Alignment", + "usr" : "s:6Euclid4MeshV9Alignmenta" + }, + { + "abstract" : [ + { + "text" : "The quaternion X component.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "var" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "identifier", + "text" : "x" }, { "kind" : "text", @@ -24448,31 +24735,63 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/transform(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/transform(by:)", + "path" : "\/documentation\/euclid\/quaternion\/x", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/x", "taskGroups" : [ ], - "title" : "transform(by:)", - "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid5PlaneV" + "title" : "x", + "usr" : "s:6Euclid10QuaternionV1xSdvp" }, { "abstract" : [ { - "text" : "Efficiently strokes a collection of line segments (useful for drawing wireframes).", + "text" : "Creates a vertex from a path point.", "type" : "text" } ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/vertex\/init(_:)-7go25", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:)-7go25", + "taskGroups" : [ + + ], + "title" : "init(_:)", + "usr" : "s:6Euclid6VertexVyAcA9PathPointVcfc" + }, + { "availableLanguages" : [ "swift" ], @@ -24495,49 +24814,74 @@ }, { "kind" : "identifier", - "text" : "stroke" + "text" : "..." }, { "kind" : "text", - "text" : "<" - }, - { - "kind" : "genericParameter", - "text" : "T" + "text" : " " }, { "kind" : "text", - "text" : ">(" + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV6stroke_5width6detail8materialACx_SdSis11AnyHashableVSgtSlRzAA11LineSegmentV7ElementRtzlFZ1TL_xmfp", - "text" : "T" + "text" : "Self" }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { - "kind" : "externalParam", - "text" : "width" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s19PartialRangeThroughV", + "text" : "PartialRangeThrough" }, { "kind" : "text", - "text" : ": " + "text" : "<" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "Self" }, { "kind" : "text", - "text" : ", " + "text" : ">" + } + ], + "kind" : "org.swift.docc.kind.operator", + "language" : "swift", + "path" : "\/documentation\/euclid\/angle\/'...(_:)-3s6ak", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:)-3s6ak", + "taskGroups" : [ + + ], + "title" : "...(_:)", + "usr" : "s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:6Euclid5AngleV" + }, + { + "abstract" : [ + { + "text" : "Creates a bounds with min and max coordinates.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "externalParam", - "text" : "detail" + "text" : "min" }, { "kind" : "text", @@ -24545,8 +24889,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -24554,7 +24898,7 @@ }, { "kind" : "externalParam", - "text" : "material" + "text" : "max" }, { "kind" : "text", @@ -24562,28 +24906,83 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "?) -> " + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/bounds\/init(min:max:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(min:max:)", + "taskGroups" : [ + + ], + "title" : "init(min:max:)", + "usr" : "s:6Euclid6BoundsV3min3maxAcA6VectorV_AGtcfc" + }, + { + "abstract" : [ + { + "text" : "Creates a quaternion from raw components.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" + }, + { + "kind" : "text", + "text" : "?([" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : "])" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/stroke(_:width:detail:material:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:)", + "path" : "\/documentation\/euclid\/quaternion\/init(_:)-fyhx", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-fyhx", "taskGroups" : [ ], - "title" : "stroke(_:width:detail:material:)", - "usr" : "s:6Euclid4MeshV6stroke_5width6detail8materialACx_SdSis11AnyHashableVSgtSlRzAA11LineSegmentV7ElementRtzlFZ" + "title" : "init(_:)", + "usr" : "s:6Euclid10QuaternionVyACSgSaySdGcfc" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/vertex\/encodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Encodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/encode(to:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Encodable Implementations" }, { "availableLanguages" : [ @@ -24608,7 +25007,7 @@ }, { "kind" : "identifier", - "text" : ">" + "text" : ">=" }, { "kind" : "text", @@ -24642,18 +25041,18 @@ ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/_(_:_:)-9688a", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_(_:_:)-9688a", + "path" : "\/documentation\/euclid\/linesegment\/_=(_:_:)-5dvuy", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_=(_:_:)-5dvuy", "taskGroups" : [ ], - "title" : ">(_:_:)", - "usr" : "s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : ">=(_:_:)", + "usr" : "s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the value.", + "text" : "Returns a scaled copy of the value.", "type" : "text" } ], @@ -24661,14 +25060,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -24679,28 +25070,24 @@ }, { "kind" : "identifier", - "text" : "*" - }, - { - "kind" : "text", - "text" : " " + "text" : "scaled" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -24708,23 +25095,24 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transformable\/*(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/*(_:_:)", + "path" : "\/documentation\/euclid\/transform\/scaled(by:)-9vwak", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-9vwak", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ" + "title" : "scaled(by:)", + "usr" : "s:6Euclid9TransformV6scaled2byAcA6VectorV_tF" }, { "abstract" : [ { - "text" : "The bounds of the object.", + "text" : "Merges the polygons from two meshes.", "type" : "text" } ], @@ -24734,7 +25122,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -24742,32 +25130,41 @@ }, { "kind" : "identifier", - "text" : "bounds" + "text" : "merge" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/bounded\/bounds", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounded\/bounds", + "path" : "\/documentation\/euclid\/mesh\/merge(_:)-swift.method", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/merge(_:)-swift.method", "taskGroups" : [ ], - "title" : "bounds", - "usr" : "s:6Euclid7BoundedP6boundsAA6BoundsVvp" + "title" : "merge(_:)", + "usr" : "s:6Euclid4MeshV5mergeyA2CF" }, { "abstract" : [ { - "text" : "The square of the length of the quaternion. This is less expensive to compute than the length itself.", + "text" : "The position of the path point.", "type" : "text" } ], @@ -24785,7 +25182,7 @@ }, { "kind" : "identifier", - "text" : "lengthSquared" + "text" : "position" }, { "kind" : "text", @@ -24793,30 +25190,21 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/lengthsquared", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/lengthSquared", + "path" : "\/documentation\/euclid\/pathpoint\/position", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/position", "taskGroups" : [ ], - "title" : "lengthSquared", - "usr" : "s:6Euclid10QuaternionV13lengthSquaredSdvp" + "title" : "position", + "usr" : "s:6Euclid9PathPointV8positionAA6VectorVvp" }, { - "abstract" : [ - { - "text" : "Efficiently fills an array of paths, avoiding unecessary work if there are duplicates.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -24839,92 +25227,147 @@ }, { "kind" : "identifier", - "text" : "fill" + "text" : "!=" }, { "kind" : "text", - "text" : "([" + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "text" : "Self" }, { "kind" : "text", - "text" : "], " + "text" : ", " }, { - "kind" : "externalParam", - "text" : "faces" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : ": " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", - "text" : "Faces" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "kind" : "org.swift.docc.kind.operator", + "language" : "swift", + "path" : "\/documentation\/euclid\/quaternion\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/!=(_:_:)", + "taskGroups" : [ + + ], + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid10QuaternionV" + }, + { + "abstract" : [ + { + "text" : "Creates a new bounds representing the intersection between the specified bounds and this one.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "material" + "kind" : "identifier", + "text" : "intersection" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" }, { "kind" : "text", - "text" : "?, " + "text" : ") -> " }, { - "kind" : "externalParam", - "text" : "isCancelled" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/bounds\/intersection(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersection(_:)", + "taskGroups" : [ + + ], + "title" : "intersection(_:)", + "usr" : "s:6Euclid6BoundsV12intersectionyA2CF" + }, + { + "abstract" : [ + { + "text" : "The bounds of the mesh.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "var" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" + "kind" : "identifier", + "text" : "bounds" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/fill(_:faces:material:iscancelled:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/fill(_:faces:material:isCancelled:)", + "path" : "\/documentation\/euclid\/mesh\/bounds", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/bounds", "taskGroups" : [ ], - "title" : "fill(_:faces:material:isCancelled:)", - "usr" : "s:6Euclid4MeshV4fill_5faces8material11isCancelledACSayAA4PathVG_AC5FacesOs11AnyHashableVSgSbyXEtFZ" + "title" : "bounds", + "usr" : "s:6Euclid4MeshV6boundsAA6BoundsVvp" }, { "abstract" : [ { - "text" : "Translate the value in place.", + "text" : "Return a copy of the polygon with transformed vertex colors", "type" : "text" } ], @@ -24942,62 +25385,50 @@ }, { "kind" : "identifier", - "text" : "translate" + "text" : "mapVertexColors" }, { "kind" : "text", - "text" : "(" + "text" : "((" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ": " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ")" + "text" : "?) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/translate(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/translate(by:)", + "path" : "\/documentation\/euclid\/polygon\/mapvertexcolors(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/mapVertexColors(_:)", "taskGroups" : [ ], - "title" : "translate(by:)", - "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid9PathPointV" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Equatable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/!=(_:_:)" - ], - "title" : "Operators" - } - ], - "title" : "Equatable Implementations" + "title" : "mapVertexColors(_:)", + "usr" : "s:6Euclid7PolygonV15mapVertexColorsyAcA5ColorVSgAFXEF" }, { "abstract" : [ { - "text" : "An infinite line in 3D space.", + "text" : "A Boolean indicating whether the point is curved or sharp.", "type" : "text" } ], @@ -25007,7 +25438,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "struct" + "text" : "var" }, { "kind" : "text", @@ -25015,55 +25446,79 @@ }, { "kind" : "identifier", - "text" : "Line" + "text" : "isCurved" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.structure", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/line", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line", + "path" : "\/documentation\/euclid\/pathpoint\/iscurved", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/isCurved", "taskGroups" : [ + + ], + "title" : "isCurved", + "usr" : "s:6Euclid9PathPointV8isCurvedSbvp" + }, + { + "abstract" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(origin:direction:)" - ], - "title" : "Creating Lines" + "text" : "Creates a ", + "type" : "text" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/origin", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/direction" - ], - "title" : "Line Properties" + "code" : "Vector", + "type" : "codeVoice" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/containsPoint(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/distance(from:)-4o41", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/distance(from:)-77i61", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersection(with:)-2nysu", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersection(with:)-7s1sd", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersects(_:)" - ], - "title" : "Comparing Lines" + "text" : " from a simd vector 3.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Decodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Encodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Equatable-Implementations" - ], - "title" : "Default Implementations" + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@T@simd_double3", + "text" : "simd_double3" + }, + { + "kind" : "text", + "text" : ")" } ], - "title" : "Line", - "usr" : "s:6Euclid4LineV" + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/init(_:)-5n3j", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-5n3j", + "taskGroups" : [ + + ], + "title" : "init(_:)", + "usr" : "s:6Euclid6VectorVyACs5SIMD3VySdGcfc" }, { "abstract" : [ { - "text" : "The identity rotation (i.e. no rotation).", + "text" : "Returns the flip-side of the plane.", "type" : "text" } ], @@ -25073,15 +25528,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "let" + "text" : "func" }, { "kind" : "text", @@ -25089,29 +25536,43 @@ }, { "kind" : "identifier", - "text" : "identity" + "text" : "inverted" }, { "kind" : "text", - "text" : ": " + "text" : "() -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/identity", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/identity", + "path" : "\/documentation\/euclid\/plane\/inverted()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/inverted()", "taskGroups" : [ ], - "title" : "identity", - "usr" : "s:6Euclid8RotationV8identityACvpZ" + "title" : "inverted()", + "usr" : "s:6Euclid5PlaneV8invertedACyF" }, { + "abstract" : [ + { + "text" : "Creates a ", + "type" : "text" + }, + { + "code" : "Quaternion", + "type" : "codeVoice" + }, + { + "text" : " from a simd quaternion.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -25124,70 +25585,114 @@ "kind" : "text", "text" : "(" }, - { - "kind" : "externalParam", - "text" : "cgPath" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@T@CGPathRef", - "text" : "CGPath" + "preciseIdentifier" : "c:@SA@simd_quatf", + "text" : "simd_quatf" }, { "kind" : "text", - "text" : ", " - }, + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/quaternion\/init(_:)-99vxt", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-99vxt", + "taskGroups" : [ + + ], + "title" : "init(_:)", + "usr" : "s:6Euclid10QuaternionVyACSo10simd_quatfacfc" + }, + { + "abstract" : [ { - "kind" : "externalParam", - "text" : "detail" + "text" : "A point along a path.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "struct" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "kind" : "identifier", + "text" : "PathPoint" + } + ], + "kind" : "org.swift.docc.kind.structure", + "language" : "swift", + "path" : "\/documentation\/euclid\/pathpoint", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(_:texcoord:color:isCurved:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/point(_:_:_:texcoord:color:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/point(_:texcoord:color:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curve(_:_:_:texcoord:color:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curve(_:texcoord:color:)" + ], + "title" : "Creating Path Points" }, { - "kind" : "text", - "text" : ", " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/position", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/color", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/texcoord", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/isCurved" + ], + "title" : "Path Point Properties" }, { - "kind" : "externalParam", - "text" : "color" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/lerp(_:_:)" + ], + "title" : "Interpolating Path Points" }, { - "kind" : "text", - "text" : ": " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-4wtbg", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-7e3o7", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/translated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/transformed(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/withColor(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curved(_:)" + ], + "title" : "Transforming Path Points" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/with(color:)" + ], + "title" : "Instance Methods" }, { - "kind" : "text", - "text" : "?)" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Decodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Encodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Equatable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Transformable-Implementations" + ], + "title" : "Default Implementations" } ], - "kind" : "org.swift.docc.kind.initializer", - "language" : "swift", - "path" : "\/documentation\/euclid\/path\/init(cgpath:detail:color:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(cgPath:detail:color:)", - "taskGroups" : [ - - ], - "title" : "init(cgPath:detail:color:)", - "usr" : "s:6Euclid4PathV02cgB06detail5colorACSo9CGPathRefa_SiAA5ColorVSgtcfc" + "title" : "PathPoint", + "usr" : "s:6Euclid9PathPointV" }, { "availableLanguages" : [ @@ -25226,14 +25731,22 @@ "kind" : "typeIdentifier", "text" : "Self" }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, { "kind" : "text", "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s19PartialRangeThroughV", - "text" : "PartialRangeThrough" + "preciseIdentifier" : "s:SN", + "text" : "ClosedRange" }, { "kind" : "text", @@ -25250,18 +25763,18 @@ ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/'...(_:)-8feph", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:)-8feph", + "path" : "\/documentation\/euclid\/angle\/'...(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:_:)", "taskGroups" : [ ], - "title" : "...(_:)", - "usr" : "s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "...(_:_:)", + "usr" : "s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" }, { "abstract" : [ { - "text" : "Translate the value in place.", + "text" : "The array of points that makes up this path.", "type" : "text" } ], @@ -25271,7 +25784,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "let" }, { "kind" : "text", @@ -25279,174 +25792,110 @@ }, { "kind" : "identifier", - "text" : "translate" + "text" : "points" }, { "kind" : "text", - "text" : "(" + "text" : ": [" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" }, { "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ")" + "text" : "]" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/translate(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/translate(by:)", + "path" : "\/documentation\/euclid\/path\/points", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/points", "taskGroups" : [ ], - "title" : "translate(by:)", - "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid9TransformV" + "title" : "points", + "usr" : "s:6Euclid4PathV6pointsSayAA0B5PointVGvp" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the value.", + "text" : "Material used by a given polygon.", "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "func" }, { - "kind" : "text", - "text" : " " + "text" : " ", + "type" : "text" }, { - "kind" : "identifier", - "text" : "transformed" + "text" : "This can be any type that conforms to ", + "type" : "text" }, { - "kind" : "text", - "text" : "(" + "code" : "Hashable", + "type" : "codeVoice" }, { - "kind" : "externalParam", - "text" : "by" + "text" : ", but encoding\/decoding is only supported", + "type" : "text" }, { - "kind" : "text", - "text" : ": " + "text" : " ", + "type" : "text" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "text" : "for the following types: ", + "type" : "text" }, { - "kind" : "text", - "text" : ") -> " + "code" : "Color", + "type" : "codeVoice" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/transformed(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/transformed(by:)", - "taskGroups" : [ - - ], - "title" : "transformed(by:)", - "usr" : "s:6Euclid9PathPointV11transformed2byAcA9TransformV_tF" - }, - { - "abstract" : [ - { - "text" : "Rotate the value in place.", + "text" : ", ", "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + }, { - "kind" : "keyword", - "text" : "func" + "code" : "String", + "type" : "codeVoice" }, { - "kind" : "text", - "text" : " " + "text" : ", ", + "type" : "text" }, { - "kind" : "identifier", - "text" : "rotate" + "code" : "Int", + "type" : "codeVoice" }, { - "kind" : "text", - "text" : "(" + "text" : ", ", + "type" : "text" }, { - "kind" : "externalParam", - "text" : "by" + "code" : "Data", + "type" : "codeVoice" }, { - "kind" : "text", - "text" : ": " + "text" : " or any ", + "type" : "text" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "code" : "NSSecureCodable", + "type" : "codeVoice" }, { - "kind" : "text", - "text" : ")" + "text" : " type.", + "type" : "text" } ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/transformable\/rotate(by:)-5a3iz", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotate(by:)-5a3iz", - "taskGroups" : [ - - ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF" - }, - { "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "typealias" }, { "kind" : "text", @@ -25454,95 +25903,47 @@ }, { "kind" : "identifier", - "text" : "<=" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "text" : "Material" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.typeAlias", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/_=(_:_:)-375to", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_=(_:_:)-375to", + "path" : "\/documentation\/euclid\/polygon\/material-swift.typealias", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Material-swift.typealias", "taskGroups" : [ ], - "title" : "<=(_:_:)", - "usr" : "s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" + "title" : "Polygon.Material", + "usr" : "s:6Euclid7PolygonV8Materiala" }, { - "abstract" : [ - { - "text" : "Return a copy of the mesh with cylindrically-mapped texture coordinates.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "cylinderMapped" - }, + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/ioerror\/customnserror-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/CustomNSError-Implementations", + "taskGroups" : [ { - "kind" : "text", - "text" : "() -> " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorCode" + ], + "title" : "Instance Properties" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorDomain" + ], + "title" : "Type Properties" } ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/cylindermapped()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cylinderMapped()", - "taskGroups" : [ - - ], - "title" : "cylinderMapped()", - "usr" : "s:6Euclid4MeshV14cylinderMappedACyF" + "title" : "CustomNSError Implementations" }, { "abstract" : [ { - "text" : "Encodes this polygon into the given encoder.", + "text" : "Creates a closed path from a polygon.", "type" : "text" } ], @@ -25552,77 +25953,33 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "encode" + "text" : "init" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "externalParam", - "text" : "to" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7EncoderP", - "text" : "Encoder" + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "throws" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/encode(to:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/encode(to:)", + "path" : "\/documentation\/euclid\/path\/init(_:)-3c0eo", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-3c0eo", "taskGroups" : [ ], - "title" : "encode(to:)", - "usr" : "s:6Euclid7PolygonV6encode2toys7Encoder_p_tKF" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/encodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Encodable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/encode(to:)" - ], - "title" : "Instance Methods" - } - ], - "title" : "Encodable Implementations" + "title" : "init(_:)", + "usr" : "s:6Euclid4PathVyAcA7PolygonVcfc" }, { - "abstract" : [ - { - "text" : "Returns a transformed copy of the value.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -25645,7 +26002,7 @@ }, { "kind" : "identifier", - "text" : "*" + "text" : "..." }, { "kind" : "text", @@ -25661,78 +26018,85 @@ }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:s19PartialRangeThroughV", + "text" : "PartialRangeThrough" }, { "kind" : "text", - "text" : ") -> " + "text" : "<" }, { "kind" : "typeIdentifier", "text" : "Self" + }, + { + "kind" : "text", + "text" : ">" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/*(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/*(_:_:)", + "path" : "\/documentation\/euclid\/vector\/'...(_:)-8feph", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:)-8feph", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : "...(_:)", + "usr" : "s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:6Euclid6VectorV" }, { - "abstract" : [ - { - "text" : "Creates a quaternion from raw components.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" }, { "kind" : "text", - "text" : "?([" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", - "text" : "])" + "text" : " " + }, + { + "kind" : "identifier", + "text" : "clear" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/init(_:)-fyhx", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-fyhx", + "path" : "\/documentation\/euclid\/color\/clear", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/clear", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid10QuaternionVyACSgSaySdGcfc" + "title" : "clear", + "usr" : "s:6Euclid5ColorV5clearACvpZ" }, { "abstract" : [ { - "text" : "Creates a mesh from a SceneKit geometry, with optional material mapping.", + "text" : "Creates a rotation from Euler angles applied in roll\/yaw\/pitch order.", "type" : "text" } ], @@ -25746,12 +26110,20 @@ }, { "kind" : "text", - "text" : "?(" + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "roll" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:objc(cs)SCNGeometry", - "text" : "SCNGeometry" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", @@ -25759,7 +26131,7 @@ }, { "kind" : "externalParam", - "text" : "materialLookup" + "text" : "yaw" }, { "kind" : "text", @@ -25767,46 +26139,16 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19SCNMaterialProvidera", - "text" : "SCNMaterialProvider" - }, - { - "kind" : "text", - "text" : "?)" - } - ], - "kind" : "org.swift.docc.kind.initializer", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/init(_:materiallookup:)-7p5hd", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materialLookup:)-7p5hd", - "taskGroups" : [ - - ], - "title" : "init(_:materialLookup:)", - "usr" : "s:6Euclid4MeshV_14materialLookupACSgSo11SCNGeometryC_s11AnyHashableVSgSo11SCNMaterialCcSgtcfc" - }, - { - "abstract" : [ - { - "text" : "Creates a new quaternion by decoding from the given decoder.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "init" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : "(" + "text" : ", " }, { "kind" : "externalParam", - "text" : "from" + "text" : "pitch" }, { "kind" : "text", @@ -25814,87 +26156,95 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7DecoderP", - "text" : "Decoder" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "throws" + "text" : ")" } ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/init(from:)", + "path" : "\/documentation\/euclid\/quaternion\/init(roll:yaw:pitch:)", "platforms" : [ ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(roll:yaw:pitch:)", "taskGroups" : [ ], - "title" : "init(from:)", - "usr" : "s:6Euclid10QuaternionV4fromACs7Decoder_p_tKcfc" + "title" : "init(roll:yaw:pitch:)", + "usr" : "s:6Euclid10QuaternionV4roll3yaw5pitchAcA5AngleV_A2Htcfc" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/ioerror\/error-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/Error-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/localizedDescription" + ], + "title" : "Instance Properties" + } + ], + "title" : "Error Implementations" }, { + "abstract" : [ + { + "text" : "Angle representing a full rotation.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "hash" + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "into" + "kind" : "identifier", + "text" : "twoPi" }, { "kind" : "text", "text" : ": " }, - { - "kind" : "keyword", - "text" : "inout" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s6HasherV", - "text" : "Hasher" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/hash(into:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/hash(into:)", + "path" : "\/documentation\/euclid\/angle\/twopi", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/twoPi", "taskGroups" : [ ], - "title" : "hash(into:)", - "usr" : "s:6Euclid8RotationV4hash4intoys6HasherVz_tF" + "title" : "twoPi", + "usr" : "s:6Euclid5AngleV5twoPiACvpZ" }, { "abstract" : [ @@ -25993,7 +26343,7 @@ { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "An array of vertices suitable for constructing a polygon from the path.", "type" : "text" } ], @@ -26003,7 +26353,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -26011,47 +26361,76 @@ }, { "kind" : "identifier", - "text" : "scale" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" + "text" : "faceVertices" }, { "kind" : "text", - "text" : ": " + "text" : ": [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" }, { "kind" : "text", - "text" : ")" + "text" : "]?" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/scale(by:)-mpk5", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scale(by:)-mpk5", + "path" : "\/documentation\/euclid\/path\/facevertices", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/faceVertices", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid6BoundsV" + "title" : "faceVertices", + "usr" : "s:6Euclid4PathV12faceVerticesSayAA6VertexVGSgvp" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "The end point of the line segment.", "type" : "text" } ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "let" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "end" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + } + ], + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/linesegment\/end", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/end", + "taskGroups" : [ + + ], + "title" : "end", + "usr" : "s:6Euclid11LineSegmentV3endAA6VectorVvp" + }, + { "availableLanguages" : [ "swift" ], @@ -26074,7 +26453,7 @@ }, { "kind" : "identifier", - "text" : "*=" + "text" : "!=" }, { "kind" : "text", @@ -26085,12 +26464,12 @@ "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { "kind" : "typeIdentifier", @@ -26098,32 +26477,28 @@ }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/*=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/*=(_:_:)", + "path" : "\/documentation\/euclid\/plane\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/!=(_:_:)", "taskGroups" : [ ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid9PathPointV" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid5PlaneV" }, { "abstract" : [ { - "text" : "The axis of rotation.", + "text" : "The bounding box containing the line segment.", "type" : "text" } ], @@ -26141,7 +26516,7 @@ }, { "kind" : "identifier", - "text" : "axis" + "text" : "bounds" }, { "kind" : "text", @@ -26149,32 +26524,63 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/axis", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/axis", + "path" : "\/documentation\/euclid\/linesegment\/bounds", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/bounds", "taskGroups" : [ ], - "title" : "axis", - "usr" : "s:6Euclid8RotationV4axisAA6VectorVvp" + "title" : "bounds", + "usr" : "s:6Euclid11LineSegmentV6boundsAA6BoundsVvp" }, { "abstract" : [ { - "text" : "Creates a Path from a ", + "text" : "Creates a transform from a SceneKit transform matrix.", "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" }, { - "code" : "CGPath", - "type" : "codeVoice" + "kind" : "text", + "text" : "(" }, { - "text" : ". The returned path may contain nested subpaths.", + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@T@SCNMatrix4", + "text" : "SCNMatrix4" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/transform\/init(_:)-83oy3", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-83oy3", + "taskGroups" : [ + + ], + "title" : "init(_:)", + "usr" : "s:6Euclid9TransformVyACSo13CATransform3DVcfc" + }, + { + "abstract" : [ + { + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -26184,70 +26590,68 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@T@CGPathRef", - "text" : "CGPath" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "detail" + "kind" : "identifier", + "text" : "*" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "text" : "Self" }, { "kind" : "text", "text" : ", " }, { - "kind" : "externalParam", - "text" : "color" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : ": " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" - }, - { - "kind" : "text", - "text" : "?)" + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/init(_:detail:color:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:detail:color:)", + "path" : "\/documentation\/euclid\/path\/*(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/*(_:_:)", "taskGroups" : [ ], - "title" : "init(_:detail:color:)", - "usr" : "s:6Euclid4PathV_6detail5colorACSo9CGPathRefa_SiAA5ColorVSgtcfc" + "title" : "*(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid4PathV" }, { "abstract" : [ { - "text" : "A Boolean value that indicates whether the polygon is convex.", + "text" : "Creates a bounds from a collection of bounds.", "type" : "text" } ], @@ -26257,43 +26661,41 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "<" }, { - "kind" : "identifier", - "text" : "isConvex" + "kind" : "genericParameter", + "text" : "T" }, { "kind" : "text", - "text" : ": " + "text" : ">(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid6BoundsVyACxcSlRzAC7ElementRtzlufc1TL_xmfp", + "text" : "T" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/isconvex", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/isConvex", + "path" : "\/documentation\/euclid\/bounds\/init(_:)-r54o", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-r54o", "taskGroups" : [ ], - "title" : "isConvex", - "usr" : "s:6Euclid7PolygonV8isConvexSbvp" + "title" : "init(_:)", + "usr" : "s:6Euclid6BoundsVyACxcSlRzAC7ElementRtzlufc" }, { - "abstract" : [ - { - "text" : "Returns the difference between two angles.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -26316,29 +26718,41 @@ }, { "kind" : "identifier", - "text" : "-" + "text" : "xor" }, { "kind" : "text", - "text" : " " + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "T" }, { "kind" : "text", - "text" : "(" + "text" : ">(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid4MeshV3xor_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ1TL_xmfp", + "text" : "T" }, { "kind" : "text", "text" : ", " }, + { + "kind" : "externalParam", + "text" : "isCancelled" + }, + { + "kind" : "text", + "text" : ": " + }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" }, { "kind" : "text", @@ -26346,24 +26760,27 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/-(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-(_:_:)", + "path" : "\/documentation\/euclid\/mesh\/xor(_:iscancelled:)-swift.type.method", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/xor(_:isCancelled:)-swift.type.method", "taskGroups" : [ ], - "title" : "-(_:_:)", - "usr" : "s:6Euclid5AngleV1soiyA2C_ACtFZ" + "title" : "xor(_:isCancelled:)", + "usr" : "s:6Euclid4MeshV3xor_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ" }, { "abstract" : [ { - "text" : "Creates a new vertex from a position with default values for normal, texcoord and color.", + "text" : "Creates a copy of the color updated with the specified alpha.", "type" : "text" } ], @@ -26373,7 +26790,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "withAlpha" }, { "kind" : "text", @@ -26381,35 +26806,42 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/init(_:)-5517j", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:)-5517j", + "path" : "\/documentation\/euclid\/color\/withalpha(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/withAlpha(_:)", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid6VertexVyAcA6VectorVcfc" + "title" : "withAlpha(_:)", + "usr" : "s:6Euclid5ColorV9withAlphayACSdF" }, { - "abstract" : [ - { - "text" : "Scale the value in place.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -26420,44 +26852,52 @@ }, { "kind" : "identifier", - "text" : "scale" + "text" : "!=" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "Self" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/scale(by:)-1h2f7", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scale(by:)-1h2f7", + "path" : "\/documentation\/euclid\/vector\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/!=(_:_:)", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid4MeshV" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" }, { "abstract" : [ { - "text" : "An array of vertices suitable for constructing a set of edge polygons for the path.", + "text" : "The angle of rotation around the X-axis.", "type" : "text" } ], @@ -26475,36 +26915,35 @@ }, { "kind" : "identifier", - "text" : "edgeVertices" + "text" : "pitch" }, { "kind" : "text", - "text" : ": [" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" - }, - { - "kind" : "text", - "text" : "]" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/edgevertices", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/edgeVertices", + "path" : "\/documentation\/euclid\/quaternion\/pitch", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/pitch", "taskGroups" : [ ], - "title" : "edgeVertices", - "usr" : "s:6Euclid4PathV12edgeVerticesSayAA6VertexVGvp" + "title" : "pitch", + "usr" : "s:6Euclid10QuaternionV5pitchAA5AngleVvp" }, { "abstract" : [ { - "text" : "Computes the trigonometric cosine of an angle.", + "text" : "Creates a rotation from Euler angles applied in pitch\/yaw\/roll order.", "type" : "text" } ], @@ -26514,19 +26953,19 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "cos" + "kind" : "externalParam", + "text" : "pitch" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { "kind" : "typeIdentifier", @@ -26535,88 +26974,57 @@ }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - } - ], - "kind" : "org.swift.docc.kind.function", - "language" : "swift", - "path" : "\/documentation\/euclid\/cos(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/cos(_:)", - "taskGroups" : [ - - ], - "title" : "cos(_:)", - "usr" : "s:6Euclid3cosySdAA5AngleVF" - }, - { - "abstract" : [ - { - "text" : "Returns a Boolean value that indicates whether two line segements intersect.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "func" + "kind" : "externalParam", + "text" : "yaw" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "intersects" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : "(" + "text" : ", " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" + "kind" : "externalParam", + "text" : "roll" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/intersects(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersects(_:)", + "path" : "\/documentation\/euclid\/rotation\/init(pitch:yaw:roll:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(pitch:yaw:roll:)", "taskGroups" : [ ], - "title" : "intersects(_:)", - "usr" : "s:6Euclid11LineSegmentV10intersectsySbACF" + "title" : "init(pitch:yaw:roll:)", + "usr" : "s:6Euclid8RotationV5pitch3yaw4rollAcA5AngleV_A2Htcfc" }, { "abstract" : [ { - "text" : "A Boolean value that indicates whether the mesh is watertight, meaning that every edge is", - "type" : "text" - }, - { - "text" : " ", - "type" : "text" - }, - { - "text" : "attached to two polygons (or a multiple of two).", + "text" : "Returns the angle between this vector and the specified plane.", "type" : "text" } ], @@ -26626,7 +27034,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -26634,7 +27042,15 @@ }, { "kind" : "identifier", - "text" : "isWatertight" + "text" : "angle" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "with" }, { "kind" : "text", @@ -26642,24 +27058,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/iswatertight", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/isWatertight", + "path" : "\/documentation\/euclid\/vector\/angle(with:)-9sfg1", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/angle(with:)-9sfg1", "taskGroups" : [ ], - "title" : "isWatertight", - "usr" : "s:6Euclid4MeshV12isWatertightSbvp" + "title" : "angle(with:)", + "usr" : "s:6Euclid6VectorV5angle4withAA5AngleVAA5PlaneV_tF" }, { "abstract" : [ { - "text" : "Creates a rotation transform.", + "text" : "Creates a offset transform.", "type" : "text" } ], @@ -26685,7 +27110,7 @@ }, { "kind" : "identifier", - "text" : "rotation" + "text" : "offset" }, { "kind" : "text", @@ -26693,8 +27118,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -26708,167 +27133,113 @@ ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/rotation(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotation(_:)", + "path" : "\/documentation\/euclid\/transform\/offset(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/offset(_:)", "taskGroups" : [ ], - "title" : "rotation(_:)", - "usr" : "s:6Euclid9TransformV8rotationyAcA8RotationVFZ" + "title" : "offset(_:)", + "usr" : "s:6Euclid9TransformV6offsetyAcA6VectorVFZ" }, { - "abstract" : [ - { - "text" : "An orientation or rotation in 3D space.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "struct" - }, + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/linesegment\/encodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Encodable-Implementations", + "taskGroups" : [ { - "kind" : "text", - "text" : " " - }, + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/encode(to:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Encodable Implementations" + }, + { + "abstract" : [ { - "kind" : "identifier", - "text" : "Quaternion" + "text" : "Loads a mesh from a file, with optional material mapping.", + "type" : "text" } ], - "kind" : "org.swift.docc.kind.structure", - "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion", - "platforms" : [ - + "availableLanguages" : [ + "swift" ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion", - "taskGroups" : [ + "fragments" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-27eol", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-7xa5o", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-b3v3", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-fyhx", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:_:_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(axis:angle:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(roll:yaw:pitch:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/pitch(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/roll(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/yaw(_:)" - ], - "title" : "Creating Quaternions" + "kind" : "keyword", + "text" : "init" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/zero", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/identity" - ], - "title" : "Default Quaternions" + "kind" : "text", + "text" : "(" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/pitch", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/roll", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/yaw", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/axis", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/angle", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/isIdentity" - ], - "title" : "Quaternion Properties" + "kind" : "externalParam", + "text" : "url" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/dot(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/normalized()" - ], - "title" : "Computing Quaternions" + "kind" : "text", + "text" : ": " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/slerp(_:_:)" - ], - "title" : "Interpolating Quaternions" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:10Foundation3URLV", + "text" : "URL" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/+(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/+=(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-=(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*(_:_:)-2drke", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*(_:_:)-305tn", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*=(_:_:)-5ic2j", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*=(_:_:)-lsgo" - ], - "title" : "Operators" + "kind" : "text", + "text" : ", " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/\/(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/\/=(_:_:)" - ], - "title" : "Operators" + "kind" : "externalParam", + "text" : "materialLookup" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-99vxt" - ], - "title" : "Initializers" + "kind" : "text", + "text" : ": ((" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/components", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/isNormalized", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/length", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/lengthSquared", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/w", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/x", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/y", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/z" - ], - "title" : "Instance Properties" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s11AnyHashableV", + "text" : "AnyHashable" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Decodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Encodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Equatable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Hashable-Implementations" - ], - "title" : "Default Implementations" + "kind" : "text", + "text" : "?) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" + }, + { + "kind" : "text", + "text" : "?)?) " + }, + { + "kind" : "keyword", + "text" : "throws" } ], - "title" : "Quaternion", - "usr" : "s:6Euclid10QuaternionV" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/encodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Encodable-Implementations", + "path" : "\/documentation\/euclid\/mesh\/init(url:materiallookup:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(url:materialLookup:)", "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/encode(to:)" - ], - "title" : "Instance Methods" - } + ], - "title" : "Encodable Implementations" + "title" : "init(url:materialLookup:)", + "usr" : "s:6Euclid4MeshV3url14materialLookupAC10Foundation3URLV_s11AnyHashableVSgAKcSgtKcfc" }, { "abstract" : [ { - "text" : "Creates an angle representing the trigonometric arc cosine of the value you provide.", + "text" : "Creates a uniform scale transform.", "type" : "text" } ], @@ -26894,7 +27265,7 @@ }, { "kind" : "identifier", - "text" : "acos" + "text" : "scale" }, { "kind" : "text", @@ -26911,24 +27282,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" } ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/acos(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/acos(_:)", + "path" : "\/documentation\/euclid\/transform\/scale(_:)-7a30s", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(_:)-7a30s", "taskGroups" : [ ], - "title" : "acos(_:)", - "usr" : "s:6Euclid5AngleV4acosyACSdFZ" + "title" : "scale(_:)", + "usr" : "s:6Euclid9TransformV5scaleyACSdFZ" }, { "abstract" : [ { - "text" : "Performs a spherical interpolation between two quaternions.", + "text" : "Returns a rotated copy of the value.", "type" : "text" } ], @@ -26946,25 +27317,24 @@ }, { "kind" : "identifier", - "text" : "slerp" + "text" : "rotated" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", @@ -26972,27 +27342,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/slerp(_:_:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/slerp(_:_:)", + "path" : "\/documentation\/euclid\/transform\/rotated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotated(by:)", "taskGroups" : [ ], - "title" : "slerp(_:_:)", - "usr" : "s:6Euclid10QuaternionV5slerpyA2C_SdtF" + "title" : "rotated(by:)", + "usr" : "s:6Euclid9TransformV7rotated2byAcA8RotationV_tF" }, { "abstract" : [ { - "text" : "Tessellates the polygon into triangles.", + "text" : "Creates a closed rectangular path.", "type" : "text" } ], @@ -27000,6 +27367,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -27010,62 +27385,49 @@ }, { "kind" : "identifier", - "text" : "triangulate" + "text" : "rectangle" }, { "kind" : "text", - "text" : "() -> [" + "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "kind" : "externalParam", + "text" : "width" }, { "kind" : "text", - "text" : "]" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/triangulate()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/triangulate()", - "taskGroups" : [ - - ], - "title" : "triangulate()", - "usr" : "s:6Euclid7PolygonV11triangulateSayACGyF" - }, - { - "abstract" : [ + "text" : ": " + }, { - "text" : "Returns a translated copy of the value.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, { - "kind" : "keyword", - "text" : "func" + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "height" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "translated" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : "(" + "text" : ", " }, { "kind" : "externalParam", - "text" : "by" + "text" : "color" }, { "kind" : "text", @@ -27073,28 +27435,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/translated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/translated(by:)", + "path" : "\/documentation\/euclid\/path\/rectangle(width:height:color:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rectangle(width:height:color:)", "taskGroups" : [ ], - "title" : "translated(by:)", - "usr" : "s:6Euclid6VertexV10translated2byAcA6VectorV_tF" + "title" : "rectangle(width:height:color:)", + "usr" : "s:6Euclid4PathV9rectangle5width6height5colorACSd_SdAA5ColorVSgtFZ" }, { "abstract" : [ @@ -27143,21 +27505,15 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/translate(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/translate(by:)", + "path" : "\/documentation\/euclid\/bounds\/translate(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/translate(by:)", "taskGroups" : [ ], "title" : "translate(by:)", - "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid7PolygonV" + "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid6BoundsV" }, { - "abstract" : [ - { - "text" : "Transform the value in place.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -27180,7 +27536,7 @@ }, { "kind" : "identifier", - "text" : "*=" + "text" : "..<" }, { "kind" : "text", @@ -27191,12 +27547,12 @@ "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { "kind" : "typeIdentifier", @@ -27204,32 +27560,58 @@ }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:Sn", + "text" : "Range" }, { "kind" : "text", - "text" : ")" + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ">" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/*=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/*=(_:_:)", + "path" : "\/documentation\/euclid\/plane\/'.._(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/.._(_:_:)", "taskGroups" : [ ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid5PlaneV" + "title" : "..<(_:_:)", + "usr" : "s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:6Euclid5PlaneV" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/pathpoint\/decodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Decodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(from:)" + ], + "title" : "Initializers" + } + ], + "title" : "Decodable Implementations" }, { "abstract" : [ { - "text" : "Returns a Boolean value that indicates if the bounds intersects the specified plane.", + "text" : "Returns a rotation multiplied by the specified value.", "type" : "text" } ], @@ -27237,6 +27619,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -27247,7 +27637,11 @@ }, { "kind" : "identifier", - "text" : "intersects" + "text" : "*" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", @@ -27255,8 +27649,17 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -27264,24 +27667,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/intersects(_:)-7br6p", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersects(_:)-7br6p", + "path" : "\/documentation\/euclid\/rotation\/*(_:_:)-5fe82", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*(_:_:)-5fe82", "taskGroups" : [ ], - "title" : "intersects(_:)", - "usr" : "s:6Euclid6BoundsV10intersectsySbAA5PlaneVF" + "title" : "*(_:_:)", + "usr" : "s:6Euclid8RotationV1moiyA2C_SdtFZ" }, { "abstract" : [ { - "text" : "The angle is zero (or close to zero).", + "text" : "Return a copy of the polygon without texture coordinates", "type" : "text" } ], @@ -27291,7 +27694,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -27299,32 +27702,32 @@ }, { "kind" : "identifier", - "text" : "isZero" + "text" : "withoutTexcoords" }, { "kind" : "text", - "text" : ": " + "text" : "() -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/iszero", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/isZero", + "path" : "\/documentation\/euclid\/polygon\/withouttexcoords()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/withoutTexcoords()", "taskGroups" : [ ], - "title" : "isZero", - "usr" : "s:6Euclid5AngleV6isZeroSbvp" + "title" : "withoutTexcoords()", + "usr" : "s:6Euclid7PolygonV16withoutTexcoordsACyF" }, { "abstract" : [ { - "text" : "Creates a bounds from two points.", + "text" : "A closure that maps a Euclid material to an STL facet color.", "type" : "text" } ], @@ -27334,53 +27737,31 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "typealias" }, { "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : " " }, { - "kind" : "text", - "text" : ")" + "kind" : "identifier", + "text" : "STLColorProvider" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.typeAlias", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/init(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:_:)", + "path" : "\/documentation\/euclid\/mesh\/stlcolorprovider", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/STLColorProvider", "taskGroups" : [ ], - "title" : "init(_:_:)", - "usr" : "s:6Euclid6BoundsVyAcA6VectorV_AEtcfc" + "title" : "Mesh.STLColorProvider", + "usr" : "s:6Euclid4MeshV16STLColorProvidera" }, { "abstract" : [ { - "text" : "Creates a color from an ", - "type" : "text" - }, - { - "code" : "NSColor", - "type" : "codeVoice" - }, - { - "text" : ".", + "text" : "The default wrap behavior. Context-dependent.", "type" : "text" } ], @@ -27390,103 +27771,51 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "case" }, { "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "c:objc(cs)NSColor", - "text" : "NSColor" + "text" : " " }, { - "kind" : "text", - "text" : ")" + "kind" : "identifier", + "text" : "`default`" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.enumerationCase", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/init(_:)-7d8un", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:)-7d8un", + "path" : "\/documentation\/euclid\/mesh\/wrapmode\/default", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/default", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid5ColorVyACSo7NSColorCcfc" + "title" : "Mesh.WrapMode.default", + "usr" : "s:6Euclid4MeshV8WrapModeO7defaultyA2EmF" }, { - "abstract" : [ - { - "text" : "An array containing the X, Y, and Z components of the vector.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "components" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ": [" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : "]" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/components", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/components", - "taskGroups" : [ - - ], - "title" : "components", - "usr" : "s:6Euclid6VectorV10componentsSaySdGvp" - }, - { - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " + "text" : " " }, { "kind" : "identifier", - "text" : "<=" + "text" : "..<" }, { "kind" : "text", @@ -27514,24 +27843,44 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:Sn", + "text" : "Range" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ">" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/_=(_:_:)-j6oq", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_=(_:_:)-j6oq", + "path" : "\/documentation\/euclid\/angle\/'.._(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/.._(_:_:)", "taskGroups" : [ ], - "title" : "<=(_:_:)", - "usr" : "s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "..<(_:_:)", + "usr" : "s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" }, { "abstract" : [ { - "text" : "Replace\/remove path point colors.", + "text" : "A vector with all coordinates set to ", + "type" : "text" + }, + { + "code" : "1", + "type" : "codeVoice" + }, + { + "text" : ".", "type" : "text" } ], @@ -27541,49 +27890,48 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "withColor" + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "kind" : "identifier", + "text" : "one" }, { "kind" : "text", - "text" : "?) -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/withcolor(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/withColor(_:)", + "path" : "\/documentation\/euclid\/vector\/one", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/one", "taskGroups" : [ ], - "title" : "withColor(_:)", - "usr" : "s:6Euclid4PathV9withColoryAcA0D0VSgF" + "title" : "one", + "usr" : "s:6Euclid6VectorV3oneACvpZ" }, { "abstract" : [ { - "text" : "Return binary STL data for the mesh.", + "text" : "The Y component of the vector.", "type" : "text" } ], @@ -27593,7 +27941,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -27601,15 +27949,7 @@ }, { "kind" : "identifier", - "text" : "stlData" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "colorLookup" + "text" : "y" }, { "kind" : "text", @@ -27617,61 +27957,56 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV16STLColorProvidera", - "text" : "STLColorProvider" - }, - { - "kind" : "text", - "text" : "?) -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:10Foundation4DataV", - "text" : "Data" + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/stldata(colorlookup:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stlData(colorLookup:)", + "path" : "\/documentation\/euclid\/vector\/y", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/y", "taskGroups" : [ ], - "title" : "stlData(colorLookup:)", - "usr" : "s:6Euclid4MeshV7stlData11colorLookup10Foundation0D0VAA5ColorVSgs11AnyHashableVSgcSg_tF" + "title" : "y", + "usr" : "s:6Euclid6VectorV1ySdvp" }, { - "abstract" : [ - { - "text" : "Creates a vector from the values you provide.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ", " + "text" : " " + }, + { + "kind" : "identifier", + "text" : "!=" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "Self" }, { "kind" : "text", @@ -27679,28 +28014,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "Self" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/init(_:_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:_:_:)", + "path" : "\/documentation\/euclid\/linesegment\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/!=(_:_:)", "taskGroups" : [ ], - "title" : "init(_:_:_:)", - "usr" : "s:6Euclid6VectorVyACSd_S2dtcfc" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { "abstract" : [ { - "text" : "Creates a composite path from an array of subpaths.", + "text" : "Returns a new vector that represents the mininum of the components of the two vectors.", "type" : "text" } ], @@ -27710,41 +28049,61 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "min" }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "subpaths" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ": [" + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "])" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.function", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/init(subpaths:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(subpaths:)", + "path" : "\/documentation\/euclid\/min(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/min(_:_:)", "taskGroups" : [ ], - "title" : "init(subpaths:)", - "usr" : "s:6Euclid4PathV8subpathsACSayACG_tcfc" + "title" : "min(_:_:)", + "usr" : "s:6Euclid3minyAA6VectorVAD_ADtF" }, { + "abstract" : [ + { + "text" : "Creates a mesh by stroking a path with the line width, detail, and material you provide.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -27759,7 +28118,7 @@ }, { "kind" : "keyword", - "text" : "let" + "text" : "func" }, { "kind" : "text", @@ -27767,7 +28126,24 @@ }, { "kind" : "identifier", - "text" : "black" + "text" : "stroke" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "width" }, { "kind" : "text", @@ -27775,24 +28151,84 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "detail" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Si", + "text" : "Int" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "material" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" + }, + { + "kind" : "text", + "text" : "?, " + }, + { + "kind" : "externalParam", + "text" : "isCancelled" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/black", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/black", + "path" : "\/documentation\/euclid\/mesh\/stroke(_:width:detail:material:iscancelled:)-85o14", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:isCancelled:)-85o14", "taskGroups" : [ ], - "title" : "black", - "usr" : "s:6Euclid5ColorV5blackACvpZ" + "title" : "stroke(_:width:detail:material:isCancelled:)", + "usr" : "s:6Euclid4MeshV6stroke_5width6detail8material11isCancelledAcA4PathV_SdSis11AnyHashableVSgSbyXEtFZ" }, { "abstract" : [ { - "text" : "Returns the area of the polygon.", + "text" : "Encodes this plane into the given encoder.", "type" : "text" } ], @@ -27802,7 +28238,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -27810,7 +28246,15 @@ }, { "kind" : "identifier", - "text" : "area" + "text" : "encode" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "to" }, { "kind" : "text", @@ -27818,24 +28262,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:s7EncoderP", + "text" : "Encoder" + }, + { + "kind" : "text", + "text" : ") " + }, + { + "kind" : "keyword", + "text" : "throws" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/area", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/area", + "path" : "\/documentation\/euclid\/plane\/encode(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/encode(to:)", "taskGroups" : [ ], - "title" : "area", - "usr" : "s:6Euclid7PolygonV4areaSdvp" + "title" : "encode(to:)", + "usr" : "s:6Euclid5PlaneV6encode2toys7Encoder_p_tKF" }, { "abstract" : [ { - "text" : "Creates a color from a luminance value and optional alpha component.", + "text" : "Returns a translated copy of the value.", "type" : "text" } ], @@ -27845,63 +28297,65 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "translated" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/init(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:_:)", + "path" : "\/documentation\/euclid\/bounds\/translated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/translated(by:)", "taskGroups" : [ ], - "title" : "init(_:_:)", - "usr" : "s:6Euclid5ColorVyACSd_Sdtcfc" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/decodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/Decodable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(from:)" - ], - "title" : "Initializers" - } - ], - "title" : "Decodable Implementations" + "title" : "translated(by:)", + "usr" : "s:6Euclid6BoundsV10translated2byAcA6VectorV_tF" }, { "abstract" : [ { - "text" : "Translate the value in place.", + "text" : "The unique polygon edges in the mesh.", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "The direction of each edge is normalized relative to the origin to simplify edge-equality comparisons.", "type" : "text" } ], @@ -27911,7 +28365,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -27919,39 +28373,40 @@ }, { "kind" : "identifier", - "text" : "translate" + "text" : "uniqueEdges" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sh", + "text" : "Set" }, { "kind" : "text", - "text" : ": " + "text" : "<" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" }, { "kind" : "text", - "text" : ")" + "text" : ">" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/translate(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/translate(by:)", + "path" : "\/documentation\/euclid\/mesh\/uniqueedges", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/uniqueEdges", "taskGroups" : [ ], - "title" : "translate(by:)", - "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid4MeshV" + "title" : "uniqueEdges", + "usr" : "s:6Euclid4MeshV11uniqueEdgesShyAA11LineSegmentVGvp" }, { "abstract" : [ @@ -27970,43 +28425,44 @@ }, { "kind" : "text", - "text" : "(" + "text" : "?(" }, { - "kind" : "externalParam", - "text" : "bounds" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ": [" + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "])" + "text" : ")" } ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/init(bounds:)", + "path" : "\/documentation\/euclid\/linesegment\/init(_:_:)", "platforms" : [ ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(bounds:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(_:_:)", "taskGroups" : [ ], - "title" : "init(bounds:)", - "usr" : "s:6Euclid6BoundsV6boundsACSayACG_tcfc" + "title" : "init(_:_:)", + "usr" : "s:6Euclid11LineSegmentVyACSgAA6VectorV_AFtcfc" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Efficiently performs a stencil with multiple meshes.", "type" : "text" } ], @@ -28032,56 +28488,66 @@ }, { "kind" : "identifier", - "text" : "*=" - }, - { - "kind" : "text", - "text" : " " + "text" : "stencil" }, { "kind" : "text", - "text" : "(" + "text" : "<" }, { - "kind" : "keyword", - "text" : "inout" + "kind" : "genericParameter", + "text" : "T" }, { "kind" : "text", - "text" : " " + "text" : ">(" }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid4MeshV7stencil_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ1TL_xmfp", + "text" : "T" }, { "kind" : "text", "text" : ", " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "kind" : "externalParam", + "text" : "isCancelled" }, { "kind" : "text", - "text" : ")" + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/*=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/*=(_:_:)", + "path" : "\/documentation\/euclid\/mesh\/stencil(_:iscancelled:)-swift.type.method", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stencil(_:isCancelled:)-swift.type.method", "taskGroups" : [ ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid6BoundsV" + "title" : "stencil(_:isCancelled:)", + "usr" : "s:6Euclid4MeshV7stencil_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ" }, { "abstract" : [ { - "text" : "Multiplies the components of the quaternion by the specified value.", + "text" : "Creates a copy of the vertex with the specified texture coordinate.", "type" : "text" } ], @@ -28089,14 +28555,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -28107,60 +28565,41 @@ }, { "kind" : "identifier", - "text" : "*=" - }, - { - "kind" : "text", - "text" : " " + "text" : "withTexcoord" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "keyword", - "text" : "inout" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/*=(_:_:)-lsgo", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*=(_:_:)-lsgo", + "path" : "\/documentation\/euclid\/vertex\/withtexcoord(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withTexcoord(_:)", "taskGroups" : [ ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid10QuaternionV2meoiyyACz_SdtFZ" + "title" : "withTexcoord(_:)", + "usr" : "s:6Euclid6VertexV12withTexcoordyAcA6VectorVF" }, { "abstract" : [ { - "text" : "Returns a rotated copy of the value.", + "text" : "A polygon in 3D space.", "type" : "text" } ], @@ -28170,7 +28609,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "struct" }, { "kind" : "text", @@ -28178,145 +28617,370 @@ }, { "kind" : "identifier", - "text" : "rotated" + "text" : "Polygon" + } + ], + "kind" : "org.swift.docc.kind.structure", + "language" : "swift", + "path" : "\/documentation\/euclid\/polygon", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(_:material:)-8gsiw", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(_:material:)-9mns5", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(shape:material:)" + ], + "title" : "Creating Polygons" }, { - "kind" : "text", - "text" : "(" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/vertices", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/plane", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/bounds", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/center", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/material-swift.property", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/isConvex", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasTexcoords", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasVertexColors", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/orderedEdges", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/undirectedEdges", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/area" + ], + "title" : "Polygon Properties" }, { - "kind" : "externalParam", - "text" : "by" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/containsPoint(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/edges(intersecting:)" + ], + "title" : "Comparing Polygons" }, { - "kind" : "text", - "text" : ": " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-69m6m", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-8sjrv", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/translated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/transformed(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/merge(_:ensureConvex:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/inverted()", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/withMaterial(_:)" + ], + "title" : "Transforming Polygons" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/clip(to:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/split(along:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/tessellate(maxSides:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/triangulate()" + ], + "title" : "Splitting Polygons" }, { - "kind" : "text", - "text" : ") -> " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasVertexNormals" + ], + "title" : "Instance Properties" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/rotated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotated(by:)", - "taskGroups" : [ - - ], - "title" : "rotated(by:)", - "usr" : "s:6Euclid11LineSegmentV7rotated2byAcA8RotationV_tF" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/decodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Decodable-Implementations", - "taskGroups" : [ + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/mapTexcoords(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/mapVertexColors(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/with(material:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/withoutTexcoords()" + ], + "title" : "Instance Methods" + }, { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(from:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Material-swift.typealias" ], - "title" : "Initializers" + "title" : "Type Aliases" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/codableClasses" + ], + "title" : "Type Properties" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Bounded-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Decodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Encodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Equatable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Transformable-Implementations" + ], + "title" : "Default Implementations" } ], - "title" : "Decodable Implementations" + "title" : "Polygon", + "usr" : "s:6Euclid7PolygonV" }, { + "abstract" : [ + { + "text" : "A 3D surface made of polygons.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "struct" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "func" + "kind" : "identifier", + "text" : "Mesh" + } + ], + "kind" : "org.swift.docc.kind.structure", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/empty" + ], + "title" : "Default Meshes" }, { - "kind" : "text", - "text" : " " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cone(radius:height:slices:stacks:poleDetail:addDetailAtBottomPole:faces:wrapMode:material:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cube(center:size:faces:wrapMode:material:)-8t5q8", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cube(center:size:faces:wrapMode:material:)-eado", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cylinder(radius:height:slices:poleDetail:faces:wrapMode:material:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/sphere(radius:slices:stacks:poleDetail:faces:wrapMode:material:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/icosahedron(radius:faces:wrapMode:material:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces" + ], + "title" : "Geometric Primitives" }, { - "kind" : "identifier", - "text" : "<=" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(submeshes:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:)-6c896", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/union(_:isCancelled:)-swift.method", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/union(_:isCancelled:)-swift.type.method", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersection(_:isCancelled:)-swift.method", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersection(_:isCancelled:)-swift.type.method", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/subtracting(_:isCancelled:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/difference(_:isCancelled:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/symmetricDifference(_:isCancelled:)-swift.method", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/symmetricDifference(_:isCancelled:)-swift.type.method", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stencil(_:isCancelled:)-swift.method", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stencil(_:isCancelled:)-swift.type.method", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/CancellationHandler" + ], + "title" : "Creating Meshes from Other Meshes" }, { - "kind" : "text", - "text" : " " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:)-8x4al" + ], + "title" : "Creating Meshes from Polygons" }, { - "kind" : "text", - "text" : "(" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-4hvi3", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/lathe(_:slices:poleDetail:addDetailForFlatPoles:faces:wrapMode:material:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:along:twist:align:faces:material:isCancelled:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:depth:twist:sections:faces:material:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:depth:twist:sections:faces:material:isCancelled:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/fill(_:faces:material:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/fill(_:faces:material:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/loft(_:faces:material:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:isCancelled:)-85o14", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:isCancelled:)-9mn9o" + ], + "title" : "Creating Meshes from Paths" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-6176", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-75on2", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-91swk", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-5ztum" + ], + "title" : "Creating Meshes from Vertices, Points or LineSegments" }, { - "kind" : "text", - "text" : ", " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/text(_:font:width:depth:detail:material:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/text(_:width:depth:detail:material:)" + ], + "title" : "Creating Meshes from Text" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:material:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:ignoringTransforms:materialLookup:)" + ], + "title" : "Creating Meshes from SceneKit Models" }, { - "kind" : "text", - "text" : ") -> " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(stlString:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(stlData:materialLookup:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(url:materialLookup:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(url:ignoringTransforms:materialLookup:)" + ], + "title" : "Importing Meshes" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" - } - ], - "kind" : "org.swift.docc.kind.operator", - "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/_=(_:_:)-1oq2t", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_=(_:_:)-1oq2t", - "taskGroups" : [ - - ], - "title" : "<=(_:_:)", - "usr" : "s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:6Euclid5PlaneV" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/line\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Equatable-Implementations", - "taskGroups" : [ + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/objString()", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stlString(name:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stlData(colorLookup:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/write(to:materialLookup:)" + ], + "title" : "Exporting Meshes" + }, { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/!=(_:_:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/polygons", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/materials", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/bounds", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasTexcoords", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasVertexColors", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/isWatertight", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/polygonsByMaterial", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/uniqueEdges" ], - "title" : "Operators" + "title" : "Mesh Properties" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/containsPoint(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/edges(intersecting:)" + ], + "title" : "Comparing Meshes" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-90bab", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-94kks", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/translated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/transformed(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/inverted()" + ], + "title" : "Transforming Meshes" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/replacing(_:with:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withMaterial(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withoutTexcoords()", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withTextureTransform(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/sphereMapped()", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cylinderMapped()", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cubeMapped()" + ], + "title" : "Updating Materials and Texture Coordinates" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/merge(_:)-swift.method", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/merge(_:)-swift.type.method" + ], + "title" : "Merging Meshes" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/clip(to:fill:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/split(along:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/submeshes" + ], + "title" : "Splitting Meshes" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/tessellate(maxSides:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/triangulate()", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/detessellate()", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/detriangulate()", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/makeWatertight()", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/smoothingNormals(forAnglesGreaterThan:)" + ], + "title" : "Adjusting Mesh Topology" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError" + ], + "title" : "Structures" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materialLookup:)-3drza", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materialLookup:)-7p5hd", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materials:)-22brv", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materials:)-4k8gs", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(scnGeometry:materialLookup:)" + ], + "title" : "Initializers" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasVertexNormals" + ], + "title" : "Instance Properties" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersect(_:isCancelled:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/smoothNormals(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/subtract(_:isCancelled:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/xor(_:isCancelled:)-swift.method" + ], + "title" : "Instance Methods" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Alignment", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Material", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/MaterialProvider", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/RealityKitMaterialProvider", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/SCNMaterialProvider", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/STLColorProvider", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/STLMaterialProvider" + ], + "title" : "Type Aliases" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/fill(_:faces:material:isCancelled:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/xor(_:isCancelled:)-swift.type.method" + ], + "title" : "Type Methods" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Bounded-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Decodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Encodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Equatable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Transformable-Implementations" + ], + "title" : "Default Implementations" } ], - "title" : "Equatable Implementations" + "title" : "Mesh", + "usr" : "s:6Euclid4MeshV" }, { "availableLanguages" : [ @@ -28341,7 +29005,7 @@ }, { "kind" : "identifier", - "text" : "-=" + "text" : "..<" }, { "kind" : "text", @@ -28352,12 +29016,12 @@ "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { "kind" : "typeIdentifier", @@ -28365,736 +29029,56 @@ }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:Sn", + "text" : "Range" }, { "kind" : "text", - "text" : ")" - } - ], - "kind" : "org.swift.docc.kind.operator", - "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/-=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-=(_:_:)", - "taskGroups" : [ - - ], - "title" : "-=(_:_:)", - "usr" : "s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" - }, - { - "abstract" : [ - { - "text" : "Creates a polygon from an array of vertices.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "?([" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" - }, - { - "kind" : "text", - "text" : "], " - }, - { - "kind" : "externalParam", - "text" : "material" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", - "text" : "Material" - }, - { - "kind" : "text", - "text" : "?)" - } - ], - "kind" : "org.swift.docc.kind.initializer", - "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/init(_:material:)-9mns5", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(_:material:)-9mns5", - "taskGroups" : [ - - ], - "title" : "init(_:material:)", - "usr" : "s:6Euclid7PolygonV_8materialACSgSayAA6VertexVG_s11AnyHashableVSgtcfc" - }, - { - "abstract" : [ - { - "text" : "Returns a normalized vector.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "normalized" - }, - { - "kind" : "text", - "text" : "() -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/normalized()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/normalized()", - "taskGroups" : [ - - ], - "title" : "normalized()", - "usr" : "s:6Euclid6VectorV10normalizedACyF" - }, - { - "abstract" : [ - { - "text" : "The rotation or orientation component of the transform.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "var" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "rotation" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/rotation", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotation", - "taskGroups" : [ - - ], - "title" : "rotation", - "usr" : "s:6Euclid9TransformV8rotationAA8RotationVvp" - }, - { - "abstract" : [ - { - "text" : "Rotate the value in place.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "rotate" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" - }, - { - "kind" : "text", - "text" : ")" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/rotate(by:)-hj8h", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotate(by:)-hj8h", - "taskGroups" : [ - - ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid6VectorV" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/path\/encodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Encodable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/encode(to:)" - ], - "title" : "Instance Methods" - } - ], - "title" : "Encodable Implementations" - }, - { - "abstract" : [ - { - "text" : "Cropped and flattened version of path suitable for lathing around the Y axis.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "var" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "latheProfile" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/path\/latheprofile", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/latheProfile", - "taskGroups" : [ - - ], - "title" : "latheProfile", - "usr" : "s:6Euclid4PathV12latheProfileACvp" - }, - { - "abstract" : [ - { - "text" : "Returns the distance between a point and the plane.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "distance" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "from" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/distance(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/distance(from:)", - "taskGroups" : [ - - ], - "title" : "distance(from:)", - "usr" : "s:6Euclid5PlaneV8distance4fromSdAA6VectorV_tF" - }, - { - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "!=" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" - } - ], - "kind" : "org.swift.docc.kind.operator", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/faces\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/!=(_:_:)", - "taskGroups" : [ - - ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid4MeshV5FacesO" - }, - { - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : ">" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" - } - ], - "kind" : "org.swift.docc.kind.operator", - "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/_(_:_:)-3fd8h", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_(_:_:)-3fd8h", - "taskGroups" : [ - - ], - "title" : ">(_:_:)", - "usr" : "s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:6Euclid5PlaneV" - }, - { - "abstract" : [ - { - "text" : "Returns a rotation divided by the specified value.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "\/" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" - } - ], - "kind" : "org.swift.docc.kind.operator", - "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/\/(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/\/(_:_:)", - "taskGroups" : [ - - ], - "title" : "\/(_:_:)", - "usr" : "s:6Euclid8RotationV1doiyA2C_SdtFZ" - }, - { - "abstract" : [ - { - "text" : "Scale the value in place.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "scale" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ")" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/scale(by:)-8g7t0", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scale(by:)-8g7t0", - "taskGroups" : [ - - ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid6VectorV" - }, - { - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "var" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "errorDomain" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:SS", - "text" : "String" - } - ], - "kind" : "org.swift.docc.kind.typeProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/ioerror\/errordomain", - "platforms" : [ - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "8.0", - "name" : "iOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "10.10", - "name" : "macOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "9.0", - "name" : "tvOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "2.0", - "name" : "watchOS", - "unavailable" : false - } - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorDomain", - "taskGroups" : [ - - ], - "title" : "errorDomain", - "usr" : "s:10Foundation13CustomNSErrorPAAE11errorDomainSSvpZ::SYNTHESIZED::s:6Euclid4MeshV7IOErrorV" - }, - { - "abstract" : [ - { - "text" : "A plane located at the origin, aligned with the X and Y axes.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "let" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "xy" - }, - { - "kind" : "text", - "text" : ": " + "text" : "<" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" + "text" : "Self" + }, + { + "kind" : "text", + "text" : ">" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/xy", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/xy", + "path" : "\/documentation\/euclid\/vector\/'.._(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/.._(_:_:)", "taskGroups" : [ ], - "title" : "xy", - "usr" : "s:6Euclid5PlaneV2xyACvpZ" + "title" : "..<(_:_:)", + "usr" : "s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "All materials used by the mesh.", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "The array may contain ", + "type" : "text" + }, + { + "code" : "nil", + "type" : "codeVoice" + }, + { + "text" : " if some or all of the mesh uses the default material.", "type" : "text" } ], @@ -29104,7 +29088,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -29112,44 +29096,36 @@ }, { "kind" : "identifier", - "text" : "scale" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" + "text" : "materials" }, { "kind" : "text", - "text" : ": " + "text" : ": [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : ")" + "text" : "?]" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/scale(by:)-3en6y", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scale(by:)-3en6y", + "path" : "\/documentation\/euclid\/mesh\/materials", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/materials", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid7PolygonV" + "title" : "materials", + "usr" : "s:6Euclid4MeshV9materialsSays11AnyHashableVSgGvp" }, { "abstract" : [ { - "text" : "Creates a new vertex by decoding from the given decoder.", + "text" : "A closure that maps a SceneKit material to a Euclid material.", "type" : "text" } ], @@ -29159,48 +29135,49 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "from" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7DecoderP", - "text" : "Decoder" + "text" : "typealias" }, { "kind" : "text", - "text" : ") " + "text" : " " }, { - "kind" : "keyword", - "text" : "throws" + "kind" : "identifier", + "text" : "SCNMaterialProvider" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.typeAlias", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/init(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(from:)", + "path" : "\/documentation\/euclid\/mesh\/scnmaterialprovider", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/SCNMaterialProvider", "taskGroups" : [ ], - "title" : "init(from:)", - "usr" : "s:6Euclid6VertexV4fromACs7Decoder_p_tKcfc" + "title" : "Mesh.SCNMaterialProvider", + "usr" : "s:6Euclid4MeshV19SCNMaterialProvidera" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/encodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Encodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/encode(to:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Encodable Implementations" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "All vector components are one (or close to one) in length.", "type" : "text" } ], @@ -29210,7 +29187,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -29218,15 +29195,7 @@ }, { "kind" : "identifier", - "text" : "scaled" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" + "text" : "isOne" }, { "kind" : "text", @@ -29234,33 +29203,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/scaled(by:)-7e3o7", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-7e3o7", + "path" : "\/documentation\/euclid\/vector\/isone", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isOne", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid9PathPointV6scaled2byACSd_tF" + "title" : "isOne", + "usr" : "s:6Euclid6VectorV5isOneSbvp" }, { "abstract" : [ { - "text" : "Creates an angle from a radians value.", + "text" : "A vector of length ", + "type" : "text" + }, + { + "code" : "1", + "type" : "codeVoice" + }, + { + "text" : " along the Z axis.", "type" : "text" } ], @@ -29278,7 +29246,7 @@ }, { "kind" : "keyword", - "text" : "func" + "text" : "let" }, { "kind" : "text", @@ -29286,41 +29254,32 @@ }, { "kind" : "identifier", - "text" : "radians" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "unitZ" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/radians(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/radians(_:)", + "path" : "\/documentation\/euclid\/vector\/unitz", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitZ", "taskGroups" : [ ], - "title" : "radians(_:)", - "usr" : "s:6Euclid5AngleV7radiansyACSdFZ" + "title" : "unitZ", + "usr" : "s:6Euclid6VectorV5unitZACvpZ" }, { "abstract" : [ { - "text" : "The quaternion W component.", + "text" : "The zero quaternion.", "type" : "text" } ], @@ -29330,7 +29289,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", @@ -29338,7 +29305,7 @@ }, { "kind" : "identifier", - "text" : "w" + "text" : "zero" }, { "kind" : "text", @@ -29346,38 +29313,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/w", + "path" : "\/documentation\/euclid\/quaternion\/zero", "platforms" : [ ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/w", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/zero", "taskGroups" : [ ], - "title" : "w", - "usr" : "s:6Euclid10QuaternionV1wSdvp" + "title" : "zero", + "usr" : "s:6Euclid10QuaternionV4zeroACvpZ" }, { - "abstract" : [ - { - "text" : "Returns whether the leftmost vector has the lower value.", - "type" : "text" - }, - { - "text" : " ", - "type" : "text" - }, - { - "text" : "This provides a stable order when sorting collections of vectors.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -29400,7 +29353,7 @@ }, { "kind" : "identifier", - "text" : "<" + "text" : "!=" }, { "kind" : "text", @@ -29412,8 +29365,7 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "Self" }, { "kind" : "text", @@ -29421,8 +29373,7 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "Self" }, { "kind" : "text", @@ -29436,18 +29387,35 @@ ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/_(_:_:)-9obdn", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_(_:_:)-9obdn", + "path" : "\/documentation\/euclid\/rotation\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/!=(_:_:)", "taskGroups" : [ ], - "title" : "<(_:_:)", - "usr" : "s:6Euclid6VectorV1loiySbAC_ACtFZ" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid8RotationV" }, { "abstract" : [ { - "text" : "Encodes this rotation into the given encoder.", + "text" : "Creates a Euclid", + "type" : "text" + }, + { + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform", + "isActive" : true, + "type" : "reference" + }, + { + "text" : " from a RealityKit ", + "type" : "text" + }, + { + "code" : "Transform", + "type" : "codeVoice" + }, + { + "text" : ".", "type" : "text" } ], @@ -29457,56 +29425,65 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "encode" + "text" : "init" }, { "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "to" + "text" : "(RealityKit" }, { "kind" : "text", - "text" : ": " + "text" : "." }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7EncoderP", - "text" : "Encoder" + "preciseIdentifier" : "s:17RealityFoundation9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : ") " + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/transform\/init(_:)-cys2", + "platforms" : [ + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "13.0", + "name" : "iOS", + "unavailable" : false }, { - "kind" : "keyword", - "text" : "throws" + "beta" : false, + "deprecated" : false, + "introducedAt" : "10.15", + "name" : "macOS", + "unavailable" : false } ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/encode(to:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/encode(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-cys2", "taskGroups" : [ ], - "title" : "encode(to:)", - "usr" : "s:6Euclid8RotationV6encode2toys7Encoder_p_tKF" + "title" : "init(_:)", + "usr" : "s:6Euclid9TransformVyAC17RealityFoundationABVcfc" }, { "abstract" : [ { - "text" : "Creates a single polygon from a path.", + "text" : "Creates a Euclid", + "type" : "text" + }, + { + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform", + "isActive" : true, + "type" : "reference" + }, + { + "text" : " from a simd matrix.", "type" : "text" } ], @@ -29520,67 +29497,60 @@ }, { "kind" : "text", - "text" : "?(" - }, - { - "kind" : "externalParam", - "text" : "shape" - }, - { - "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "material" + "preciseIdentifier" : "c:@SA@simd_float4x4", + "text" : "simd_float4x4" }, { "kind" : "text", - "text" : ": " - }, + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/transform\/init(_:)-7hvb3", + "platforms" : [ { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", - "text" : "Material" + "beta" : false, + "deprecated" : false, + "introducedAt" : "13.0", + "name" : "iOS", + "unavailable" : false }, { - "kind" : "text", - "text" : "?)" + "beta" : false, + "deprecated" : false, + "introducedAt" : "10.15", + "name" : "macOS", + "unavailable" : false } ], - "kind" : "org.swift.docc.kind.initializer", - "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/init(shape:material:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(shape:material:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-7hvb3", "taskGroups" : [ ], - "title" : "init(shape:material:)", - "usr" : "s:6Euclid7PolygonV5shape8materialACSgAA4PathV_s11AnyHashableVSgtcfc" + "title" : "init(_:)", + "usr" : "s:6Euclid9TransformVyACSo13simd_float4x4acfc" }, { - "abstract" : [ - { - "text" : "Quaternion has no effect.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", @@ -29588,7 +29558,7 @@ }, { "kind" : "identifier", - "text" : "isIdentity" + "text" : "orange" }, { "kind" : "text", @@ -29596,38 +29566,21 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/isidentity", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/isIdentity", + "path" : "\/documentation\/euclid\/color\/orange", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/orange", "taskGroups" : [ ], - "title" : "isIdentity", - "usr" : "s:6Euclid10QuaternionV10isIdentitySbvp" + "title" : "orange", + "usr" : "s:6Euclid5ColorV6orangeACvpZ" }, { - "abstract" : [ - { - "text" : "Returns whether the leftmost plane has the lower value.", - "type" : "text" - }, - { - "text" : " ", - "type" : "text" - }, - { - "text" : "This provides a stable order when sorting collections of planes.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -29650,7 +29603,7 @@ }, { "kind" : "identifier", - "text" : "<" + "text" : "-=" }, { "kind" : "text", @@ -29661,43 +29614,44 @@ "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" + "text" : "Self" }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "text" : "Self" + }, + { + "kind" : "text", + "text" : ")" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/_(_:_:)-6eeco", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_(_:_:)-6eeco", + "path" : "\/documentation\/euclid\/angle\/-=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-=(_:_:)", "taskGroups" : [ ], - "title" : "<(_:_:)", - "usr" : "s:6Euclid5PlaneV1loiySbAC_ACtFZ" + "title" : "-=(_:_:)", + "usr" : "s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" }, { "abstract" : [ { - "text" : "Return a copy of the polygon without texture coordinates", + "text" : "The angle of rotation around the Y-axis.", "type" : "text" } ], @@ -29707,7 +29661,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -29715,32 +29669,32 @@ }, { "kind" : "identifier", - "text" : "withoutTexcoords" + "text" : "yaw" }, { "kind" : "text", - "text" : "() -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/withouttexcoords()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/withoutTexcoords()", + "path" : "\/documentation\/euclid\/rotation\/yaw", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/yaw", "taskGroups" : [ ], - "title" : "withoutTexcoords()", - "usr" : "s:6Euclid7PolygonV16withoutTexcoordsACyF" + "title" : "yaw", + "usr" : "s:6Euclid8RotationV3yawAA5AngleVvp" }, { "abstract" : [ { - "text" : "Encodes this mesh into the given encoder.", + "text" : "The quaternion Z component.", "type" : "text" } ], @@ -29750,56 +29704,43 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "encode" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "to" + "text" : "var" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7EncoderP", - "text" : "Encoder" + "kind" : "identifier", + "text" : "z" }, { "kind" : "text", - "text" : ") " + "text" : ": " }, { - "kind" : "keyword", - "text" : "throws" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/encode(to:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/encode(to:)", + "path" : "\/documentation\/euclid\/quaternion\/z", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/z", "taskGroups" : [ ], - "title" : "encode(to:)", - "usr" : "s:6Euclid4MeshV6encode2toys7Encoder_p_tKF" + "title" : "z", + "usr" : "s:6Euclid10QuaternionV1zSdvp" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "Creates a path point from a vertex.", "type" : "text" } ], @@ -29809,52 +29750,36 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "scale" + "text" : "init" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "externalParam", - "text" : "by" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/scale(by:)-2pycj", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scale(by:)-2pycj", + "path" : "\/documentation\/euclid\/pathpoint\/init(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(_:)", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid7PolygonV" + "title" : "init(_:)", + "usr" : "s:6Euclid9PathPointVyAcA6VertexVcfc" }, { "abstract" : [ { - "text" : "The size or scale component of the transform.", + "text" : "Creates a quaternion representing a rotation around the X axis.", "type" : "text" } ], @@ -29864,7 +29789,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -29872,27 +29805,39 @@ }, { "kind" : "identifier", - "text" : "scale" + "text" : "pitch" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/scale", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale", + "path" : "\/documentation\/euclid\/quaternion\/pitch(_:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/pitch(_:)", "taskGroups" : [ ], - "title" : "scale", - "usr" : "s:6Euclid9TransformV5scaleAA6VectorVvp" + "title" : "pitch(_:)", + "usr" : "s:6Euclid10QuaternionV5pitchyAcA5AngleVFZ" }, { "availableLanguages" : [ @@ -29900,22 +29845,39 @@ ], "kind" : "org.swift.docc.kind.collectionGroup", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Equatable-Implementations", + "path" : "\/documentation\/euclid\/plane\/transformable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Transformable-Implementations", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/!=(_:_:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/*(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/*=(_:_:)" ], "title" : "Operators" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotate(by:)-1azi6", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotate(by:)-2ix6y", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scale(by:)-677dp", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scale(by:)-758tv", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-29v7y", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-6axqe", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/transform(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/transformed(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/translate(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/translated(by:)" + ], + "title" : "Instance Methods" } ], - "title" : "Equatable Implementations" + "title" : "Transformable Implementations" }, { "abstract" : [ { - "text" : "Creates an array of glyph contours from a string and font you provide.", + "text" : "Deprecated.", "type" : "text" } ], @@ -29923,14 +29885,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -29941,96 +29895,127 @@ }, { "kind" : "identifier", - "text" : "text" + "text" : "with" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:SS", - "text" : "String" + "kind" : "externalParam", + "text" : "color" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { - "kind" : "externalParam", - "text" : "font" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ": " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@T@CTFontRef", - "text" : "CTFont" + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/pathpoint\/with(color:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/with(color:)", + "taskGroups" : [ + + ], + "title" : "with(color:)", + "usr" : "s:6Euclid9PathPointV4with5colorAcA5ColorVSg_tF" + }, + { + "abstract" : [ + { + "text" : "Transform the value in place.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" }, { "kind" : "text", - "text" : "?, " + "text" : " " }, { - "kind" : "externalParam", - "text" : "width" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "kind" : "identifier", + "text" : "*=" }, { "kind" : "text", - "text" : "?, " + "text" : " " }, { - "kind" : "externalParam", - "text" : "detail" + "kind" : "text", + "text" : "(" + }, + { + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "text" : "Self" }, { "kind" : "text", - "text" : ") -> [" + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : "]" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/text(_:font:width:detail:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/text(_:font:width:detail:)", + "path" : "\/documentation\/euclid\/polygon\/*=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/*=(_:_:)", "taskGroups" : [ ], - "title" : "text(_:font:width:detail:)", - "usr" : "s:6Euclid4PathV4text_4font5width6detailSayACGSS_So9CTFontRefaSgSdSgSitFZ" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid7PolygonV" }, { "abstract" : [ { - "text" : "Translate the value in place.", + "text" : "Transform has no effect.", "type" : "text" } ], @@ -30040,7 +30025,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -30048,15 +30033,7 @@ }, { "kind" : "identifier", - "text" : "translate" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" + "text" : "isIdentity" }, { "kind" : "text", @@ -30064,28 +30041,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/translate(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/translate(by:)", + "path" : "\/documentation\/euclid\/transform\/isidentity", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/isIdentity", "taskGroups" : [ ], - "title" : "translate(by:)", - "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : "isIdentity", + "usr" : "s:6Euclid9TransformV10isIdentitySbvp" }, { "abstract" : [ { - "text" : "Returns the reverse quaternion rotation.", + "text" : "An empty mesh.", "type" : "text" } ], @@ -30103,7 +30076,7 @@ }, { "kind" : "keyword", - "text" : "func" + "text" : "let" }, { "kind" : "text", @@ -30111,45 +30084,78 @@ }, { "kind" : "identifier", - "text" : "-" + "text" : "empty" }, { "kind" : "text", - "text" : " " + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" + } + ], + "kind" : "org.swift.docc.kind.typeProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/empty", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/empty", + "taskGroups" : [ + + ], + "title" : "empty", + "usr" : "s:6Euclid4MeshV5emptyACvpZ" + }, + { + "abstract" : [ + { + "text" : "Indicates whether the path is a closed path.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "kind" : "identifier", + "text" : "isClosed" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/-(_:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-(_:)", + "path" : "\/documentation\/euclid\/path\/isclosed", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/isClosed", "taskGroups" : [ ], - "title" : "-(_:)", - "usr" : "s:6Euclid10QuaternionV1sopyA2CFZ" + "title" : "isClosed", + "usr" : "s:6Euclid4PathV8isClosedSbvp" }, { + "abstract" : [ + { + "text" : "Returns a transformed copy of the value.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -30164,24 +30170,15 @@ }, { "kind" : "identifier", - "text" : "xor" + "text" : "transformed" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" - }, - { - "kind" : "text", - "text" : ", " - }, { "kind" : "externalParam", - "text" : "isCancelled" + "text" : "by" }, { "kind" : "text", @@ -30189,8 +30186,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", @@ -30198,27 +30195,23 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "text" : "Self" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/xor(_:iscancelled:)-swift.method", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/xor(_:isCancelled:)-swift.method", + "path" : "\/documentation\/euclid\/plane\/transformed(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/transformed(by:)", "taskGroups" : [ ], - "title" : "xor(_:isCancelled:)", - "usr" : "s:6Euclid4MeshV3xor_11isCancelledA2C_SbyXEtF" + "title" : "transformed(by:)", + "usr" : "s:6Euclid13TransformablePAAE11transformed2byxAA9TransformV_tF::SYNTHESIZED::s:6Euclid5PlaneV" }, { "abstract" : [ { - "text" : "Use default alignment heuristic for the given path.", + "text" : "The angle in degrees.", "type" : "text" } ], @@ -30228,7 +30221,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "case" + "text" : "var" }, { "kind" : "text", @@ -30236,35 +30229,42 @@ }, { "kind" : "identifier", - "text" : "`default`" + "text" : "degrees" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.enumerationCase", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/alignment\/default", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/default", + "path" : "\/documentation\/euclid\/angle\/degrees", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/degrees", "taskGroups" : [ ], - "title" : "Path.Alignment.default", - "usr" : "s:6Euclid4PathV9AlignmentO7defaultyA2EmF" + "title" : "degrees", + "usr" : "s:6Euclid5AngleV7degreesSdvp" }, { + "abstract" : [ + { + "text" : "A Boolean value that indicates whether the polygon includes vertex normals that differ from the face normal.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -30272,31 +30272,11 @@ }, { "kind" : "identifier", - "text" : "!=" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "text" : "hasVertexNormals" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", @@ -30304,15 +30284,15 @@ "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/!=(_:_:)", + "path" : "\/documentation\/euclid\/polygon\/hasvertexnormals", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasVertexNormals", "taskGroups" : [ ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid7PolygonV" + "title" : "hasVertexNormals", + "usr" : "s:6Euclid7PolygonV16hasVertexNormalsSbvp" }, { "abstract" : [ @@ -30389,29 +30369,100 @@ "text" : "throws" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/init(url:ignoringtransforms:materiallookup:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(url:ignoringTransforms:materialLookup:)", + "taskGroups" : [ + + ], + "title" : "init(url:ignoringTransforms:materialLookup:)", + "usr" : "s:6Euclid4MeshV3url18ignoringTransforms14materialLookupAC10Foundation3URLV_Sbs11AnyHashableVSgSo11SCNMaterialCcSgtKcfc" + }, + { + "abstract" : [ + { + "text" : "Returns the angle divided by a numeric denominator.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "\/" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" + } + ], + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/init(url:ignoringtransforms:materiallookup:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(url:ignoringTransforms:materialLookup:)", + "path" : "\/documentation\/euclid\/angle\/\/(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/\/(_:_:)", "taskGroups" : [ ], - "title" : "init(url:ignoringTransforms:materialLookup:)", - "usr" : "s:6Euclid4MeshV3url18ignoringTransforms14materialLookupAC10Foundation3URLV_Sbs11AnyHashableVSgSo11SCNMaterialCcSgtKcfc" + "title" : "\/(_:_:)", + "usr" : "s:6Euclid5AngleV1doiyA2C_SdtFZ" }, { + "abstract" : [ + { + "text" : "Rotate the value in place.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -30422,55 +30473,44 @@ }, { "kind" : "identifier", - "text" : "+=" - }, - { - "kind" : "text", - "text" : " " + "text" : "rotate" }, { "kind" : "text", "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/+=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+=(_:_:)", + "path" : "\/documentation\/euclid\/linesegment\/rotate(by:)-l48f", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotate(by:)-l48f", "taskGroups" : [ ], - "title" : "+=(_:_:)", - "usr" : "s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { "abstract" : [ { - "text" : "Closes the path by joining last point to first.", + "text" : "The angle of rotation around the Z-axis.", "type" : "text" } ], @@ -30480,7 +30520,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -30488,32 +30528,35 @@ }, { "kind" : "identifier", - "text" : "closed" + "text" : "roll" }, { "kind" : "text", - "text" : "() -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/closed()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/closed()", + "path" : "\/documentation\/euclid\/quaternion\/roll", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/roll", "taskGroups" : [ ], - "title" : "closed()", - "usr" : "s:6Euclid4PathV6closedACyF" + "title" : "roll", + "usr" : "s:6Euclid10QuaternionV4rollAA5AngleVvp" }, { "abstract" : [ { - "text" : "Returns the sum of two quaternion rotations.", + "text" : "Combines with the specified rotation.", "type" : "text" } ], @@ -30539,7 +30582,7 @@ }, { "kind" : "identifier", - "text" : "+" + "text" : "*=" }, { "kind" : "text", @@ -30550,46 +30593,46 @@ "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" + }, + { + "kind" : "text", + "text" : ")" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/+(_:_:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/+(_:_:)", + "path" : "\/documentation\/euclid\/rotation\/*=(_:_:)-68kkw", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*=(_:_:)-68kkw", "taskGroups" : [ ], - "title" : "+(_:_:)", - "usr" : "s:6Euclid10QuaternionV1poiyA2C_ACtFZ" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid8RotationV2meoiyyACz_ACtFZ" }, { "abstract" : [ { - "text" : "Creates a new angle by decoding from the given decoder.", + "text" : "Creates an array of contours by extruding one path along another path.", "type" : "text" } ], @@ -30599,7 +30642,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "extrusionContours" }, { "kind" : "text", @@ -30607,7 +30658,7 @@ }, { "kind" : "externalParam", - "text" : "from" + "text" : "along" }, { "kind" : "text", @@ -30615,58 +30666,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7DecoderP", - "text" : "Decoder" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" }, { "kind" : "text", - "text" : ") " + "text" : ", " }, { - "kind" : "keyword", - "text" : "throws" - } - ], - "kind" : "org.swift.docc.kind.initializer", - "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/init(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(from:)", - "taskGroups" : [ - - ], - "title" : "init(from:)", - "usr" : "s:6Euclid5AngleV4fromACs7Decoder_p_tKcfc" - }, - { - "abstract" : [ - { - "text" : "Encodes this bounds into the given encoder.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "func" + "kind" : "externalParam", + "text" : "twist" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "encode" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : "(" + "text" : ", " }, { "kind" : "externalParam", - "text" : "to" + "text" : "align" }, { "kind" : "text", @@ -30674,32 +30700,37 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7EncoderP", - "text" : "Encoder" + "preciseIdentifier" : "s:6Euclid4PathV9AlignmentO", + "text" : "Alignment" }, { "kind" : "text", - "text" : ") " + "text" : ") -> [" }, { - "kind" : "keyword", - "text" : "throws" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" + }, + { + "kind" : "text", + "text" : "]" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/encode(to:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/encode(to:)", + "path" : "\/documentation\/euclid\/path\/extrusioncontours(along:twist:align:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/extrusionContours(along:twist:align:)", "taskGroups" : [ ], - "title" : "encode(to:)", - "usr" : "s:6Euclid6BoundsV6encode2toys7Encoder_p_tKF" + "title" : "extrusionContours(along:twist:align:)", + "usr" : "s:6Euclid4PathV17extrusionContours5along5twist5alignSayACGAC_AA5AngleVAC9AlignmentOtF" }, { "abstract" : [ { - "text" : "Creates a copy of the vertex with the specified texture coordinate.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -30707,6 +30738,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -30717,50 +30756,63 @@ }, { "kind" : "identifier", - "text" : "withTexcoord" + "text" : "*=" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, + { + "kind" : "keyword", + "text" : "inout" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "Self" }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/withtexcoord(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withTexcoord(_:)", + "path" : "\/documentation\/euclid\/transformable\/*=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/*=(_:_:)", "taskGroups" : [ ], - "title" : "withTexcoord(_:)", - "usr" : "s:6Euclid6VertexV12withTexcoordyAcA6VectorVF" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ" }, { + "abstract" : [ + { + "text" : "Saves a mesh to a file, with optional material mapping.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -30771,24 +30823,24 @@ }, { "kind" : "identifier", - "text" : "xor" + "text" : "write" }, { "kind" : "text", - "text" : "<" + "text" : "(" }, { - "kind" : "genericParameter", - "text" : "T" + "kind" : "externalParam", + "text" : "to" }, { "kind" : "text", - "text" : ">(" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV3xor_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ1TL_xmfp", - "text" : "T" + "preciseIdentifier" : "s:10Foundation3URLV", + "text" : "URL" }, { "kind" : "text", @@ -30796,84 +30848,62 @@ }, { "kind" : "externalParam", - "text" : "isCancelled" + "text" : "materialLookup" }, { "kind" : "text", - "text" : ": " + "text" : ": ((" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:s11AnyHashableV", + "text" : "AnyHashable" + }, + { + "kind" : "text", + "text" : "?)?) " + }, + { + "kind" : "keyword", + "text" : "throws" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/xor(_:iscancelled:)-swift.type.method", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/xor(_:isCancelled:)-swift.type.method", + "path" : "\/documentation\/euclid\/mesh\/write(to:materiallookup:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/write(to:materialLookup:)", "taskGroups" : [ ], - "title" : "xor(_:isCancelled:)", - "usr" : "s:6Euclid4MeshV3xor_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ" + "title" : "write(to:materialLookup:)", + "usr" : "s:6Euclid4MeshV5write2to14materialLookupy10Foundation3URLV_s11AnyHashableVSgALcSgtKF" }, { "availableLanguages" : [ "swift" ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "let" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "white" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" - } - ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.collectionGroup", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/white", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/white", + "path" : "\/documentation\/euclid\/vertex\/decodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Decodable-Implementations", "taskGroups" : [ - + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(from:)" + ], + "title" : "Initializers" + } ], - "title" : "white", - "usr" : "s:6Euclid5ColorV5whiteACvpZ" + "title" : "Decodable Implementations" }, { "availableLanguages" : [ @@ -30898,7 +30928,7 @@ }, { "kind" : "identifier", - "text" : "..<" + "text" : "!=" }, { "kind" : "text", @@ -30914,40 +30944,36 @@ }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s16PartialRangeUpToV", - "text" : "PartialRangeUpTo" + "text" : "Self" }, { "kind" : "text", - "text" : "<" + "text" : ") -> " }, { "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ">" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/'.._(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/.._(_:)", + "path" : "\/documentation\/euclid\/angle\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/!=(_:_:)", "taskGroups" : [ ], - "title" : "..<(_:)", - "usr" : "s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:6Euclid5AngleV" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" }, { "abstract" : [ { - "text" : "Creates a bounds from a collection of bounds.", + "text" : "A finite line segment in 3D space.", "type" : "text" } ], @@ -30957,52 +30983,82 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "struct" }, { "kind" : "text", - "text" : "<" + "text" : " " }, { - "kind" : "genericParameter", - "text" : "T" + "kind" : "identifier", + "text" : "LineSegment" + } + ], + "kind" : "org.swift.docc.kind.structure", + "language" : "swift", + "path" : "\/documentation\/euclid\/linesegment", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(_:_:)" + ], + "title" : "Creating Line Segments" }, { - "kind" : "text", - "text" : ">(" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/start", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/end", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/length", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/direction" + ], + "title" : "Line Segment Properties" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsVyACxcSlRzAC7ElementRtzlufc1TL_xmfp", - "text" : "T" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/containsPoint(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersection(with:)-1tffl", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersection(with:)-2u7vo", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersects(_:)" + ], + "title" : "Comparing Line Segments" }, { - "kind" : "text", - "text" : ")" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-2lm8c", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-37r1v", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/translated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/transformed(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/inverted()" + ], + "title" : "Transforming Line Segments" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(start:end:)" + ], + "title" : "Initializers" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Bounded-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Comparable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Decodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Encodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Equatable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Transformable-Implementations" + ], + "title" : "Default Implementations" } ], - "kind" : "org.swift.docc.kind.initializer", - "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/init(_:)-r54o", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-r54o", - "taskGroups" : [ - - ], - "title" : "init(_:)", - "usr" : "s:6Euclid6BoundsVyACxcSlRzAC7ElementRtzlufc" + "title" : "LineSegment", + "usr" : "s:6Euclid11LineSegmentV" }, { "abstract" : [ { - "text" : "Returns whether the leftmost line segment has the lower value.", - "type" : "text" - }, - { - "text" : " ", - "type" : "text" - }, - { - "text" : "This provides a stable order when sorting collections of line segments.", + "text" : "Return a copy of the mesh without texture coordinates.", "type" : "text" } ], @@ -31010,14 +31066,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -31028,54 +31076,32 @@ }, { "kind" : "identifier", - "text" : "<" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" + "text" : "withoutTexcoords" }, { "kind" : "text", - "text" : ") -> " + "text" : "() -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/_(_:_:)-2si4j", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_(_:_:)-2si4j", + "path" : "\/documentation\/euclid\/mesh\/withouttexcoords()", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withoutTexcoords()", "taskGroups" : [ ], - "title" : "<(_:_:)", - "usr" : "s:6Euclid11LineSegmentV1loiySbAC_ACtFZ" + "title" : "withoutTexcoords()", + "usr" : "s:6Euclid4MeshV16withoutTexcoordsACyF" }, { "abstract" : [ { - "text" : "Reduces the bounds to contain just the intersection of itself and the specified bounds.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -31093,16 +31119,24 @@ }, { "kind" : "identifier", - "text" : "formIntersection" + "text" : "rotate" }, { "kind" : "text", "text" : "(" }, + { + "kind" : "externalParam", + "text" : "by" + }, + { + "kind" : "text", + "text" : ": " + }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", @@ -31111,38 +31145,44 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/formintersection(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/formIntersection(_:)", + "path" : "\/documentation\/euclid\/transformable\/rotate(by:)-1l9u5", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotate(by:)-1l9u5", "taskGroups" : [ ], - "title" : "formIntersection(_:)", - "usr" : "s:6Euclid6BoundsV16formIntersectionyyACF" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF" }, { + "abstract" : [ + { + "text" : "Scale the value in place.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "func" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "let" + "kind" : "identifier", + "text" : "scale" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "blue" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", @@ -31150,24 +31190,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/blue", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/blue", + "path" : "\/documentation\/euclid\/mesh\/scale(by:)-9pjki", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scale(by:)-9pjki", "taskGroups" : [ ], - "title" : "blue", - "usr" : "s:6Euclid5ColorV4blueACvpZ" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid4MeshV" }, { "abstract" : [ { - "text" : "Returns the product of an angle and numeric multiplier.", + "text" : "Creates a linear path from a line segment.", "type" : "text" } ], @@ -31193,11 +31237,7 @@ }, { "kind" : "identifier", - "text" : "*" - }, - { - "kind" : "text", - "text" : " " + "text" : "line" }, { "kind" : "text", @@ -31205,42 +31245,50 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" }, { "kind" : "text", "text" : ", " }, + { + "kind" : "externalParam", + "text" : "color" + }, + { + "kind" : "text", + "text" : ": " + }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/*(_:_:)-8l78z", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*(_:_:)-8l78z", + "path" : "\/documentation\/euclid\/path\/line(_:color:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/line(_:color:)", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid5AngleV1moiyA2C_SdtFZ" + "title" : "line(_:color:)", + "usr" : "s:6Euclid4PathV4line_5colorAcA11LineSegmentV_AA5ColorVSgtFZ" }, { "abstract" : [ { - "text" : "Creates a path point from a vertex.", + "text" : "The starting point of the line segment.", "type" : "text" } ], @@ -31250,31 +31298,35 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "let" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" + "kind" : "identifier", + "text" : "start" }, { "kind" : "text", - "text" : ")" + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/init(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(_:)", + "path" : "\/documentation\/euclid\/linesegment\/start", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/start", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid9PathPointVyAcA6VertexVcfc" + "title" : "start", + "usr" : "s:6Euclid11LineSegmentV5startAA6VectorVvp" }, { "availableLanguages" : [ @@ -31291,7 +31343,7 @@ }, { "kind" : "keyword", - "text" : "func" + "text" : "let" }, { "kind" : "text", @@ -31299,52 +31351,32 @@ }, { "kind" : "identifier", - "text" : ">=" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "text" : "blue" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/_=(_:_:)-9rm6o", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_=(_:_:)-9rm6o", + "path" : "\/documentation\/euclid\/color\/blue", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/blue", "taskGroups" : [ ], - "title" : ">=(_:_:)", - "usr" : "s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" + "title" : "blue", + "usr" : "s:6Euclid5ColorV4blueACvpZ" }, { "abstract" : [ { - "text" : "Create a mesh from an STL string.", + "text" : "The quaternion Y component.", "type" : "text" } ], @@ -31354,15 +31386,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "var" }, { "kind" : "text", - "text" : "?(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "stlString" + "kind" : "identifier", + "text" : "y" }, { "kind" : "text", @@ -31370,46 +31402,27 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:SS", - "text" : "String" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/init(stlstring:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(stlString:)", - "taskGroups" : [ + "path" : "\/documentation\/euclid\/quaternion\/y", + "platforms" : [ ], - "title" : "init(stlString:)", - "usr" : "s:6Euclid4MeshV9stlStringACSgSS_tcfc" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/encodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Encodable-Implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/y", "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/encode(to:)" - ], - "title" : "Instance Methods" - } + ], - "title" : "Encodable Implementations" + "title" : "y", + "usr" : "s:6Euclid10QuaternionV1ySdvp" }, { "abstract" : [ { - "text" : "Combines two rotations to get the cumulative rotation.", + "text" : "Returns a rotated copy of the value.", "type" : "text" } ], @@ -31417,14 +31430,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -31435,24 +31440,19 @@ }, { "kind" : "identifier", - "text" : "*" - }, - { - "kind" : "text", - "text" : " " + "text" : "rotated" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", @@ -31465,19 +31465,19 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/*(_:_:)-55zcf", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*(_:_:)-55zcf", + "path" : "\/documentation\/euclid\/mesh\/rotated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotated(by:)", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid8RotationV1moiyA2C_ACtFZ" + "title" : "rotated(by:)", + "usr" : "s:6Euclid4MeshV7rotated2byAcA8RotationV_tF" }, { "availableLanguages" : [ @@ -31485,22 +31485,22 @@ ], "kind" : "org.swift.docc.kind.collectionGroup", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/ioerror\/error-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/Error-Implementations", + "path" : "\/documentation\/euclid\/path\/encodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Encodable-Implementations", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/localizedDescription" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/encode(to:)" ], - "title" : "Instance Properties" + "title" : "Instance Methods" } ], - "title" : "Error Implementations" + "title" : "Encodable Implementations" }, { "abstract" : [ { - "text" : "Creates a conical mesh.", + "text" : "Returns a translated copy of the value.", "type" : "text" } ], @@ -31508,14 +31508,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -31526,7 +31518,7 @@ }, { "kind" : "identifier", - "text" : "cone" + "text" : "translated" }, { "kind" : "text", @@ -31534,143 +31526,7 @@ }, { "kind" : "externalParam", - "text" : "radius" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "height" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "slices" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "stacks" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "poleDetail" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" - }, - { - "kind" : "text", - "text" : "?, " - }, - { - "kind" : "externalParam", - "text" : "addDetailAtBottomPole" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "faces" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", - "text" : "Faces" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "wrapMode" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", - "text" : "WrapMode" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "material" + "text" : "by" }, { "kind" : "text", @@ -31678,54 +31534,30 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "?) -> " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/cone(radius:height:slices:stacks:poledetail:adddetailatbottompole:faces:wrapmode:material:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cone(radius:height:slices:stacks:poleDetail:addDetailAtBottomPole:faces:wrapMode:material:)", + "path" : "\/documentation\/euclid\/transform\/translated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/translated(by:)", "taskGroups" : [ ], - "title" : "cone(radius:height:slices:stacks:poleDetail:addDetailAtBottomPole:faces:wrapMode:material:)", - "usr" : "s:6Euclid4MeshV4cone6radius6height6slices6stacks10poleDetail03addI12AtBottomPole5faces8wrapMode8materialACSd_SdS3iSgSbAC5FacesOAC04WrapP0Os11AnyHashableVSgtFZ" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Equatable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/!=(_:_:)" - ], - "title" : "Operators" - } - ], - "title" : "Equatable Implementations" + "title" : "translated(by:)", + "usr" : "s:6Euclid9TransformV10translated2byAcA6VectorV_tF" }, { - "abstract" : [ - { - "text" : "A plane located at the origin, aligned with the Y and Z axes.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -31748,50 +31580,7 @@ }, { "kind" : "identifier", - "text" : "yz" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" - } - ], - "kind" : "org.swift.docc.kind.typeProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/yz", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/yz", - "taskGroups" : [ - - ], - "title" : "yz", - "usr" : "s:6Euclid5PlaneV2yzACvpZ" - }, - { - "abstract" : [ - { - "text" : "A Boolean value that indicates whether the polygon includes texture coordinates.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "var" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "hasTexcoords" + "text" : "black" }, { "kind" : "text", @@ -31799,24 +31588,42 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/hastexcoords", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasTexcoords", + "path" : "\/documentation\/euclid\/color\/black", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/black", "taskGroups" : [ ], - "title" : "hasTexcoords", - "usr" : "s:6Euclid7PolygonV12hasTexcoordsSbvp" + "title" : "black", + "usr" : "s:6Euclid5ColorV5blackACvpZ" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/line\/encodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Encodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/encode(to:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Encodable Implementations" }, { "abstract" : [ { - "text" : "Creates an angle representing the trigonometric arc tangent of the value you provide.", + "text" : "Creates an angle from a degrees value.", "type" : "text" } ], @@ -31842,7 +31649,7 @@ }, { "kind" : "identifier", - "text" : "atan" + "text" : "degrees" }, { "kind" : "text", @@ -31865,44 +31672,57 @@ ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/atan(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/atan(_:)", + "path" : "\/documentation\/euclid\/angle\/degrees(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/degrees(_:)", "taskGroups" : [ ], - "title" : "atan(_:)", - "usr" : "s:6Euclid5AngleV4atanyACSdFZ" + "title" : "degrees(_:)", + "usr" : "s:6Euclid5AngleV7degreesyACSdFZ" }, { + "abstract" : [ + { + "text" : "Creates a new vertex from a position with default values for normal, texcoord and color.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/comparable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Comparable-Implementations", - "taskGroups" : [ + "fragments" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:)-2uz97", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:)-732z3", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/.._(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/.._(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_(_:_:)-2si4j", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_(_:_:)-9688a", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_=(_:_:)-5dvuy", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_=(_:_:)-8q2nt" - ], - "title" : "Operators" + "kind" : "keyword", + "text" : "init" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ")" } ], - "title" : "Comparable Implementations" + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/vertex\/init(_:)-5517j", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:)-5517j", + "taskGroups" : [ + + ], + "title" : "init(_:)", + "usr" : "s:6Euclid6VertexVyAcA6VectorVcfc" }, { "abstract" : [ { - "text" : "Angle representing a half-rotation.", + "text" : "Encodes this quaternion into the given encoder.", "type" : "text" } ], @@ -31912,23 +31732,23 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "func" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "let" + "kind" : "identifier", + "text" : "encode" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "pi" + "kind" : "externalParam", + "text" : "to" }, { "kind" : "text", @@ -31936,19 +31756,30 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:s7EncoderP", + "text" : "Encoder" + }, + { + "kind" : "text", + "text" : ") " + }, + { + "kind" : "keyword", + "text" : "throws" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/pi", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/pi", + "path" : "\/documentation\/euclid\/quaternion\/encode(to:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/encode(to:)", "taskGroups" : [ ], - "title" : "pi", - "usr" : "s:6Euclid5AngleV2piACvpZ" + "title" : "encode(to:)", + "usr" : "s:6Euclid10QuaternionV6encode2toys7Encoder_p_tKF" }, { "availableLanguages" : [ @@ -31956,43 +31787,34 @@ ], "kind" : "org.swift.docc.kind.collectionGroup", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Equatable-Implementations", + "path" : "\/documentation\/euclid\/vertex\/transformable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Transformable-Implementations", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/!=(_:_:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/*(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/*=(_:_:)" ], "title" : "Operators" - } - ], - "title" : "Equatable Implementations" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/comparable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Comparable-Implementations", - "taskGroups" : [ + }, { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:)-3s6ak", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:)-7xdsm", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/.._(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/.._(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_(_:_:)-1aqv9", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_(_:_:)-filj", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_=(_:_:)-375to", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_=(_:_:)-9rm6o" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotate(by:)-1umln", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotate(by:)-622p8", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scale(by:)-1hyw0", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scale(by:)-6c0wl", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-1dtbr", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-20sq4", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/transform(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/transformed(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/translate(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/translated(by:)" ], - "title" : "Operators" + "title" : "Instance Methods" } ], - "title" : "Comparable Implementations" + "title" : "Transformable Implementations" }, { "availableLanguages" : [ @@ -32009,7 +31831,7 @@ }, { "kind" : "keyword", - "text" : "func" + "text" : "let" }, { "kind" : "text", @@ -32017,74 +31839,32 @@ }, { "kind" : "identifier", - "text" : "..<" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s16PartialRangeUpToV", - "text" : "PartialRangeUpTo" + "text" : "green" }, { "kind" : "text", - "text" : "<" + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ">" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/'.._(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/.._(_:)", + "path" : "\/documentation\/euclid\/color\/green", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/green", "taskGroups" : [ ], - "title" : "..<(_:)", - "usr" : "s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:6Euclid6VectorV" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/faces\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/Equatable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/!=(_:_:)" - ], - "title" : "Operators" - } - ], - "title" : "Equatable Implementations" + "title" : "green", + "usr" : "s:6Euclid5ColorV5greenACvpZ" }, { "abstract" : [ { - "text" : "Translate the value in place.", + "text" : "Creates a polygon from an array of vertices.", "type" : "text" } ], @@ -32094,23 +31874,24 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "?([" }, { - "kind" : "identifier", - "text" : "translate" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" }, { "kind" : "text", - "text" : "(" + "text" : "], " }, { "kind" : "externalParam", - "text" : "by" + "text" : "material" }, { "kind" : "text", @@ -32118,25 +31899,31 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : ")" + "text" : "?)" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/translate(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/translate(by:)", + "path" : "\/documentation\/euclid\/polygon\/init(_:material:)-9mns5", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(_:material:)-9mns5", "taskGroups" : [ ], - "title" : "translate(by:)", - "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid5PlaneV" + "title" : "init(_:material:)", + "usr" : "s:6Euclid7PolygonV_8materialACSgSayAA6VertexVG_s11AnyHashableVSgtcfc" }, { + "abstract" : [ + { + "text" : "Returns the componentwise sum of two vectors.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -32159,7 +31946,7 @@ }, { "kind" : "identifier", - "text" : "..<" + "text" : "+" }, { "kind" : "text", @@ -32171,41 +31958,45 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s16PartialRangeUpToV", - "text" : "PartialRangeUpTo" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "<" + "text" : ") -> " }, { "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ">" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/'.._(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/.._(_:)", + "path" : "\/documentation\/euclid\/vector\/+(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+(_:_:)", "taskGroups" : [ ], - "title" : "..<(_:)", - "usr" : "s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:6Euclid5PlaneV" + "title" : "+(_:_:)", + "usr" : "s:6Euclid6VectorV1poiyA2C_ACtFZ" }, { + "abstract" : [ + { + "text" : "Creates an array of glyph contours from a string and font you provide.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -32228,56 +32019,96 @@ }, { "kind" : "identifier", - "text" : "..." + "text" : "text" }, { "kind" : "text", - "text" : " " + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:SS", + "text" : "String" }, { "kind" : "text", - "text" : "(" + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "font" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "c:@T@CTFontRef", + "text" : "CTFont" }, { "kind" : "text", - "text" : ") -> " + "text" : "?, " + }, + { + "kind" : "externalParam", + "text" : "width" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s19PartialRangeThroughV", - "text" : "PartialRangeThrough" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : "<" + "text" : "?, " + }, + { + "kind" : "externalParam", + "text" : "detail" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : ">" + "text" : ") -> [" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" + }, + { + "kind" : "text", + "text" : "]" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/'...(_:)-732z3", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:)-732z3", + "path" : "\/documentation\/euclid\/path\/text(_:font:width:detail:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/text(_:font:width:detail:)", "taskGroups" : [ ], - "title" : "...(_:)", - "usr" : "s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : "text(_:font:width:detail:)", + "usr" : "s:6Euclid4PathV4text_4font5width6detailSayACGSS_So9CTFontRefaSgSdSgSitFZ" }, { "abstract" : [ { - "text" : "Encodes this line into the given encoder.", + "text" : "Returns a Boolean value that indicates if the bounds intersects the specified plane.", "type" : "text" } ], @@ -32295,66 +32126,84 @@ }, { "kind" : "identifier", - "text" : "encode" + "text" : "intersects" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "externalParam", - "text" : "to" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7EncoderP", - "text" : "Encoder" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" }, { "kind" : "text", - "text" : ") " + "text" : ") -> " }, { - "kind" : "keyword", - "text" : "throws" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/line\/encode(to:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/encode(to:)", + "path" : "\/documentation\/euclid\/bounds\/intersects(_:)-7br6p", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersects(_:)-7br6p", "taskGroups" : [ ], - "title" : "encode(to:)", - "usr" : "s:6Euclid4LineV6encode2toys7Encoder_p_tKF" + "title" : "intersects(_:)", + "usr" : "s:6Euclid6BoundsV10intersectsySbAA5PlaneVF" }, { + "abstract" : [ + { + "text" : "All vector components are zero (or close to zero) in length.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/color\/encodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/Encodable-Implementations", - "taskGroups" : [ + "fragments" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/encode(to:)" - ], - "title" : "Instance Methods" + "kind" : "keyword", + "text" : "var" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "isZero" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "title" : "Encodable Implementations" + "kind" : "org.swift.docc.kind.instanceProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/iszero", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isZero", + "taskGroups" : [ + + ], + "title" : "isZero", + "usr" : "s:6Euclid6VectorV6isZeroSbvp" }, { "abstract" : [ { - "text" : "The polygons that make up the mesh.", + "text" : "Returns a Boolean value that indicates whether the specified point lies on the line segment.", "type" : "text" } ], @@ -32364,7 +32213,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -32372,62 +32221,87 @@ }, { "kind" : "identifier", - "text" : "polygons" + "text" : "containsPoint" }, { "kind" : "text", - "text" : ": [" + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "]" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/polygons", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/polygons", + "path" : "\/documentation\/euclid\/linesegment\/containspoint(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/containsPoint(_:)", "taskGroups" : [ ], - "title" : "polygons", - "usr" : "s:6Euclid4MeshV8polygonsSayAA7PolygonVGvp" + "title" : "containsPoint(_:)", + "usr" : "s:6Euclid11LineSegmentV13containsPointySbAA6VectorVF" }, { + "abstract" : [ + { + "text" : "The quaternion W component.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], - "kind" : "org.swift.docc.kind.collectionGroup", + "fragments" : [ + { + "kind" : "keyword", + "text" : "var" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "w" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + } + ], + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/comparable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Comparable-Implementations", + "path" : "\/documentation\/euclid\/quaternion\/w", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/w", "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:)-14arr", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:)-8feph", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/.._(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/.._(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_(_:_:)-7i9lp", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_(_:_:)-9obdn", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_=(_:_:)-9s7pp", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_=(_:_:)-j6oq" - ], - "title" : "Operators" - } + ], - "title" : "Comparable Implementations" + "title" : "w", + "usr" : "s:6Euclid10QuaternionV1wSdvp" }, { "abstract" : [ { - "text" : "Returns the nearest point on the specified line to the vector (representing a position in space).", + "text" : "Returns a rotation divided by the specified value.", "type" : "text" } ], @@ -32435,6 +32309,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -32445,24 +32327,29 @@ }, { "kind" : "identifier", - "text" : "project" + "text" : "\/" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "onto" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4LineV", - "text" : "Line" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -32470,24 +32357,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/project(onto:)-rksk", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/project(onto:)-rksk", + "path" : "\/documentation\/euclid\/rotation\/\/(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/\/(_:_:)", "taskGroups" : [ ], - "title" : "project(onto:)", - "usr" : "s:6Euclid6VectorV7project4ontoAcA4LineV_tF" + "title" : "\/(_:_:)", + "usr" : "s:6Euclid8RotationV1doiyA2C_SdtFZ" }, { "abstract" : [ { - "text" : "Creates a rotation from a SceneKit quaternion.", + "text" : "Creates a quaternion from a rotation matrix.", "type" : "text" } ], @@ -32505,8 +32392,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@T@SCNQuaternion", - "text" : "SCNQuaternion" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", @@ -32515,18 +32402,29 @@ ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/init(_:)-68leo", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-68leo", + "path" : "\/documentation\/euclid\/quaternion\/init(_:)-7xa5o", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-7xa5o", "taskGroups" : [ ], "title" : "init(_:)", - "usr" : "s:6Euclid8RotationVyACSo10SCNVector4Vcfc" + "usr" : "s:6Euclid10QuaternionVyAcA8RotationVcfc" }, { "abstract" : [ { - "text" : "Rotate the value in place.", + "text" : "A vector of length ", + "type" : "text" + }, + { + "code" : "1", + "type" : "codeVoice" + }, + { + "text" : " along the Y axis.", "type" : "text" } ], @@ -32536,23 +32434,23 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "rotate" + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "identifier", + "text" : "unitY" }, { "kind" : "text", @@ -32560,28 +32458,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/rotate(by:)-3m9le", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotate(by:)-3m9le", + "path" : "\/documentation\/euclid\/vector\/unity", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitY", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid4PathV" + "title" : "unitY", + "usr" : "s:6Euclid6VectorV5unitYACvpZ" }, { "abstract" : [ { - "text" : "Creates a rotation from Euler angles applied in yaw\/pitch\/roll order.", + "text" : "Creates a quadratic bezier spline.", "type" : "text" } ], @@ -32591,49 +32485,40 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "yaw" + "text" : "static" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "pitch" + "kind" : "identifier", + "text" : "curve" }, { "kind" : "text", - "text" : ": " + "text" : "([" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" }, { "kind" : "text", - "text" : ", " + "text" : "], " }, { "kind" : "externalParam", - "text" : "roll" + "text" : "detail" }, { "kind" : "text", @@ -32641,31 +32526,30 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/init(yaw:pitch:roll:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(yaw:pitch:roll:)", + "path" : "\/documentation\/euclid\/path\/curve(_:detail:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/curve(_:detail:)", "taskGroups" : [ ], - "title" : "init(yaw:pitch:roll:)", - "usr" : "s:6Euclid8RotationV3yaw5pitch4rollAcA5AngleV_A2Htcfc" + "title" : "curve(_:detail:)", + "usr" : "s:6Euclid4PathV5curve_6detailACSayAA0B5PointVG_SitFZ" }, { - "abstract" : [ - { - "text" : "Multiplies the rotation angle by the specified value.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -32688,7 +32572,7 @@ }, { "kind" : "identifier", - "text" : "*=" + "text" : "..." }, { "kind" : "text", @@ -32699,46 +32583,45 @@ "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : " " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:s16PartialRangeFromV", + "text" : "PartialRangeFrom" }, { "kind" : "text", - "text" : ", " + "text" : "<" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "Self" }, { "kind" : "text", - "text" : ")" + "text" : ">" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/*=(_:_:)-7u9hf", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*=(_:_:)-7u9hf", + "path" : "\/documentation\/euclid\/angle\/'...(_:)-7xdsm", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/...(_:)-7xdsm", "taskGroups" : [ ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid8RotationV2meoiyyACz_SdtFZ" + "title" : "...(_:)", + "usr" : "s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:6Euclid5AngleV" }, { "abstract" : [ { - "text" : "Creates a new line by decoding from the given decoder.", + "text" : "Creates an angle representing the trigonometric arc tangent of the value you provide.", "type" : "text" } ], @@ -32748,48 +32631,57 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "from" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "identifier", + "text" : "atan" + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7DecoderP", - "text" : "Decoder" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ") " + "text" : ") -> " }, { - "kind" : "keyword", - "text" : "throws" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/line\/init(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(from:)", + "path" : "\/documentation\/euclid\/angle\/atan(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/atan(_:)", "taskGroups" : [ ], - "title" : "init(from:)", - "usr" : "s:6Euclid4LineV4fromACs7Decoder_p_tKcfc" + "title" : "atan(_:)", + "usr" : "s:6Euclid5AngleV4atanyACSdFZ" }, { "abstract" : [ { - "text" : "Creates an Angle from a degrees value.", + "text" : "Angle representing a zero (identity) rotation.", "type" : "text" } ], @@ -32799,39 +32691,43 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "degrees" + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "kind" : "identifier", + "text" : "zero" }, { "kind" : "text", - "text" : ")" + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/init(degrees:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(degrees:)", + "path" : "\/documentation\/euclid\/angle\/zero", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/zero", "taskGroups" : [ ], - "title" : "init(degrees:)", - "usr" : "s:6Euclid5AngleV7degreesACSd_tcfc" + "title" : "zero", + "usr" : "s:6Euclid5AngleV4zeroACvpZ" }, { "abstract" : [ @@ -32879,34 +32775,36 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/translated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/translated(by:)", + "path" : "\/documentation\/euclid\/vertex\/translated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/translated(by:)", "taskGroups" : [ ], "title" : "translated(by:)", - "usr" : "s:6Euclid6BoundsV10translated2byAcA6VectorV_tF" + "usr" : "s:6Euclid6VertexV10translated2byAcA6VectorV_tF" }, { - "abstract" : [ - { - "text" : "Callback used to cancel a long-running operation.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "typealias" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -32914,41 +32812,52 @@ }, { "kind" : "identifier", - "text" : "CancellationHandler" + "text" : ">" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.typeAlias", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/cancellationhandler", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/CancellationHandler", + "path" : "\/documentation\/euclid\/angle\/_(_:_:)-filj", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_(_:_:)-filj", "taskGroups" : [ ], - "title" : "Mesh.CancellationHandler", - "usr" : "s:6Euclid4MeshV19CancellationHandlera" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/encodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Encodable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/encode(to:)" - ], - "title" : "Instance Methods" - } - ], - "title" : "Encodable Implementations" + "title" : ">(_:_:)", + "usr" : "s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:6Euclid5AngleV" }, { "abstract" : [ { - "text" : "An array of the subpaths that make up the path.", + "text" : "Input\/output error.", "type" : "text" } ], @@ -32958,7 +32867,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "struct" }, { "kind" : "text", @@ -32966,54 +32875,35 @@ }, { "kind" : "identifier", - "text" : "subpaths" - }, - { - "kind" : "text", - "text" : ": [" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" - }, - { - "kind" : "text", - "text" : "]" + "text" : "IOError" } ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/path\/subpaths", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/subpaths", - "taskGroups" : [ - - ], - "title" : "subpaths", - "usr" : "s:6Euclid4PathV8subpathsSayACGvp" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", + "kind" : "org.swift.docc.kind.structure", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/hashable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Hashable-Implementations", + "path" : "\/documentation\/euclid\/mesh\/ioerror", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/hash(into:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorUserInfo" ], - "title" : "Instance Methods" + "title" : "Instance Properties" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/CustomNSError-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/Error-Implementations" + ], + "title" : "Default Implementations" } ], - "title" : "Hashable Implementations" + "title" : "Mesh.IOError", + "usr" : "s:6Euclid4MeshV7IOErrorV" }, { "abstract" : [ { - "text" : "Creates a new vertex.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -33023,326 +32913,192 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "func" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "identifier", + "text" : "rotate" }, { "kind" : "text", - "text" : "?, " + "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : "?, " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : "?)" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/init(_:_:_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:_:_:_:)", + "path" : "\/documentation\/euclid\/polygon\/rotate(by:)-7073s", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotate(by:)-7073s", "taskGroups" : [ ], - "title" : "init(_:_:_:_:)", - "usr" : "s:6Euclid6VertexVyAcA6VectorV_AESgAfA5ColorVSgtcfc" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid7PolygonV" }, { "abstract" : [ { - "text" : "A 3D surface made of polygons.", + "text" : "Encodes this bounds into the given encoder.", "type" : "text" } ], "availableLanguages" : [ "swift" ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "struct" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "Mesh" - } - ], - "kind" : "org.swift.docc.kind.structure", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/empty" - ], - "title" : "Default Meshes" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cone(radius:height:slices:stacks:poleDetail:addDetailAtBottomPole:faces:wrapMode:material:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cube(center:size:faces:wrapMode:material:)-8t5q8", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cube(center:size:faces:wrapMode:material:)-eado", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cylinder(radius:height:slices:poleDetail:faces:wrapMode:material:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/sphere(radius:slices:stacks:poleDetail:faces:wrapMode:material:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/icosahedron(radius:faces:wrapMode:material:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces" - ], - "title" : "Geometric Primitives" - }, + "fragments" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(submeshes:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:)-6c896", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/union(_:isCancelled:)-swift.method", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/union(_:isCancelled:)-swift.type.method", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersection(_:isCancelled:)-swift.method", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersection(_:isCancelled:)-swift.type.method", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/subtracting(_:isCancelled:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/difference(_:isCancelled:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/symmetricDifference(_:isCancelled:)-swift.method", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/symmetricDifference(_:isCancelled:)-swift.type.method", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stencil(_:isCancelled:)-swift.method", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stencil(_:isCancelled:)-swift.type.method", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/CancellationHandler" - ], - "title" : "Creating Meshes from Other Meshes" + "kind" : "keyword", + "text" : "func" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:)-8x4al" - ], - "title" : "Creating Meshes from Polygons" + "kind" : "text", + "text" : " " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-4hvi3", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/lathe(_:slices:poleDetail:addDetailForFlatPoles:faces:wrapMode:material:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:along:twist:align:faces:material:isCancelled:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:depth:twist:sections:faces:material:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:depth:twist:sections:faces:material:isCancelled:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/fill(_:faces:material:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/fill(_:faces:material:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/loft(_:faces:material:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:isCancelled:)-85o14", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:isCancelled:)-9mn9o" - ], - "title" : "Creating Meshes from Paths" + "kind" : "identifier", + "text" : "encode" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-6176", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-75on2", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-91swk", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-5ztum" - ], - "title" : "Creating Meshes from Vertices, Points or LineSegments" + "kind" : "text", + "text" : "(" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/text(_:font:width:depth:detail:material:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/text(_:width:depth:detail:material:)" - ], - "title" : "Creating Meshes from Text" + "kind" : "externalParam", + "text" : "to" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:material:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:ignoringTransforms:materialLookup:)" - ], - "title" : "Creating Meshes from SceneKit Models" + "kind" : "text", + "text" : ": " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(stlString:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(stlData:materialLookup:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(url:materialLookup:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(url:ignoringTransforms:materialLookup:)" - ], - "title" : "Importing Meshes" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s7EncoderP", + "text" : "Encoder" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/objString()", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stlString(name:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stlData(colorLookup:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/write(to:materialLookup:)" - ], - "title" : "Exporting Meshes" + "kind" : "text", + "text" : ") " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/polygons", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/materials", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/bounds", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasTexcoords", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasVertexColors", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/isWatertight", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/polygonsByMaterial", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/uniqueEdges" - ], - "title" : "Mesh Properties" - }, + "kind" : "keyword", + "text" : "throws" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/bounds\/encode(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/encode(to:)", + "taskGroups" : [ + + ], + "title" : "encode(to:)", + "usr" : "s:6Euclid6BoundsV6encode2toys7Encoder_p_tKF" + }, + { + "abstract" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/containsPoint(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/edges(intersecting:)" - ], - "title" : "Comparing Meshes" - }, + "text" : "Returns a vector with its components multiplied by the specified value.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-90bab", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-94kks", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/translated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/transformed(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/inverted()" - ], - "title" : "Transforming Meshes" + "kind" : "keyword", + "text" : "static" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/replacing(_:with:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withMaterial(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withoutTexcoords()", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withTextureTransform(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/sphereMapped()", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cylinderMapped()", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cubeMapped()" - ], - "title" : "Updating Materials and Texture Coordinates" + "kind" : "text", + "text" : " " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/merge(_:)-swift.method", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/merge(_:)-swift.type.method" - ], - "title" : "Merging Meshes" + "kind" : "keyword", + "text" : "func" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/clip(to:fill:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/split(along:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/submeshes" - ], - "title" : "Splitting Meshes" + "kind" : "text", + "text" : " " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/tessellate(maxSides:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/triangulate()", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/detessellate()", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/detriangulate()", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/makeWatertight()", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/smoothingNormals(forAnglesGreaterThan:)" - ], - "title" : "Adjusting Mesh Topology" + "kind" : "identifier", + "text" : "*" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError" - ], - "title" : "Structures" + "kind" : "text", + "text" : " " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materialLookup:)-3drza", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materialLookup:)-7p5hd", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materials:)-22brv", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materials:)-4k8gs", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(scnGeometry:materialLookup:)" - ], - "title" : "Initializers" + "kind" : "text", + "text" : "(" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasVertexNormals" - ], - "title" : "Instance Properties" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersect(_:isCancelled:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/smoothNormals(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/subtract(_:isCancelled:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/xor(_:isCancelled:)-swift.method" - ], - "title" : "Instance Methods" + "kind" : "text", + "text" : ", " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Alignment", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Material", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/MaterialProvider", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/RealityKitMaterialProvider", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/SCNMaterialProvider", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/STLColorProvider", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/STLMaterialProvider" - ], - "title" : "Type Aliases" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/fill(_:faces:material:isCancelled:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/xor(_:isCancelled:)-swift.type.method" - ], - "title" : "Type Methods" + "kind" : "text", + "text" : ") -> " }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Bounded-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Decodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Encodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Equatable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Transformable-Implementations" - ], - "title" : "Default Implementations" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "title" : "Mesh", - "usr" : "s:6Euclid4MeshV" + "kind" : "org.swift.docc.kind.operator", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/*(_:_:)-5mcy5", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-5mcy5", + "taskGroups" : [ + + ], + "title" : "*(_:_:)", + "usr" : "s:6Euclid6VectorV1moiyA2C_SdtFZ" }, { "abstract" : [ { - "text" : "Creates a new identity rotation.", + "text" : "A Boolean value that indicates whether the mesh is watertight, meaning that every edge is", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "attached to two polygons (or a multiple of two).", "type" : "text" } ], @@ -33352,27 +33108,40 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "var" }, { "kind" : "text", - "text" : "()" + "text" : " " + }, + { + "kind" : "identifier", + "text" : "isWatertight" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/init()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init()", + "path" : "\/documentation\/euclid\/mesh\/iswatertight", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/isWatertight", "taskGroups" : [ ], - "title" : "init()", - "usr" : "s:6Euclid8RotationVACycfc" + "title" : "isWatertight", + "usr" : "s:6Euclid4MeshV12isWatertightSbvp" }, { "abstract" : [ { - "text" : "An orientation or rotation in 3D space.", + "text" : "An infinite 2D plane in 3D space.", "type" : "text" } ], @@ -33390,123 +33159,90 @@ }, { "kind" : "identifier", - "text" : "Rotation" + "text" : "Plane" } ], "kind" : "org.swift.docc.kind.structure", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation", + "path" : "\/documentation\/euclid\/plane", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init()", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-5w6mn", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-68leo", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-7j4ql", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(axis:angle:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(pitch:yaw:roll:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(roll:yaw:pitch:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(yaw:pitch:roll:)" - ], - "title" : "Creating Rotations" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/identity" - ], - "title" : "Default Quaternions" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/pitch(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/roll(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/yaw(_:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(normal:pointOnPlane:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(points:)" ], - "title" : "Creating Rotations Around an Axis" + "title" : "Creating Planes" }, { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/pitch", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/roll", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/yaw", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/axis", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/angle", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/forward", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/right", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/up", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/isIdentity" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/xy", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/xz", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/yz" ], - "title" : "Rotation Properties" + "title" : "Default Planes" }, { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/slerp(_:_:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/normal", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/w" ], - "title" : "Interpolating Rotations" + "title" : "Plane Properties" }, { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/-(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*(_:_:)-55zcf", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*(_:_:)-5fe82", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*=(_:_:)-68kkw", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*=(_:_:)-7u9hf" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/containsPoint(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/distance(from:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-4v7tg", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-79olr" ], - "title" : "Operators" + "title" : "Comparing Planes" }, { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/\/(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/\/=(_:_:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/inverted()", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-29v7y", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-6axqe", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/translated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/transformed(by:)" ], - "title" : "Operators" + "title" : "Transforming Planes" }, { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-8izj" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-9o28g" ], - "title" : "Initializers" + "title" : "Instance Methods" }, { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Decodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Encodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Equatable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Hashable-Implementations" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Comparable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Decodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Encodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Equatable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Transformable-Implementations" ], "title" : "Default Implementations" } ], - "title" : "Rotation", - "usr" : "s:6Euclid8RotationV" + "title" : "Plane", + "usr" : "s:6Euclid5PlaneV" }, { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/decodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Decodable-Implementations", - "taskGroups" : [ + "abstract" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(from:)" - ], - "title" : "Initializers" + "text" : "Creates a copy of the polygon with the specified material.", + "type" : "text" } ], - "title" : "Decodable Implementations" - }, - { "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -33514,106 +33250,62 @@ }, { "kind" : "identifier", - "text" : "errorCode" + "text" : "withMaterial" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/ioerror\/errorcode", - "platforms" : [ - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "8.0", - "name" : "iOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "10.10", - "name" : "macOS", - "unavailable" : false + "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", + "text" : "Material" }, { - "beta" : false, - "deprecated" : false, - "introducedAt" : "9.0", - "name" : "tvOS", - "unavailable" : false + "kind" : "text", + "text" : "?) -> " }, { - "beta" : false, - "deprecated" : false, - "introducedAt" : "2.0", - "name" : "watchOS", - "unavailable" : false + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" } ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorCode", + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/polygon\/withmaterial(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/withMaterial(_:)", "taskGroups" : [ ], - "title" : "errorCode", - "usr" : "s:10Foundation13CustomNSErrorPAAE9errorCodeSivp::SYNTHESIZED::s:6Euclid4MeshV7IOErrorV" + "title" : "withMaterial(_:)", + "usr" : "s:6Euclid7PolygonV12withMaterialyACs11AnyHashableVSgF" }, { - "abstract" : [ - { - "text" : "Creates a vector from a CoreGraphics ", - "type" : "text" - }, - { - "code" : "CGPoint", - "type" : "codeVoice" - }, - { - "text" : ".", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@S@CGPoint", - "text" : "CGPoint" - }, - { - "kind" : "text", - "text" : ")" - } - ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.collectionGroup", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/init(_:)-4eop9", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-4eop9", + "path" : "\/documentation\/euclid\/path\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Equatable-Implementations", "taskGroups" : [ - + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/!=(_:_:)" + ], + "title" : "Operators" + } ], - "title" : "init(_:)", - "usr" : "s:6Euclid6VectorVyACSo7CGPointVcfc" + "title" : "Equatable Implementations" }, { + "abstract" : [ + { + "text" : "Returns a transformed copy of the value.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -33636,7 +33328,7 @@ }, { "kind" : "identifier", - "text" : "..<" + "text" : "*" }, { "kind" : "text", @@ -33652,47 +33344,45 @@ }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s16PartialRangeUpToV", - "text" : "PartialRangeUpTo" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : "<" + "text" : ") -> " }, { "kind" : "typeIdentifier", "text" : "Self" - }, - { - "kind" : "text", - "text" : ">" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/'.._(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/.._(_:)", + "path" : "\/documentation\/euclid\/linesegment\/*(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/*(_:_:)", "taskGroups" : [ ], - "title" : "..<(_:)", - "usr" : "s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : "*(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { - "abstract" : [ - { - "text" : "Returns a scaled copy of the value.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -33703,24 +33393,27 @@ }, { "kind" : "identifier", - "text" : "scaled" + "text" : "!=" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "Self" }, { "kind" : "text", @@ -33728,24 +33421,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/scaled(by:)-69m6m", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-69m6m", + "path" : "\/documentation\/euclid\/color\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/!=(_:_:)", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid7PolygonV6scaled2byACSd_tF" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid5ColorV" }, { "abstract" : [ { - "text" : "Rotate the value in place.", + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -33763,7 +33456,7 @@ }, { "kind" : "identifier", - "text" : "rotate" + "text" : "transformed" }, { "kind" : "text", @@ -33779,31 +33472,30 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/rotate(by:)-7y2vv", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotate(by:)-7y2vv", + "path" : "\/documentation\/euclid\/path\/transformed(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/transformed(by:)", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid4MeshV" + "title" : "transformed(by:)", + "usr" : "s:6Euclid4PathV11transformed2byAcA9TransformV_tF" }, { - "abstract" : [ - { - "text" : "Returns the difference between two quaternion rotations,.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -33826,7 +33518,7 @@ }, { "kind" : "identifier", - "text" : "-" + "text" : "!=" }, { "kind" : "text", @@ -33838,8 +33530,7 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "text" : "Self" }, { "kind" : "text", @@ -33847,8 +33538,7 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "text" : "Self" }, { "kind" : "text", @@ -33856,27 +33546,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/-(_:_:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-(_:_:)", + "path" : "\/documentation\/euclid\/line\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/!=(_:_:)", "taskGroups" : [ ], - "title" : "-(_:_:)", - "usr" : "s:6Euclid10QuaternionV1soiyA2C_ACtFZ" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid4LineV" }, { "abstract" : [ { - "text" : "Returns the perpendicular distance from another line to this one.", + "text" : "Creates a new angle by decoding from the given decoder.", "type" : "text" } ], @@ -33886,15 +33573,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "distance" + "text" : "init" }, { "kind" : "text", @@ -33910,33 +33589,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4LineV", - "text" : "Line" + "preciseIdentifier" : "s:s7DecoderP", + "text" : "Decoder" }, { "kind" : "text", - "text" : ") -> " + "text" : ") " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "kind" : "keyword", + "text" : "throws" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/line\/distance(from:)-77i61", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/distance(from:)-77i61", + "path" : "\/documentation\/euclid\/angle\/init(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/init(from:)", "taskGroups" : [ ], - "title" : "distance(from:)", - "usr" : "s:6Euclid4LineV8distance4fromSdAC_tF" + "title" : "init(from:)", + "usr" : "s:6Euclid5AngleV4fromACs7Decoder_p_tKcfc" }, { "abstract" : [ { - "text" : "Deprecated.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -33946,7 +33624,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "transform" }, { "kind" : "text", @@ -33954,50 +33640,33 @@ }, { "kind" : "externalParam", - "text" : "points" + "text" : "by" }, { "kind" : "text", - "text" : ": [" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : "])" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/init(points:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(points:)", + "path" : "\/documentation\/euclid\/bounds\/transform(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/transform(by:)", "taskGroups" : [ ], - "title" : "init(points:)", - "usr" : "s:6Euclid6BoundsV6pointsACSayAA6VectorVG_tcfc" + "title" : "transform(by:)", + "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid6BoundsV" }, { - "abstract" : [ - { - "text" : "A vector of length ", - "type" : "text" - }, - { - "code" : "1", - "type" : "codeVoice" - }, - { - "text" : " along the X axis.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -34012,7 +33681,7 @@ }, { "kind" : "keyword", - "text" : "let" + "text" : "func" }, { "kind" : "text", @@ -34020,50 +33689,166 @@ }, { "kind" : "identifier", - "text" : "unitX" + "text" : "..<" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s16PartialRangeUpToV", + "text" : "PartialRangeUpTo" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ">" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/unitx", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitX", + "path" : "\/documentation\/euclid\/plane\/'.._(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/.._(_:)", "taskGroups" : [ ], - "title" : "unitX", - "usr" : "s:6Euclid6VectorV5unitXACvpZ" + "title" : "..<(_:)", + "usr" : "s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:6Euclid5PlaneV" }, { + "abstract" : [ + { + "text" : "A vertex represents a corner of a ", + "type" : "text" + }, + { + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon", + "isActive" : true, + "type" : "reference" + }, + { + "text" : " or a point on the surface of a ", + "type" : "text" + }, + { + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh", + "isActive" : true, + "type" : "reference" + }, + { + "text" : ".", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], - "kind" : "org.swift.docc.kind.collectionGroup", + "fragments" : [ + { + "kind" : "keyword", + "text" : "struct" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "Vertex" + } + ], + "kind" : "org.swift.docc.kind.structure", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Equatable-Implementations", + "path" : "\/documentation\/euclid\/vertex", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/!=(_:_:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:_:_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:)-5517j", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(_:)-7go25" ], - "title" : "Operators" + "title" : "Creating Vertices" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/position", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/normal", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/texcoord", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/color" + ], + "title" : "Vertex Properties" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/inverted()", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-1dtbr", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-20sq4", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/translated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/transformed(by:)" + ], + "title" : "Transforming Vertices" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/lerp(_:_:)" + ], + "title" : "Interpolating Vertices" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/encode(to:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(from:)" + ], + "title" : "Encoding and Decoding Vertices" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withColor(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withNormal(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withPosition(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withTexcoord(_:)" + ], + "title" : "Instance Methods" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Decodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Encodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Equatable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Transformable-Implementations" + ], + "title" : "Default Implementations" } ], - "title" : "Equatable Implementations" + "title" : "Vertex", + "usr" : "s:6Euclid6VertexV" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Translate the value in place.", "type" : "text" } ], @@ -34081,7 +33866,7 @@ }, { "kind" : "identifier", - "text" : "transform" + "text" : "translate" }, { "kind" : "text", @@ -34097,8 +33882,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -34107,18 +33892,18 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/transform(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/transform(by:)", + "path" : "\/documentation\/euclid\/mesh\/translate(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/translate(by:)", "taskGroups" : [ ], - "title" : "transform(by:)", - "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : "translate(by:)", + "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid4MeshV" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "Returns the difference between two angles.", "type" : "text" } ], @@ -34126,6 +33911,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -34136,24 +33929,29 @@ }, { "kind" : "identifier", - "text" : "scaled" + "text" : "-" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", @@ -34161,24 +33959,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/scaled(by:)-6epo6", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-6epo6", + "path" : "\/documentation\/euclid\/angle\/-(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-(_:_:)", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid6BoundsV6scaled2byACSd_tF" + "title" : "-(_:_:)", + "usr" : "s:6Euclid5AngleV1soiyA2C_ACtFZ" }, { "abstract" : [ { - "text" : "Multiplies the components of the vector by the specified value.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -34186,14 +33984,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -34204,57 +33994,44 @@ }, { "kind" : "identifier", - "text" : "*=" - }, - { - "kind" : "text", - "text" : " " + "text" : "scale" }, { "kind" : "text", "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:6Euclid6VectorV", "text" : "Vector" }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/*=(_:_:)-9l46a", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*=(_:_:)-9l46a", + "path" : "\/documentation\/euclid\/plane\/scale(by:)-677dp", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scale(by:)-677dp", "taskGroups" : [ ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid6VectorV2meoiyyACz_SdtFZ" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid5PlaneV" }, { "abstract" : [ { - "text" : "Replace\/remove point color.", + "text" : "Encodes this vertex into the given encoder.", "type" : "text" } ], @@ -34272,41 +34049,76 @@ }, { "kind" : "identifier", - "text" : "withColor" + "text" : "encode" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "kind" : "externalParam", + "text" : "to" }, { "kind" : "text", - "text" : "?) -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" + "preciseIdentifier" : "s:s7EncoderP", + "text" : "Encoder" + }, + { + "kind" : "text", + "text" : ") " + }, + { + "kind" : "keyword", + "text" : "throws" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/withcolor(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/withColor(_:)", + "path" : "\/documentation\/euclid\/vertex\/encode(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/encode(to:)", "taskGroups" : [ ], - "title" : "withColor(_:)", - "usr" : "s:6Euclid9PathPointV9withColoryAcA0E0VSgF" + "title" : "encode(to:)", + "usr" : "s:6Euclid6VertexV6encode2toys7Encoder_p_tKF" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/additivearithmetic-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/AdditiveArithmetic-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+=(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-=(_:_:)" + ], + "title" : "Operators" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/zero" + ], + "title" : "Type Properties" + } + ], + "title" : "AdditiveArithmetic Implementations" }, { "abstract" : [ { - "text" : "Do not generate texture coordinates.", + "text" : "Returns a scaled copy of the value.", "type" : "text" } ], @@ -34315,32 +34127,58 @@ ], "fragments" : [ { - "kind" : "keyword", - "text" : "case" + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "scaled" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "none" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" } ], - "kind" : "org.swift.docc.kind.enumerationCase", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/wrapmode\/none", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/none", + "path" : "\/documentation\/euclid\/pathpoint\/scaled(by:)-7e3o7", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scaled(by:)-7e3o7", "taskGroups" : [ ], - "title" : "Mesh.WrapMode.none", - "usr" : "s:6Euclid4MeshV8WrapModeO4noneyA2EmF" + "title" : "scaled(by:)", + "usr" : "s:6Euclid9PathPointV6scaled2byACSd_tF" }, { "abstract" : [ { - "text" : "Computes the cross-product of this vector and another.", + "text" : "Translate the value in place.", "type" : "text" } ], @@ -34358,41 +34196,44 @@ }, { "kind" : "identifier", - "text" : "cross" + "text" : "translate" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:6Euclid6VectorV", "text" : "Vector" + }, + { + "kind" : "text", + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/cross(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/cross(_:)", + "path" : "\/documentation\/euclid\/transformable\/translate(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/translate(by:)", "taskGroups" : [ ], - "title" : "cross(_:)", - "usr" : "s:6Euclid6VectorV5crossyA2CF" + "title" : "translate(by:)", + "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF" }, { "abstract" : [ { - "text" : "Efficiently forms a union from multiple meshes.", + "text" : "Creates a transform from the current position, scale and orientation of a SceneKit node.", "type" : "text" } ], @@ -34418,32 +34259,15 @@ }, { "kind" : "identifier", - "text" : "union" - }, - { - "kind" : "text", - "text" : "<" - }, - { - "kind" : "genericParameter", - "text" : "T" - }, - { - "kind" : "text", - "text" : ">(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV5union_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ1TL_xmfp", - "text" : "T" + "text" : "transform" }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { "kind" : "externalParam", - "text" : "isCancelled" + "text" : "from" }, { "kind" : "text", @@ -34451,8 +34275,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" + "preciseIdentifier" : "c:objc(cs)SCNNode", + "text" : "SCNNode" }, { "kind" : "text", @@ -34460,24 +34284,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" } ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/union(_:iscancelled:)-swift.type.method", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/union(_:isCancelled:)-swift.type.method", + "path" : "\/documentation\/euclid\/transform\/transform(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transform(from:)", "taskGroups" : [ ], - "title" : "union(_:isCancelled:)", - "usr" : "s:6Euclid4MeshV5union_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ" + "title" : "transform(from:)", + "usr" : "s:6Euclid9TransformV9transform4fromACSo7SCNNodeC_tFZ" }, { "abstract" : [ { - "text" : "Efficiently XORs multiple meshes.", + "text" : "Creates a new mesh that is the combination of the polygons from all the specified meshes.", "type" : "text" } ], @@ -34503,7 +34327,7 @@ }, { "kind" : "identifier", - "text" : "symmetricDifference" + "text" : "merge" }, { "kind" : "text", @@ -34519,26 +34343,9 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19symmetricDifference_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ1TL_xmfp", + "preciseIdentifier" : "s:6Euclid4MeshV5mergeyACxSlRzAC7ElementRtzlFZ1TL_xmfp", "text" : "T" }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "isCancelled" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" - }, { "kind" : "text", "text" : ") -> " @@ -34551,26 +34358,18 @@ ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/symmetricdifference(_:iscancelled:)-swift.type.method", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/symmetricDifference(_:isCancelled:)-swift.type.method", + "path" : "\/documentation\/euclid\/mesh\/merge(_:)-swift.type.method", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/merge(_:)-swift.type.method", "taskGroups" : [ ], - "title" : "symmetricDifference(_:isCancelled:)", - "usr" : "s:6Euclid4MeshV19symmetricDifference_11isCancelledACx_SbyXEtSlRzAC7ElementRtzlFZ" + "title" : "merge(_:)", + "usr" : "s:6Euclid4MeshV5mergeyACxSlRzAC7ElementRtzlFZ" }, { "abstract" : [ { - "text" : "Creates a ", - "type" : "text" - }, - { - "code" : "Quaternion", - "type" : "codeVoice" - }, - { - "text" : " from a simd quaternion.", + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -34580,7 +34379,27 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "*" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", @@ -34588,31 +34407,40 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@SA@simd_quatf", - "text" : "simd_quatf" + "text" : "Self" }, { "kind" : "text", - "text" : ")" + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/init(_:)-99vxt", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-99vxt", + "path" : "\/documentation\/euclid\/mesh\/*(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/*(_:_:)", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid10QuaternionVyACSo10simd_quatfacfc" + "title" : "*(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid4MeshV" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "Returns a rotated copy of the value.", "type" : "text" } ], @@ -34630,7 +34458,7 @@ }, { "kind" : "identifier", - "text" : "scaled" + "text" : "rotated" }, { "kind" : "text", @@ -34646,8 +34474,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", @@ -34655,118 +34483,42 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/scaled(by:)-19jpq", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-19jpq", + "path" : "\/documentation\/euclid\/pathpoint\/rotated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotated(by:)", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid4PathV6scaled2byAcA6VectorV_tF" + "title" : "rotated(by:)", + "usr" : "s:6Euclid9PathPointV7rotated2byAcA8RotationV_tF" }, { - "abstract" : [ - { - "text" : "A combined rotation, position, and scale that can be applied to a 3D object.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "struct" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "Transform" - } - ], - "kind" : "org.swift.docc.kind.structure", + "kind" : "org.swift.docc.kind.collectionGroup", "language" : "swift", - "path" : "\/documentation\/euclid\/transform", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform", + "path" : "\/documentation\/euclid\/quaternion\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Equatable-Implementations", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(offset:rotation:scale:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/offset(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotation(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(_:)-55t4p", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale(_:)-7a30s", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transform(from:)" - ], - "title" : "Creating Transforms" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/identity" - ], - "title" : "Default Transforms" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotation", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scale", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/offset", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/isFlipped", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/isIdentity" - ], - "title" : "Transform properties" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-19ukh", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/scaled(by:)-9vwak", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/translated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/transformed(by:)" - ], - "title" : "Combining Transforms" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/*=(_:_:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/!=(_:_:)" ], "title" : "Operators" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-7hvb3", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-83oy3", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-cys2" - ], - "title" : "Initializers" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Decodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Encodable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Equatable-Implementations", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/Transformable-Implementations" - ], - "title" : "Default Implementations" } ], - "title" : "Transform", - "usr" : "s:6Euclid9TransformV" + "title" : "Equatable Implementations" }, { "abstract" : [ { - "text" : "The square of the length of the vector. This is less expensive to compute than the length itself.", + "text" : "Computes the dot-product of this vector and another.", "type" : "text" } ], @@ -34776,7 +34528,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -34784,11 +34536,20 @@ }, { "kind" : "identifier", - "text" : "lengthSquared" + "text" : "dot" }, { "kind" : "text", - "text" : ": " + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ") -> " }, { "kind" : "typeIdentifier", @@ -34796,23 +34557,17 @@ "text" : "Double" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/lengthsquared", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/lengthSquared", + "path" : "\/documentation\/euclid\/vector\/dot(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/dot(_:)", "taskGroups" : [ ], - "title" : "lengthSquared", - "usr" : "s:6Euclid6VectorV13lengthSquaredSdvp" + "title" : "dot(_:)", + "usr" : "s:6Euclid6VectorV3dotySdACF" }, { - "abstract" : [ - { - "text" : "Subtracts the quaternion rotation on the right from the one on the left.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -34835,7 +34590,7 @@ }, { "kind" : "identifier", - "text" : "-=" + "text" : "!=" }, { "kind" : "text", @@ -34846,49 +34601,41 @@ "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "text" : "Self" }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/-=(_:_:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-=(_:_:)", + "path" : "\/documentation\/euclid\/path\/alignment\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/!=(_:_:)", "taskGroups" : [ ], - "title" : "-=(_:_:)", - "usr" : "s:6Euclid10QuaternionV2seoiyyACz_ACtFZ" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid4PathV9AlignmentO" }, { "abstract" : [ { - "text" : "Rotate the value in place.", + "text" : "Creates an angle from a radians value.", "type" : "text" } ], @@ -34898,50 +34645,52 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "rotate" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "identifier", + "text" : "radians" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/rotate(by:)-93ypi", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotate(by:)-93ypi", + "path" : "\/documentation\/euclid\/angle\/radians(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/radians(_:)", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid4PathV" + "title" : "radians(_:)", + "usr" : "s:6Euclid5AngleV7radiansyACSdFZ" }, { "abstract" : [ @@ -34996,17 +34745,129 @@ "text" : ", " }, { - "kind" : "externalParam", - "text" : "faces" + "kind" : "externalParam", + "text" : "faces" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", + "text" : "Faces" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "wrapMode" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", + "text" : "WrapMode" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "material" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" + }, + { + "kind" : "text", + "text" : "?) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" + } + ], + "kind" : "org.swift.docc.kind.typeMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/icosahedron(radius:faces:wrapmode:material:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/icosahedron(radius:faces:wrapMode:material:)", + "taskGroups" : [ + + ], + "title" : "icosahedron(radius:faces:wrapMode:material:)", + "usr" : "s:6Euclid4MeshV11icosahedron6radius5faces8wrapMode8materialACSd_AC5FacesOAC04WrapG0Os11AnyHashableVSgtFZ" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/vertex\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Equatable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/!=(_:_:)" + ], + "title" : "Operators" + } + ], + "title" : "Equatable Implementations" + }, + { + "abstract" : [ + { + "text" : "Creates a curved path point at the specified position.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "curve" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", - "text" : "Faces" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -35014,7 +34875,7 @@ }, { "kind" : "externalParam", - "text" : "wrapMode" + "text" : "texcoord" }, { "kind" : "text", @@ -35022,16 +34883,16 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", - "text" : "WrapMode" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ", " + "text" : "?, " }, { "kind" : "externalParam", - "text" : "material" + "text" : "color" }, { "kind" : "text", @@ -35039,8 +34900,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", @@ -35048,33 +34909,31 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" } ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/icosahedron(radius:faces:wrapmode:material:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/icosahedron(radius:faces:wrapMode:material:)", + "path" : "\/documentation\/euclid\/pathpoint\/curve(_:texcoord:color:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curve(_:texcoord:color:)", "taskGroups" : [ ], - "title" : "icosahedron(radius:faces:wrapMode:material:)", - "usr" : "s:6Euclid4MeshV11icosahedron6radius5faces8wrapMode8materialACSd_AC5FacesOAC04WrapG0Os11AnyHashableVSgtFZ" + "title" : "curve(_:texcoord:color:)", + "usr" : "s:6Euclid9PathPointV5curve_8texcoord5colorAcA6VectorV_AHSgAA5ColorVSgtFZ" }, { + "abstract" : [ + { + "text" : "Returns a rotated copy of the bounds.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -35085,27 +34944,24 @@ }, { "kind" : "identifier", - "text" : ">=" - }, - { - "kind" : "text", - "text" : " " + "text" : "rotated" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", @@ -35113,24 +34969,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/_=(_:_:)-9s7pp", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_=(_:_:)-9s7pp", + "path" : "\/documentation\/euclid\/bounds\/rotated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotated(by:)", "taskGroups" : [ ], - "title" : ">=(_:_:)", - "usr" : "s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "rotated(by:)", + "usr" : "s:6Euclid6BoundsV7rotated2byAcA8RotationV_tF" }, { "abstract" : [ { - "text" : "Returns the point where the specified plane intersects the line segment.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -35148,7 +35004,7 @@ }, { "kind" : "identifier", - "text" : "intersection" + "text" : "rotate" }, { "kind" : "text", @@ -35156,7 +35012,7 @@ }, { "kind" : "externalParam", - "text" : "with" + "text" : "by" }, { "kind" : "text", @@ -35164,37 +35020,31 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", - "text" : "?" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/intersection(with:)-1tffl", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/intersection(with:)-1tffl", + "path" : "\/documentation\/euclid\/linesegment\/rotate(by:)-16elu", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotate(by:)-16elu", "taskGroups" : [ ], - "title" : "intersection(with:)", - "usr" : "s:6Euclid11LineSegmentV12intersection4withAA6VectorVSgAA5PlaneV_tF" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { "abstract" : [ { - "text" : "Return ASCII STL string data for the mesh.", + "text" : "Creates a color from a luminance value and optional alpha component.", "type" : "text" } ], @@ -35204,32 +35054,77 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "init" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/color\/init(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:_:)", + "taskGroups" : [ + + ], + "title" : "init(_:_:)", + "usr" : "s:6Euclid5ColorVyACSd_Sdtcfc" + }, + { + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "stlString" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "name" + "kind" : "identifier", + "text" : "+" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:SS", - "text" : "String" + "text" : "Self" }, { "kind" : "text", @@ -35237,24 +35132,23 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:SS", - "text" : "String" + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/stlstring(name:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stlString(name:)", + "path" : "\/documentation\/euclid\/vector\/+(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+(_:)", "taskGroups" : [ ], - "title" : "stlString(name:)", - "usr" : "s:6Euclid4MeshV9stlString4nameS2S_tF" + "title" : "+(_:)", + "usr" : "s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:6Euclid6VectorV" }, { "abstract" : [ { - "text" : "Creates a mesh by extruding one path along another path.", + "text" : "Creates an extruded text model from a string.", "type" : "text" } ], @@ -35280,7 +35174,7 @@ }, { "kind" : "identifier", - "text" : "extrude" + "text" : "text" }, { "kind" : "text", @@ -35288,8 +35182,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:SS", + "text" : "String" }, { "kind" : "text", @@ -35297,7 +35191,7 @@ }, { "kind" : "externalParam", - "text" : "along" + "text" : "font" }, { "kind" : "text", @@ -35305,16 +35199,16 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "c:@T@CTFontRef", + "text" : "CTFont" }, { "kind" : "text", - "text" : ", " + "text" : "?, " }, { "kind" : "externalParam", - "text" : "twist" + "text" : "width" }, { "kind" : "text", @@ -35322,16 +35216,16 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ", " + "text" : "?, " }, { "kind" : "externalParam", - "text" : "align" + "text" : "depth" }, { "kind" : "text", @@ -35339,8 +35233,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV9Alignmenta", - "text" : "Alignment" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -35348,7 +35242,7 @@ }, { "kind" : "externalParam", - "text" : "faces" + "text" : "detail" }, { "kind" : "text", @@ -35356,8 +35250,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", - "text" : "Faces" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", @@ -35378,24 +35272,7 @@ }, { "kind" : "text", - "text" : "?, " - }, - { - "kind" : "externalParam", - "text" : "isCancelled" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" - }, - { - "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", @@ -35405,44 +35282,18 @@ ], "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/extrude(_:along:twist:align:faces:material:iscancelled:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:along:twist:align:faces:material:isCancelled:)", + "path" : "\/documentation\/euclid\/mesh\/text(_:font:width:depth:detail:material:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/text(_:font:width:depth:detail:material:)", "taskGroups" : [ ], - "title" : "extrude(_:along:twist:align:faces:material:isCancelled:)", - "usr" : "s:6Euclid4MeshV7extrude_5along5twist5align5faces8material11isCancelledAcA4PathV_AlA5AngleVAL9AlignmentOAC5FacesOs11AnyHashableVSgSbyXEtFZ" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/comparable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Comparable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:)-49h2f", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:)-4yucl", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/.._(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/.._(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_(_:_:)-3fd8h", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_(_:_:)-6eeco", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_=(_:_:)-1oq2t", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_=(_:_:)-5nk27" - ], - "title" : "Operators" - } - ], - "title" : "Comparable Implementations" + "title" : "text(_:font:width:depth:detail:material:)", + "usr" : "s:6Euclid4MeshV4text_4font5width5depth6detail8materialACSS_So9CTFontRefaSgSdSgSdSis11AnyHashableVSgtFZ" }, { "abstract" : [ { - "text" : "Encodes this quaternion into the given encoder.", + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -35450,6 +35301,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -35460,51 +35319,52 @@ }, { "kind" : "identifier", - "text" : "encode" + "text" : "*" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "to" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7EncoderP", - "text" : "Encoder" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : ") " + "text" : ") -> " }, { - "kind" : "keyword", - "text" : "throws" + "kind" : "typeIdentifier", + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/encode(to:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/encode(to:)", + "path" : "\/documentation\/euclid\/pathpoint\/*(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/*(_:_:)", "taskGroups" : [ ], - "title" : "encode(to:)", - "usr" : "s:6Euclid10QuaternionV6encode2toys7Encoder_p_tKF" + "title" : "*(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid9PathPointV" }, { "abstract" : [ { - "text" : "Returns the perpendicular distance of the line from a specified point.", + "text" : "Protocol for transformable types.", "type" : "text" } ], @@ -35514,7 +35374,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "protocol" }, { "kind" : "text", @@ -35522,49 +35382,45 @@ }, { "kind" : "identifier", - "text" : "distance" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "from" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "Transformable" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.protocol", "language" : "swift", - "path" : "\/documentation\/euclid\/line\/distance(from:)-4o41", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/distance(from:)-4o41", + "path" : "\/documentation\/euclid\/transformable", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable", "taskGroups" : [ - + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/*(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/*=(_:_:)" + ], + "title" : "Operators" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotate(by:)-1l9u5", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotate(by:)-5a3iz", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotated(by:)-76uyz", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scale(by:)-89xwv", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scale(by:)-8ec9r", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scaled(by:)-3shbk", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scaled(by:)-5p6di", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transform(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transformed(by:)-9m686", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/translate(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/translated(by:)" + ], + "title" : "Instance Methods" + } ], - "title" : "distance(from:)", - "usr" : "s:6Euclid4LineV8distance4fromSdAA6VectorV_tF" + "title" : "Transformable", + "usr" : "s:6Euclid13TransformableP" }, { "abstract" : [ { - "text" : "Returns a rotated copy of the value.", + "text" : "A zero-length vector.", "type" : "text" } ], @@ -35574,23 +35430,23 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "rotated" + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "identifier", + "text" : "zero" }, { "kind" : "text", @@ -35598,35 +35454,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/transformable\/rotated(by:)-5mcqw", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotated(by:)-5mcqw", + "path" : "\/documentation\/euclid\/vector\/zero", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/zero", "taskGroups" : [ ], - "title" : "rotated(by:)", - "usr" : "s:6Euclid13TransformablePAAE7rotated2byxAA10QuaternionV_tF" + "title" : "zero", + "usr" : "s:6Euclid6VectorV4zeroACvpZ" }, { "abstract" : [ { - "text" : "Creates a path from an array of path points.", + "text" : "Returns a vector with its components divided by the specified value.", "type" : "text" } ], @@ -35636,36 +35481,70 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" }, { "kind" : "text", - "text" : "([" + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "\/" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "])" + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/init(_:)-4jhkw", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-4jhkw", + "path" : "\/documentation\/euclid\/vector\/\/(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/\/(_:_:)", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid4PathVyACSayAA0B5PointVGcfc" + "title" : "\/(_:_:)", + "usr" : "s:6Euclid6VectorV1doiyA2C_SdtFZ" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the value.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -35683,7 +35562,7 @@ }, { "kind" : "identifier", - "text" : "transformed" + "text" : "transform" }, { "kind" : "text", @@ -35704,27 +35583,23 @@ }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/transformed(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/transformed(by:)", + "path" : "\/documentation\/euclid\/vertex\/transform(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/transform(by:)", "taskGroups" : [ ], - "title" : "transformed(by:)", - "usr" : "s:6Euclid13TransformablePAAE11transformed2byxAA9TransformV_tF::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "transform(by:)", + "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid6VertexV" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "Encodes this mesh into the given encoder.", "type" : "text" } ], @@ -35742,7 +35617,7 @@ }, { "kind" : "identifier", - "text" : "scaled" + "text" : "encode" }, { "kind" : "text", @@ -35750,7 +35625,7 @@ }, { "kind" : "externalParam", - "text" : "by" + "text" : "to" }, { "kind" : "text", @@ -35758,33 +35633,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:s7EncoderP", + "text" : "Encoder" }, { "kind" : "text", - "text" : ") -> " + "text" : ") " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "kind" : "keyword", + "text" : "throws" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/scaled(by:)-84xdd", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-84xdd", + "path" : "\/documentation\/euclid\/mesh\/encode(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/encode(to:)", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid4PathV6scaled2byACSd_tF" + "title" : "encode(to:)", + "usr" : "s:6Euclid4MeshV6encode2toys7Encoder_p_tKF" }, { "abstract" : [ { - "text" : "The size of the bounds. The minimum returned size is zero, even if max < min.", + "text" : "Computes the trigonometric sine of an angle.", "type" : "text" } ], @@ -35794,7 +35668,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -35802,32 +35676,41 @@ }, { "kind" : "identifier", - "text" : "size" + "text" : "sin" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.function", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/size", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/size", + "path" : "\/documentation\/euclid\/sin(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/sin(_:)", "taskGroups" : [ ], - "title" : "size", - "usr" : "s:6Euclid6BoundsV4sizeAA6VectorVvp" + "title" : "sin(_:)", + "usr" : "s:6Euclid3sinySdAA5AngleVF" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "Creates a new rotation by decoding from the given decoder.", "type" : "text" } ], @@ -35837,15 +35720,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "scaled" + "text" : "init" }, { "kind" : "text", @@ -35853,7 +35728,7 @@ }, { "kind" : "externalParam", - "text" : "by" + "text" : "from" }, { "kind" : "text", @@ -35861,33 +35736,40 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:s7DecoderP", + "text" : "Decoder" }, { "kind" : "text", - "text" : ") -> " + "text" : ") " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "kind" : "keyword", + "text" : "throws" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/scaled(by:)-94kks", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-94kks", + "path" : "\/documentation\/euclid\/rotation\/init(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(from:)", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid4MeshV6scaled2byACSd_tF" + "title" : "init(from:)", + "usr" : "s:6Euclid8RotationV4fromACs7Decoder_p_tKcfc" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the value.", + "text" : "Returns a new mesh that retains the shape of the receiver, but with", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "the intersecting area colored using material from the parameter.", "type" : "text" } ], @@ -35905,15 +35787,24 @@ }, { "kind" : "identifier", - "text" : "transformed" + "text" : "stencil" }, { "kind" : "text", "text" : "(" }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" + }, + { + "kind" : "text", + "text" : ", " + }, { "kind" : "externalParam", - "text" : "by" + "text" : "isCancelled" }, { "kind" : "text", @@ -35921,8 +35812,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" }, { "kind" : "text", @@ -35930,23 +35821,24 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/transformed(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/transformed(by:)", + "path" : "\/documentation\/euclid\/mesh\/stencil(_:iscancelled:)-swift.method", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stencil(_:isCancelled:)-swift.method", "taskGroups" : [ ], - "title" : "transformed(by:)", - "usr" : "s:6Euclid13TransformablePAAE11transformed2byxAA9TransformV_tF::SYNTHESIZED::s:6Euclid6VertexV" + "title" : "stencil(_:isCancelled:)", + "usr" : "s:6Euclid4MeshV7stencil_11isCancelledA2C_SbyXEtF" }, { "abstract" : [ { - "text" : "Alignment mode to use when extruding along a path.", + "text" : "The texture wrapping mode to use when generating a mesh.", "type" : "text" } ], @@ -35956,7 +35848,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "typealias" + "text" : "enum" }, { "kind" : "text", @@ -35964,61 +35856,49 @@ }, { "kind" : "identifier", - "text" : "Alignment" + "text" : "WrapMode" } ], - "kind" : "org.swift.docc.kind.typeAlias", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/alignment", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Alignment", - "taskGroups" : [ - - ], - "title" : "Mesh.Alignment", - "usr" : "s:6Euclid4MeshV9Alignmenta" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", + "kind" : "org.swift.docc.kind.enumeration", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/additivearithmetic-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/AdditiveArithmetic-Implementations", + "path" : "\/documentation\/euclid\/mesh\/wrapmode", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+(_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+=(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-=(_:_:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/default", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/none", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/shrink", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/tube" ], - "title" : "Operators" + "title" : "Enumeration Cases" }, { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/zero" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/Equatable-Implementations" ], - "title" : "Type Properties" + "title" : "Default Implementations" } ], - "title" : "AdditiveArithmetic Implementations" + "title" : "Mesh.WrapMode", + "usr" : "s:6Euclid4MeshV8WrapModeO" }, { - "abstract" : [ - { - "text" : "A closure that maps a Euclid material to an STL facet color.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "typealias" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", @@ -36026,41 +35906,32 @@ }, { "kind" : "identifier", - "text" : "STLColorProvider" + "text" : "yellow" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" } ], - "kind" : "org.swift.docc.kind.typeAlias", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/stlcolorprovider", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/STLColorProvider", + "path" : "\/documentation\/euclid\/color\/yellow", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/yellow", "taskGroups" : [ ], - "title" : "Mesh.STLColorProvider", - "usr" : "s:6Euclid4MeshV16STLColorProvidera" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/path\/decodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Decodable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(from:)" - ], - "title" : "Initializers" - } - ], - "title" : "Decodable Implementations" + "title" : "yellow", + "usr" : "s:6Euclid5ColorV6yellowACvpZ" }, { "abstract" : [ { - "text" : "Computes the convex hull of a set of path points.", + "text" : "Encodes the vector into the given encoder.", "type" : "text" } ], @@ -36068,14 +35939,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -36086,40 +35949,15 @@ }, { "kind" : "identifier", - "text" : "convexHull" - }, - { - "kind" : "text", - "text" : "<" - }, - { - "kind" : "genericParameter", - "text" : "T" - }, - { - "kind" : "text", - "text" : ">(" - }, - { - "kind" : "externalParam", - "text" : "of" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA9PathPointV7ElementRtzlFZ1TL_xmfp", - "text" : "T" + "text" : "encode" }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { "kind" : "externalParam", - "text" : "material" + "text" : "to" }, { "kind" : "text", @@ -36127,51 +35965,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:s7EncoderP", + "text" : "Encoder" }, { "kind" : "text", - "text" : "?) -> " + "text" : ") " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "kind" : "keyword", + "text" : "throws" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/convexhull(of:material:)-5ztum", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-5ztum", + "path" : "\/documentation\/euclid\/vector\/encode(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/encode(to:)", "taskGroups" : [ ], - "title" : "convexHull(of:material:)", - "usr" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA9PathPointV7ElementRtzlFZ" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/encodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Encodable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/encode(to:)" - ], - "title" : "Instance Methods" - } - ], - "title" : "Encodable Implementations" + "title" : "encode(to:)", + "usr" : "s:6Euclid6VectorV6encode2toys7Encoder_p_tKF" }, { "abstract" : [ { - "text" : "Creates a color from an array of component values.", + "text" : "Creates a rotation transform.", "type" : "text" } ], @@ -36181,36 +36000,65 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" }, { "kind" : "text", - "text" : "?([" + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "rotation" + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : "])" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/init(_:)-53lhy", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:)-53lhy", + "path" : "\/documentation\/euclid\/transform\/rotation(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotation(_:)", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid5ColorVyACSgSaySdGcfc" + "title" : "rotation(_:)", + "usr" : "s:6Euclid9TransformV8rotationyAcA8RotationVFZ" }, { "abstract" : [ { - "text" : "Returns a rotation multiplied by the specified value.", + "text" : "Returns whether the leftmost vector has the lower value.", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "This provides a stable order when sorting collections of vectors.", "type" : "text" } ], @@ -36236,7 +36084,7 @@ }, { "kind" : "identifier", - "text" : "*" + "text" : "<" }, { "kind" : "text", @@ -36248,8 +36096,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -36257,8 +36105,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -36266,24 +36114,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/*(_:_:)-5fe82", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*(_:_:)-5fe82", + "path" : "\/documentation\/euclid\/vector\/_(_:_:)-9obdn", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/_(_:_:)-9obdn", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid8RotationV1moiyA2C_SdtFZ" + "title" : "<(_:_:)", + "usr" : "s:6Euclid6VectorV1loiySbAC_ACtFZ" }, { "abstract" : [ { - "text" : "Creates a new rotation by decoding from the given decoder.", + "text" : "Angle representing a half-rotation.", "type" : "text" } ], @@ -36293,58 +36141,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "from" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7DecoderP", - "text" : "Decoder" + "text" : "static" }, { "kind" : "text", - "text" : ") " + "text" : " " }, { "kind" : "keyword", - "text" : "throws" - } - ], - "kind" : "org.swift.docc.kind.initializer", - "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/init(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(from:)", - "taskGroups" : [ - - ], - "title" : "init(from:)", - "usr" : "s:6Euclid8RotationV4fromACs7Decoder_p_tKcfc" - }, - { - "abstract" : [ - { - "text" : "Returns the normalized quaternion.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "func" + "text" : "let" }, { "kind" : "text", @@ -36352,35 +36157,32 @@ }, { "kind" : "identifier", - "text" : "normalized" + "text" : "pi" }, { "kind" : "text", - "text" : "() -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/normalized()", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/normalized()", + "path" : "\/documentation\/euclid\/angle\/pi", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/pi", "taskGroups" : [ ], - "title" : "normalized()", - "usr" : "s:6Euclid10QuaternionV10normalizedACyF" + "title" : "pi", + "usr" : "s:6Euclid5AngleV2piACvpZ" }, { "abstract" : [ { - "text" : "Creates a new bounds representing the intersection between the specified bounds and this one.", + "text" : "Return a copy of the mesh with transformed texture coordinates.", "type" : "text" } ], @@ -36398,7 +36200,7 @@ }, { "kind" : "identifier", - "text" : "intersection" + "text" : "withTextureTransform" }, { "kind" : "text", @@ -36406,8 +36208,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", @@ -36415,24 +36217,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/intersection(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/intersection(_:)", + "path" : "\/documentation\/euclid\/mesh\/withtexturetransform(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withTextureTransform(_:)", "taskGroups" : [ ], - "title" : "intersection(_:)", - "usr" : "s:6Euclid6BoundsV12intersectionyA2CF" + "title" : "withTextureTransform(_:)", + "usr" : "s:6Euclid4MeshV20withTextureTransformyAcA0E0VF" }, { "abstract" : [ { - "text" : "The angle in radians.", + "text" : "Does the transform apply a mirror operation (negative scale)?", "type" : "text" } ], @@ -36450,7 +36252,7 @@ }, { "kind" : "identifier", - "text" : "radians" + "text" : "isFlipped" }, { "kind" : "text", @@ -36458,42 +36260,43 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/radians", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/radians", + "path" : "\/documentation\/euclid\/transform\/isflipped", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/isFlipped", "taskGroups" : [ ], - "title" : "radians", - "usr" : "s:6Euclid5AngleV7radiansSdvp" + "title" : "isFlipped", + "usr" : "s:6Euclid9TransformV9isFlippedSbvp" }, { + "abstract" : [ + { + "text" : "Define 3D objects by constructing meshes.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], - "kind" : "org.swift.docc.kind.collectionGroup", + "kind" : "org.swift.docc.kind.article", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/decodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Decodable-Implementations", + "path" : "\/documentation\/euclid\/constructingmeshes", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/ConstructingMeshes", "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(from:)" - ], - "title" : "Initializers" - } + ], - "title" : "Decodable Implementations" + "title" : "Constructing Meshes" }, { "abstract" : [ { - "text" : "Computes the convex hull of a set of points.", + "text" : "Returns a scaled copy of the value.", "type" : "text" } ], @@ -36502,49 +36305,79 @@ ], "fragments" : [ { - "kind" : "keyword", - "text" : "static" + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "scaled" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "keyword", - "text" : "func" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "convexHull" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "<" + "text" : ") -> " }, { - "kind" : "genericParameter", - "text" : "T" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" + } + ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/vertex\/scaled(by:)-20sq4", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/scaled(by:)-20sq4", + "taskGroups" : [ + + ], + "title" : "scaled(by:)", + "usr" : "s:6Euclid6VertexV6scaled2byAcA6VectorV_tF" + }, + { + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ">(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "of" + "kind" : "identifier", + "text" : "xor" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA6VectorV7ElementRtzlFZ1TL_xmfp", - "text" : "T" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" }, { "kind" : "text", @@ -36552,7 +36385,7 @@ }, { "kind" : "externalParam", - "text" : "material" + "text" : "isCancelled" }, { "kind" : "text", @@ -36560,12 +36393,12 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" }, { "kind" : "text", - "text" : "?) -> " + "text" : ") -> " }, { "kind" : "typeIdentifier", @@ -36573,20 +36406,23 @@ "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/convexhull(of:material:)-6176", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-6176", + "path" : "\/documentation\/euclid\/mesh\/xor(_:iscancelled:)-swift.method", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/xor(_:isCancelled:)-swift.method", "taskGroups" : [ ], - "title" : "convexHull(of:material:)", - "usr" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA6VectorV7ElementRtzlFZ" + "title" : "xor(_:isCancelled:)", + "usr" : "s:6Euclid4MeshV3xor_11isCancelledA2C_SbyXEtF" }, { "abstract" : [ { - "text" : "Creates a new polygon by decoding from the given decoder.", + "text" : "Creates an extruded text model from an attributed string", "type" : "text" } ], @@ -36596,15 +36432,40 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "text" }, { "kind" : "text", "text" : "(" }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)NSAttributedString", + "text" : "NSAttributedString" + }, + { + "kind" : "text", + "text" : ", " + }, { "kind" : "externalParam", - "text" : "from" + "text" : "width" }, { "kind" : "text", @@ -36612,50 +36473,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7DecoderP", - "text" : "Decoder" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ") " + "text" : "?, " }, { - "kind" : "keyword", - "text" : "throws" - } - ], - "kind" : "org.swift.docc.kind.initializer", - "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/init(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(from:)", - "taskGroups" : [ - - ], - "title" : "init(from:)", - "usr" : "s:6Euclid7PolygonV4fromACs7Decoder_p_tKcfc" - }, - { - "abstract" : [ + "kind" : "externalParam", + "text" : "depth" + }, { - "text" : "All vector components are one (or close to one) in length.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "text", + "text" : ": " + }, { - "kind" : "keyword", - "text" : "var" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "identifier", - "text" : "isOne" + "kind" : "externalParam", + "text" : "detail" }, { "kind" : "text", @@ -36663,42 +36507,16 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/isone", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isOne", - "taskGroups" : [ - - ], - "title" : "isOne", - "usr" : "s:6Euclid6VectorV5isOneSbvp" - }, - { - "abstract" : [ - { - "text" : "Creates a new vector by decoding from the given decoder.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "init" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : "(" + "text" : ", " }, { "kind" : "externalParam", - "text" : "from" + "text" : "material" }, { "kind" : "text", @@ -36706,51 +36524,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7DecoderP", - "text" : "Decoder" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : ") " + "text" : "?) -> " }, { - "kind" : "keyword", - "text" : "throws" - } - ], - "kind" : "org.swift.docc.kind.initializer", - "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/init(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(from:)", - "taskGroups" : [ - - ], - "title" : "init(from:)", - "usr" : "s:6Euclid6BoundsV4fromACs7Decoder_p_tKcfc" - }, - { - "abstract" : [ - { - "text" : "Define 3D objects by constructing meshes.", - "type" : "text" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.article", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/constructingmeshes", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/ConstructingMeshes", + "path" : "\/documentation\/euclid\/mesh\/text(_:width:depth:detail:material:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/text(_:width:depth:detail:material:)", "taskGroups" : [ ], - "title" : "Constructing Meshes" + "title" : "text(_:width:depth:detail:material:)", + "usr" : "s:6Euclid4MeshV4text_5width5depth6detail8materialACSo18NSAttributedStringC_SdSgSdSis11AnyHashableVSgtFZ" }, { "abstract" : [ { - "text" : "Returns the nearest point on the specified plane to the vector (representing a position in space).", + "text" : "Returns a scaled copy of the value.", "type" : "text" } ], @@ -36768,7 +36568,7 @@ }, { "kind" : "identifier", - "text" : "project" + "text" : "scaled" }, { "kind" : "text", @@ -36776,7 +36576,7 @@ }, { "kind" : "externalParam", - "text" : "onto" + "text" : "by" }, { "kind" : "text", @@ -36784,8 +36584,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -36793,32 +36593,59 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/project(onto:)-817o2", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/project(onto:)-817o2", + "path" : "\/documentation\/euclid\/polygon\/scaled(by:)-69m6m", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-69m6m", "taskGroups" : [ ], - "title" : "project(onto:)", - "usr" : "s:6Euclid6VectorV7project4ontoAcA5PlaneV_tF" + "title" : "scaled(by:)", + "usr" : "s:6Euclid7PolygonV6scaled2byACSd_tF" }, { - "abstract" : [ + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/transformable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Transformable-Implementations", + "taskGroups" : [ { - "text" : "A vector of length ", - "type" : "text" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-98mbu", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*=(_:_:)-3ur4e" + ], + "title" : "Operators" }, { - "code" : "1", - "type" : "codeVoice" - }, + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotate(by:)-3ed6z", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotate(by:)-hj8h", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scale(by:)-55ayx", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scale(by:)-8g7t0", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-350oy", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-356zr", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/transform(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/transformed(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/translate(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/translated(by:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Transformable Implementations" + }, + { + "abstract" : [ { - "text" : " along the Z axis.", + "text" : "A plane located at the origin, aligned with the Y and Z axes.", "type" : "text" } ], @@ -36844,7 +36671,7 @@ }, { "kind" : "identifier", - "text" : "unitZ" + "text" : "yz" }, { "kind" : "text", @@ -36852,24 +36679,59 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" } ], "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/unitz", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitZ", + "path" : "\/documentation\/euclid\/plane\/yz", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/yz", "taskGroups" : [ ], - "title" : "unitZ", - "usr" : "s:6Euclid6VectorV5unitZACvpZ" + "title" : "yz", + "usr" : "s:6Euclid5PlaneV2yzACvpZ" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/polygon\/transformable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Transformable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/*(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/*=(_:_:)" + ], + "title" : "Operators" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotate(by:)-7073s", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotate(by:)-8lp0l", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scale(by:)-2pycj", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scale(by:)-3en6y", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-69m6m", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-8sjrv", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/transform(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/transformed(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/translate(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/translated(by:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Transformable Implementations" }, { "abstract" : [ { - "text" : "The identity transform (i.e. no transform).", + "text" : "Encodes this rotation into the given encoder.", "type" : "text" } ], @@ -36879,23 +36741,23 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "func" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "let" + "kind" : "identifier", + "text" : "encode" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "identity" + "kind" : "externalParam", + "text" : "to" }, { "kind" : "text", @@ -36903,19 +36765,27 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:s7EncoderP", + "text" : "Encoder" + }, + { + "kind" : "text", + "text" : ") " + }, + { + "kind" : "keyword", + "text" : "throws" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/identity", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/identity", + "path" : "\/documentation\/euclid\/rotation\/encode(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/encode(to:)", "taskGroups" : [ ], - "title" : "identity", - "usr" : "s:6Euclid9TransformV8identityACvpZ" + "title" : "encode(to:)", + "usr" : "s:6Euclid8RotationV6encode2toys7Encoder_p_tKF" }, { "availableLanguages" : [ @@ -36923,40 +36793,32 @@ ], "kind" : "org.swift.docc.kind.collectionGroup", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/Equatable-Implementations", + "path" : "\/documentation\/euclid\/angle\/additivearithmetic-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/AdditiveArithmetic-Implementations", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/!=(_:_:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+=(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-=(_:_:)" ], "title" : "Operators" - } - ], - "title" : "Equatable Implementations" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/equatable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Equatable-Implementations", - "taskGroups" : [ + }, { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/!=(_:_:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/zero" ], - "title" : "Operators" + "title" : "Type Properties" } ], - "title" : "Equatable Implementations" + "title" : "AdditiveArithmetic Implementations" }, { "abstract" : [ { - "text" : "Returns a rotated copy of the value.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -36974,7 +36836,7 @@ }, { "kind" : "identifier", - "text" : "rotated" + "text" : "rotate" }, { "kind" : "text", @@ -36990,30 +36852,34 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/rotated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotated(by:)", + "path" : "\/documentation\/euclid\/transformable\/rotate(by:)-5a3iz", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotate(by:)-5a3iz", "taskGroups" : [ ], - "title" : "rotated(by:)", - "usr" : "s:6Euclid6VertexV7rotated2byAcA8RotationV_tF" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF" }, { + "abstract" : [ + { + "text" : "Computes the convex hull of a set of line segments.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -37036,98 +36902,82 @@ }, { "kind" : "identifier", - "text" : "!=" + "text" : "convexHull" }, { "kind" : "text", - "text" : " " + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "T" }, { "kind" : "text", - "text" : "(" + "text" : ">(" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "externalParam", + "text" : "of" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA11LineSegmentV7ElementRtzlFZ1TL_xmfp", + "text" : "T" }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" - } - ], - "kind" : "org.swift.docc.kind.operator", - "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/!=(_:_:)", - "taskGroups" : [ - - ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid6BoundsV" - }, - { - "abstract" : [ - { - "text" : "The angle of rotation around the X-axis.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "var" + "kind" : "externalParam", + "text" : "material" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "pitch" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : ": " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/pitch", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/pitch", + "kind" : "org.swift.docc.kind.typeMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/convexhull(of:material:)-91swk", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:material:)-91swk", "taskGroups" : [ ], - "title" : "pitch", - "usr" : "s:6Euclid10QuaternionV5pitchAA5AngleVvp" + "title" : "convexHull(of:material:)", + "usr" : "s:6Euclid4MeshV10convexHull2of8materialACx_s11AnyHashableVSgtSTRzAA11LineSegmentV7ElementRtzlFZ" }, { "abstract" : [ { - "text" : "Creates a offset transform.", + "text" : "Returns a new mesh representing the combined volume of the", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "mesh parameter and the receiver, with inner faces removed.", "type" : "text" } ], @@ -37137,32 +36987,41 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "func" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "func" + "kind" : "identifier", + "text" : "union" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "offset" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" }, { "kind" : "text", - "text" : "(" + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "isCancelled" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" }, { "kind" : "text", @@ -37170,24 +37029,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/offset(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/offset(_:)", + "path" : "\/documentation\/euclid\/mesh\/union(_:iscancelled:)-swift.method", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/union(_:isCancelled:)-swift.method", "taskGroups" : [ ], - "title" : "offset(_:)", - "usr" : "s:6Euclid9TransformV6offsetyAcA6VectorVFZ" + "title" : "union(_:isCancelled:)", + "usr" : "s:6Euclid4MeshV5union_11isCancelledA2C_SbyXEtF" }, { "abstract" : [ { - "text" : "Return Wavefront OBJ string data for the mesh.", + "text" : "Returns a copy of the mesh with the new material applied to all polygons.", "type" : "text" } ], @@ -37205,108 +37064,119 @@ }, { "kind" : "identifier", - "text" : "objString" + "text" : "withMaterial" }, { "kind" : "text", - "text" : "() -> " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:SS", - "text" : "String" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" + }, + { + "kind" : "text", + "text" : "?) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/objstring()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/objString()", + "path" : "\/documentation\/euclid\/mesh\/withmaterial(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withMaterial(_:)", "taskGroups" : [ ], - "title" : "objString()", - "usr" : "s:6Euclid4MeshV9objStringSSyF" + "title" : "withMaterial(_:)", + "usr" : "s:6Euclid4MeshV12withMaterialyACs11AnyHashableVSgF" }, { - "abstract" : [ - { - "text" : "Returns a quaternion with its components divided by the specified value.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "keyword", - "text" : "func" + "kind" : "externalParam", + "text" : "cgPath" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "\/" + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@T@CGPathRef", + "text" : "CGPath" }, { "kind" : "text", - "text" : " " + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "detail" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", "text" : ", " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "kind" : "externalParam", + "text" : "color" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" + }, + { + "kind" : "text", + "text" : "?)" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/\/(_:_:)", + "path" : "\/documentation\/euclid\/path\/init(cgpath:detail:color:)", "platforms" : [ ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/\/(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(cgPath:detail:color:)", "taskGroups" : [ ], - "title" : "\/(_:_:)", - "usr" : "s:6Euclid10QuaternionV1doiyA2C_SdtFZ" + "title" : "init(cgPath:detail:color:)", + "usr" : "s:6Euclid4PathV02cgB06detail5colorACSo9CGPathRefa_SiAA5ColorVSgtcfc" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "Returns a Boolean value that indicates whether the lines intersect.", "type" : "text" } ], @@ -37324,54 +37194,45 @@ }, { "kind" : "identifier", - "text" : "scale" + "text" : "intersects" }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4LineV", + "text" : "Line" }, { "kind" : "text", - "text" : ": " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/scale(by:)-9pjki", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scale(by:)-9pjki", + "path" : "\/documentation\/euclid\/line\/intersects(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersects(_:)", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid4MeshV" + "title" : "intersects(_:)", + "usr" : "s:6Euclid4LineV10intersectsySbACF" }, { - "abstract" : [ - { - "text" : "Texture is tube-wrapped.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "case" + "text" : "func" }, { "kind" : "text", @@ -37379,23 +37240,52 @@ }, { "kind" : "identifier", - "text" : "tube" + "text" : "hash" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "into" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "keyword", + "text" : "inout" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s6HasherV", + "text" : "Hasher" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.enumerationCase", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/wrapmode\/tube", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/tube", + "path" : "\/documentation\/euclid\/rotation\/hash(into:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/hash(into:)", "taskGroups" : [ ], - "title" : "Mesh.WrapMode.tube", - "usr" : "s:6Euclid4MeshV8WrapModeO4tubeyA2EmF" + "title" : "hash(into:)", + "usr" : "s:6Euclid8RotationV4hash4intoys6HasherVz_tF" }, { "abstract" : [ { - "text" : "Rotate the value in place.", + "text" : "Multiplies the components of the vector by the specified value.", "type" : "text" } ], @@ -37403,6 +37293,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -37413,47 +37311,57 @@ }, { "kind" : "identifier", - "text" : "rotate" + "text" : "*=" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/rotate(by:)-1umln", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotate(by:)-1umln", + "path" : "\/documentation\/euclid\/vector\/*=(_:_:)-9l46a", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*=(_:_:)-9l46a", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid6VertexV" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid6VectorV2meoiyyACz_SdtFZ" }, { "abstract" : [ { - "text" : "Creates a rotation around the X axis.", + "text" : "Return a copy of the polygon with transformed vertex colors", "type" : "text" } ], @@ -37463,57 +37371,66 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "func" }, { "kind" : "text", "text" : " " }, { - "kind" : "keyword", - "text" : "func" + "kind" : "identifier", + "text" : "mapColors" }, { "kind" : "text", - "text" : " " + "text" : "((" }, { - "kind" : "identifier", - "text" : "pitch" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : "(" + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/pitch(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/pitch(_:)", + "path" : "\/documentation\/euclid\/path\/mapcolors(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/mapColors(_:)", "taskGroups" : [ ], - "title" : "pitch(_:)", - "usr" : "s:6Euclid8RotationV5pitchyAcA5AngleVFZ" + "title" : "mapColors(_:)", + "usr" : "s:6Euclid4PathV9mapColorsyAcA5ColorVSgAGXEF" }, { "abstract" : [ { - "text" : "Rotate the value in place.", + "text" : "Returns whether the leftmost line segment has the lower value.", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "This provides a stable order when sorting collections of line segments.", "type" : "text" } ], @@ -37521,6 +37438,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -37531,44 +37456,54 @@ }, { "kind" : "identifier", - "text" : "rotate" + "text" : "<" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid11LineSegmentV", + "text" : "LineSegment" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/rotate(by:)-622p8", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotate(by:)-622p8", + "path" : "\/documentation\/euclid\/linesegment\/_(_:_:)-2si4j", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_(_:_:)-2si4j", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid6VertexV" + "title" : "<(_:_:)", + "usr" : "s:6Euclid11LineSegmentV1loiySbAC_ACtFZ" }, { "abstract" : [ { - "text" : "Protocol for transformable types.", + "text" : "Returns the componentwise difference between two vectors.", "type" : "text" } ], @@ -37578,100 +37513,70 @@ "fragments" : [ { "kind" : "keyword", - "text" : "protocol" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "Transformable" - } - ], - "kind" : "org.swift.docc.kind.protocol", - "language" : "swift", - "path" : "\/documentation\/euclid\/transformable", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/*(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/*=(_:_:)" - ], - "title" : "Operators" + "kind" : "keyword", + "text" : "func" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotate(by:)-1l9u5", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotate(by:)-5a3iz", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotated(by:)-76uyz", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scale(by:)-89xwv", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scale(by:)-8ec9r", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scaled(by:)-3shbk", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scaled(by:)-5p6di", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transform(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transformed(by:)-9m686", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/translate(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/translated(by:)" - ], - "title" : "Instance Methods" - } - ], - "title" : "Transformable", - "usr" : "s:6Euclid13TransformableP" - }, - { - "abstract" : [ + "kind" : "text", + "text" : " " + }, { - "text" : "Creates a ", - "type" : "text" + "kind" : "identifier", + "text" : "-" }, { - "code" : "Rotation", - "type" : "codeVoice" + "kind" : "text", + "text" : " " }, { - "text" : " from a simd quaternion.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "text", + "text" : "(" + }, { - "kind" : "keyword", - "text" : "init" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "(" + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@SA@simd_quatd", - "text" : "simd_quatd" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/init(_:)-7j4ql", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-7j4ql", + "path" : "\/documentation\/euclid\/vector\/-(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-(_:_:)", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid8RotationVyACSo10simd_quatdacfc" + "title" : "-(_:_:)", + "usr" : "s:6Euclid6VectorV1soiyA2C_ACtFZ" }, { "abstract" : [ { - "text" : "Creates an angle representing the trigonometric arc sine of the value you provide.", + "text" : "The identity rotation (i.e. no rotation).", "type" : "text" } ], @@ -37689,7 +37594,7 @@ }, { "kind" : "keyword", - "text" : "func" + "text" : "let" }, { "kind" : "text", @@ -37697,41 +37602,32 @@ }, { "kind" : "identifier", - "text" : "asin" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "identity" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/asin(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/asin(_:)", + "path" : "\/documentation\/euclid\/rotation\/identity", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/identity", "taskGroups" : [ ], - "title" : "asin(_:)", - "usr" : "s:6Euclid5AngleV4asinyACSdFZ" + "title" : "identity", + "usr" : "s:6Euclid8RotationV8identityACvpZ" }, { "abstract" : [ { - "text" : "The position of the vertex.", + "text" : "Creates a circular arc.", "type" : "text" } ], @@ -37741,15 +37637,48 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "arc" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "angle" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "identifier", - "text" : "position" + "kind" : "externalParam", + "text" : "radius" }, { "kind" : "text", @@ -37757,76 +37686,67 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/position", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/position", - "taskGroups" : [ - - ], - "title" : "position", - "usr" : "s:6Euclid6VertexV8positionAA6VectorVvp" - }, - { - "abstract" : [ + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, { - "text" : "Return a copy of the mesh with transformed texture coordinates.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "text", + "text" : ", " + }, { - "kind" : "keyword", - "text" : "func" + "kind" : "externalParam", + "text" : "segments" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "withTextureTransform" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : "(" + "text" : "?, " + }, + { + "kind" : "externalParam", + "text" : "color" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/withtexturetransform(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/withTextureTransform(_:)", + "path" : "\/documentation\/euclid\/path\/arc(angle:radius:segments:color:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/arc(angle:radius:segments:color:)", "taskGroups" : [ ], - "title" : "withTextureTransform(_:)", - "usr" : "s:6Euclid4MeshV20withTextureTransformyAcA0E0VF" + "title" : "arc(angle:radius:segments:color:)", + "usr" : "s:6Euclid4PathV3arc5angle6radius8segments5colorAcA5AngleV_SdSiSgAA5ColorVSgtFZ" }, { "abstract" : [ { - "text" : "Returns the sum of two angles.", + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -37852,7 +37772,7 @@ }, { "kind" : "identifier", - "text" : "+" + "text" : "*" }, { "kind" : "text", @@ -37864,8 +37784,7 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "text" : "Self" }, { "kind" : "text", @@ -37873,8 +37792,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", @@ -37882,24 +37801,23 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "text" : "Self" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/+(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/+(_:_:)", + "path" : "\/documentation\/euclid\/transformable\/*(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/*(_:_:)", "taskGroups" : [ ], - "title" : "+(_:_:)", - "usr" : "s:6Euclid5AngleV1poiyA2C_ACtFZ" + "title" : "*(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ" }, { "abstract" : [ { - "text" : "Encodes this plane into the given encoder.", + "text" : "Returns a scaled copy of the value.", "type" : "text" } ], @@ -37917,7 +37835,7 @@ }, { "kind" : "identifier", - "text" : "encode" + "text" : "scaled" }, { "kind" : "text", @@ -37925,7 +37843,7 @@ }, { "kind" : "externalParam", - "text" : "to" + "text" : "by" }, { "kind" : "text", @@ -37933,32 +37851,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7EncoderP", - "text" : "Encoder" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ") " + "text" : ") -> " }, { - "kind" : "keyword", - "text" : "throws" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/encode(to:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/encode(to:)", + "path" : "\/documentation\/euclid\/vector\/scaled(by:)-350oy", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-350oy", "taskGroups" : [ ], - "title" : "encode(to:)", - "usr" : "s:6Euclid5PlaneV6encode2toys7Encoder_p_tKF" + "title" : "scaled(by:)", + "usr" : "s:6Euclid6VectorV6scaled2byACSd_tF" }, { "abstract" : [ { - "text" : "Returns a rotated copy of the value.", + "text" : "Generate both the front and back faces.", "type" : "text" } ], @@ -37968,7 +37887,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "case" }, { "kind" : "text", @@ -37976,59 +37895,87 @@ }, { "kind" : "identifier", - "text" : "rotated" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" - }, + "text" : "frontAndBack" + } + ], + "kind" : "org.swift.docc.kind.enumerationCase", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/faces\/frontandback", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/frontAndBack", + "taskGroups" : [ + + ], + "title" : "Mesh.Faces.frontAndBack", + "usr" : "s:6Euclid4MeshV5FacesO12frontAndBackyA2EmF" + }, + { + "abstract" : [ { - "kind" : "text", - "text" : ": " - }, + "text" : "The default face generation behavior. Context-dependent.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "kind" : "keyword", + "text" : "case" }, { "kind" : "text", - "text" : ") -> " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "identifier", + "text" : "`default`" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.enumerationCase", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/rotated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotated(by:)", + "path" : "\/documentation\/euclid\/mesh\/faces\/default", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/default", "taskGroups" : [ ], - "title" : "rotated(by:)", - "usr" : "s:6Euclid6VectorV7rotated2byAcA8RotationV_tF" + "title" : "Mesh.Faces.default", + "usr" : "s:6Euclid4MeshV5FacesO7defaultyA2EmF" }, { - "abstract" : [ + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/line\/decodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Decodable-Implementations", + "taskGroups" : [ { - "text" : "The red component of the color.", - "type" : "text" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(from:)" + ], + "title" : "Initializers" } ], + "title" : "Decodable Implementations" + }, + { "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -38036,27 +37983,47 @@ }, { "kind" : "identifier", - "text" : "r" + "text" : "!=" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/color\/r", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/r", + "path" : "\/documentation\/euclid\/mesh\/wrapmode\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/!=(_:_:)", "taskGroups" : [ ], - "title" : "r", - "usr" : "s:6Euclid5ColorV1rSdvp" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid4MeshV8WrapModeO" }, { "abstract" : [ @@ -38134,7 +38101,24 @@ { "abstract" : [ { - "text" : "The magnitude of the quaternion.", + "text" : "Material used by the mesh polygons.", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "See ", + "type" : "text" + }, + { + "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Material-swift.typealias", + "isActive" : true, + "type" : "reference" + }, + { + "text" : " for details.", "type" : "text" } ], @@ -38144,7 +38128,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "typealias" }, { "kind" : "text", @@ -38152,35 +38136,23 @@ }, { "kind" : "identifier", - "text" : "length" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : "Material" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.typeAlias", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/length", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/length", + "path" : "\/documentation\/euclid\/mesh\/material", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Material", "taskGroups" : [ ], - "title" : "length", - "usr" : "s:6Euclid10QuaternionV6lengthSdvp" + "title" : "Mesh.Material", + "usr" : "s:6Euclid4MeshV8Materiala" }, { "abstract" : [ { - "text" : "Indicates whether the path is a closed path.", + "text" : "Creates a mesh from a SceneKit geometry, with the material you provide.", "type" : "text" } ], @@ -38190,15 +38162,24 @@ "fragments" : [ { "kind" : "keyword", - "text" : "let" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "?(" }, { - "kind" : "identifier", - "text" : "isClosed" + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)SCNGeometry", + "text" : "SCNGeometry" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "material" }, { "kind" : "text", @@ -38206,24 +38187,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" + }, + { + "kind" : "text", + "text" : "?)" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/isclosed", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/isClosed", + "path" : "\/documentation\/euclid\/mesh\/init(_:material:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:material:)", "taskGroups" : [ ], - "title" : "isClosed", - "usr" : "s:6Euclid4PathV8isClosedSbvp" + "title" : "init(_:material:)", + "usr" : "s:6Euclid4MeshV_8materialACSgSo11SCNGeometryC_s11AnyHashableVSgtcfc" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Creates a mesh by extruding one path along another path.", "type" : "text" } ], @@ -38249,82 +38234,58 @@ }, { "kind" : "identifier", - "text" : "*=" - }, - { - "kind" : "text", - "text" : " " + "text" : "extrude" }, { "kind" : "text", "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "externalParam", + "text" : "along" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" }, { "kind" : "text", - "text" : ")" - } - ], - "kind" : "org.swift.docc.kind.operator", - "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/*=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/*=(_:_:)", - "taskGroups" : [ - - ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid7PolygonV" - }, - { - "abstract" : [ - { - "text" : "Encodes this angle into the given encoder.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "text" : ", " + }, { - "kind" : "keyword", - "text" : "func" + "kind" : "externalParam", + "text" : "twist" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "encode" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : "(" + "text" : ", " }, { "kind" : "externalParam", - "text" : "to" + "text" : "align" }, { "kind" : "text", @@ -38332,146 +38293,92 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7EncoderP", - "text" : "Encoder" + "preciseIdentifier" : "s:6Euclid4MeshV9Alignmenta", + "text" : "Alignment" }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "throws" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/encode(to:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/encode(to:)", - "taskGroups" : [ - - ], - "title" : "encode(to:)", - "usr" : "s:6Euclid5AngleV6encode2toys7Encoder_p_tKF" - }, - { - "abstract" : [ - { - "text" : "Supported ", - "type" : "text" - }, - { - "code" : "NSSecureCodable", - "type" : "codeVoice" + "text" : ", " }, { - "text" : " Material base classes.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" + "kind" : "externalParam", + "text" : "faces" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "keyword", - "text" : "var" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", + "text" : "Faces" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "identifier", - "text" : "codableClasses" + "kind" : "externalParam", + "text" : "material" }, { "kind" : "text", - "text" : ": [" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s8AnyClassa", - "text" : "AnyClass" - }, - { - "kind" : "text", - "text" : "]" - } - ], - "kind" : "org.swift.docc.kind.typeProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/codableclasses", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/codableClasses", - "taskGroups" : [ - - ], - "title" : "codableClasses", - "usr" : "s:6Euclid7PolygonV14codableClassesSayyXlXpGvpZ" - }, - { - "abstract" : [ - { - "text" : "Angle representing a quarter rotation.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "static" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : " " + "text" : "?, " }, { - "kind" : "keyword", - "text" : "let" + "kind" : "externalParam", + "text" : "isCancelled" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "halfPi" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", + "text" : "CancellationHandler" }, { "kind" : "text", - "text" : ": " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.typeProperty", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/halfpi", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/halfPi", + "path" : "\/documentation\/euclid\/mesh\/extrude(_:along:twist:align:faces:material:iscancelled:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/extrude(_:along:twist:align:faces:material:isCancelled:)", "taskGroups" : [ ], - "title" : "halfPi", - "usr" : "s:6Euclid5AngleV6halfPiACvpZ" + "title" : "extrude(_:along:twist:align:faces:material:isCancelled:)", + "usr" : "s:6Euclid4MeshV7extrude_5along5twist5align5faces8material11isCancelledAcA4PathV_AlA5AngleVAL9AlignmentOAC5FacesOs11AnyHashableVSgSbyXEtFZ" }, { "abstract" : [ { - "text" : "Combines with the specified rotation.", + "text" : "Align extruded cross-sections with the X, Y or Z axis", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "(whichever is most perpendicular to the extrusion path).", "type" : "text" } ], @@ -38481,15 +38388,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "case" }, { "kind" : "text", @@ -38497,57 +38396,23 @@ }, { "kind" : "identifier", - "text" : "*=" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "keyword", - "text" : "inout" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" - }, - { - "kind" : "text", - "text" : ")" + "text" : "axis" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.enumerationCase", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/*=(_:_:)-68kkw", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/*=(_:_:)-68kkw", + "path" : "\/documentation\/euclid\/path\/alignment\/axis", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/axis", "taskGroups" : [ ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid8RotationV2meoiyyACz_ACtFZ" + "title" : "Path.Alignment.axis", + "usr" : "s:6Euclid4PathV9AlignmentO4axisyA2EmF" }, { "abstract" : [ { - "text" : "Curve or uncurve the point.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -38565,41 +38430,44 @@ }, { "kind" : "identifier", - "text" : "curved" + "text" : "scale" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/curved(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/curved(_:)", + "path" : "\/documentation\/euclid\/path\/scale(by:)-vnel", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scale(by:)-vnel", "taskGroups" : [ ], - "title" : "curved(_:)", - "usr" : "s:6Euclid9PathPointV6curvedyACSbF" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid4PathV" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "Returns a translated copy of the value.", "type" : "text" } ], @@ -38617,7 +38485,7 @@ }, { "kind" : "identifier", - "text" : "scale" + "text" : "translated" }, { "kind" : "text", @@ -38638,32 +38506,35 @@ }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transformable\/scale(by:)-8ec9r", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/scale(by:)-8ec9r", + "path" : "\/documentation\/euclid\/mesh\/translated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/translated(by:)", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF" + "title" : "translated(by:)", + "usr" : "s:6Euclid4MeshV10translated2byAcA6VectorV_tF" }, { + "abstract" : [ + { + "text" : "Returns a transformed copy of the value.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -38674,73 +38545,55 @@ }, { "kind" : "identifier", - "text" : "..<" - }, - { - "kind" : "text", - "text" : " " + "text" : "transformed" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", "text" : ") -> " }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sn", - "text" : "Range" - }, - { - "kind" : "text", - "text" : "<" - }, { "kind" : "typeIdentifier", "text" : "Self" - }, - { - "kind" : "text", - "text" : ">" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/'.._(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/.._(_:_:)", + "path" : "\/documentation\/euclid\/vector\/transformed(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/transformed(by:)", "taskGroups" : [ ], - "title" : "..<(_:_:)", - "usr" : "s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "transformed(by:)", + "usr" : "s:6Euclid13TransformablePAAE11transformed2byxAA9TransformV_tF::SYNTHESIZED::s:6Euclid6VectorV" }, { + "abstract" : [ + { + "text" : "Returns a Boolean value that indicates whether the specified point lies on the line.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -38751,11 +38604,7 @@ }, { "kind" : "identifier", - "text" : "!=" - }, - { - "kind" : "text", - "text" : " " + "text" : "containsPoint" }, { "kind" : "text", @@ -38763,15 +38612,8 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -38783,20 +38625,20 @@ "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/!=(_:_:)", + "path" : "\/documentation\/euclid\/line\/containspoint(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/containsPoint(_:)", "taskGroups" : [ ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid10QuaternionV" + "title" : "containsPoint(_:)", + "usr" : "s:6Euclid4LineV13containsPointySbAA6VectorVF" }, { "abstract" : [ { - "text" : "Encodes the vector into the given encoder.", + "text" : "Encodes this line into the given encoder.", "type" : "text" } ], @@ -38844,18 +38686,36 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/encode(to:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/encode(to:)", + "path" : "\/documentation\/euclid\/line\/encode(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/encode(to:)", "taskGroups" : [ ], "title" : "encode(to:)", - "usr" : "s:6Euclid6VectorV6encode2toys7Encoder_p_tKF" + "usr" : "s:6Euclid4LineV6encode2toys7Encoder_p_tKF" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/color\/equatable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/Equatable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/!=(_:_:)" + ], + "title" : "Operators" + } + ], + "title" : "Equatable Implementations" }, { "abstract" : [ { - "text" : "Returns a rotated copy of the value.", + "text" : "Creates a conical mesh.", "type" : "text" } ], @@ -38863,6 +38723,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -38873,7 +38741,7 @@ }, { "kind" : "identifier", - "text" : "rotated" + "text" : "cone" }, { "kind" : "text", @@ -38881,7 +38749,7 @@ }, { "kind" : "externalParam", - "text" : "by" + "text" : "radius" }, { "kind" : "text", @@ -38889,174 +38757,187 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/path\/rotated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/rotated(by:)", - "taskGroups" : [ - - ], - "title" : "rotated(by:)", - "usr" : "s:6Euclid4PathV7rotated2byAcA8RotationV_tF" - }, - { - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "externalParam", + "text" : "height" + }, { - "kind" : "keyword", - "text" : "static" + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "keyword", - "text" : "func" + "kind" : "externalParam", + "text" : "slices" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "..." + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : " " + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "stacks" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", "text" : ", " }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "externalParam", + "text" : "poleDetail" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:SN", - "text" : "ClosedRange" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : "<" + "text" : "?, " + }, + { + "kind" : "externalParam", + "text" : "addDetailAtBottomPole" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" }, { "kind" : "text", - "text" : ">" - } - ], - "kind" : "org.swift.docc.kind.operator", - "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/'...(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/...(_:_:)", - "taskGroups" : [ - - ], - "title" : "...(_:_:)", - "usr" : "s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" - }, - { - "abstract" : [ + "text" : ", " + }, { - "text" : "Creates a Euclid", - "type" : "text" + "kind" : "externalParam", + "text" : "faces" }, { - "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform", - "isActive" : true, - "type" : "reference" + "kind" : "text", + "text" : ": " }, { - "text" : " from a simd matrix.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", + "text" : "Faces" + }, { - "kind" : "keyword", - "text" : "init" + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "wrapMode" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@SA@simd_float4x4", - "text" : "simd_float4x4" + "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", + "text" : "WrapMode" }, { "kind" : "text", - "text" : ")" - } - ], - "kind" : "org.swift.docc.kind.initializer", - "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/init(_:)-7hvb3", - "platforms" : [ + "text" : ", " + }, { - "beta" : false, - "deprecated" : false, - "introducedAt" : "13.0", - "name" : "iOS", - "unavailable" : false + "kind" : "externalParam", + "text" : "material" }, { - "beta" : false, - "deprecated" : false, - "introducedAt" : "10.15", - "name" : "macOS", - "unavailable" : false + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" + }, + { + "kind" : "text", + "text" : "?) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-7hvb3", + "kind" : "org.swift.docc.kind.typeMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/cone(radius:height:slices:stacks:poledetail:adddetailatbottompole:faces:wrapmode:material:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cone(radius:height:slices:stacks:poleDetail:addDetailAtBottomPole:faces:wrapMode:material:)", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid9TransformVyACSo13simd_float4x4acfc" + "title" : "cone(radius:height:slices:stacks:poleDetail:addDetailAtBottomPole:faces:wrapMode:material:)", + "usr" : "s:6Euclid4MeshV4cone6radius6height6slices6stacks10poleDetail03addI12AtBottomPole5faces8wrapMode8materialACSd_SdS3iSgSbAC5FacesOAC04WrapP0Os11AnyHashableVSgtFZ" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/quaternion\/hashable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Hashable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/hash(into:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Hashable Implementations" }, { "abstract" : [ { - "text" : "The end point of the line segment.", + "text" : "Returns the perpendicular distance from another line to this one.", "type" : "text" } ], @@ -39066,7 +38947,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "let" + "text" : "func" }, { "kind" : "text", @@ -39074,7 +38955,15 @@ }, { "kind" : "identifier", - "text" : "end" + "text" : "distance" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "from" }, { "kind" : "text", @@ -39082,24 +38971,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid4LineV", + "text" : "Line" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/end", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/end", + "path" : "\/documentation\/euclid\/line\/distance(from:)-77i61", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/distance(from:)-77i61", "taskGroups" : [ ], - "title" : "end", - "usr" : "s:6Euclid11LineSegmentV3endAA6VectorVvp" + "title" : "distance(from:)", + "usr" : "s:6Euclid4LineV8distance4fromSdAC_tF" }, { "abstract" : [ { - "text" : "The length of the line segment.", + "text" : "Performs a spherical linear interpolation between two rotations.", "type" : "text" } ], @@ -39109,7 +39007,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -39117,32 +39015,50 @@ }, { "kind" : "identifier", - "text" : "length" + "text" : "slerp" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:Sd", "text" : "Double" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/length", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/length", + "path" : "\/documentation\/euclid\/rotation\/slerp(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/slerp(_:_:)", "taskGroups" : [ ], - "title" : "length", - "usr" : "s:6Euclid11LineSegmentV6lengthSdvp" + "title" : "slerp(_:_:)", + "usr" : "s:6Euclid8RotationV5slerpyA2C_SdtF" }, { "abstract" : [ { - "text" : "The position of the path point.", + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -39152,7 +39068,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -39160,32 +39084,52 @@ }, { "kind" : "identifier", - "text" : "position" + "text" : "*" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/position", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/position", + "path" : "\/documentation\/euclid\/vertex\/*(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/*(_:_:)", "taskGroups" : [ ], - "title" : "position", - "usr" : "s:6Euclid9PathPointV8positionAA6VectorVvp" + "title" : "*(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid6VertexV" }, { "abstract" : [ { - "text" : "Returns one or more polygons needed to fill the path.", + "text" : "Translate the value in place.", "type" : "text" } ], @@ -39203,7 +39147,7 @@ }, { "kind" : "identifier", - "text" : "facePolygons" + "text" : "translate" }, { "kind" : "text", @@ -39211,7 +39155,7 @@ }, { "kind" : "externalParam", - "text" : "material" + "text" : "by" }, { "kind" : "text", @@ -39219,64 +39163,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" - }, - { - "kind" : "text", - "text" : "." - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" - }, - { - "kind" : "text", - "text" : "?) -> [" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "]" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/facepolygons(material:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/facePolygons(material:)", + "path" : "\/documentation\/euclid\/vertex\/translate(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/translate(by:)", "taskGroups" : [ ], - "title" : "facePolygons(material:)", - "usr" : "s:6Euclid4PathV12facePolygons8materialSayAA7PolygonVGs11AnyHashableVSg_tF" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/encodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Encodable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/encode(to:)" - ], - "title" : "Instance Methods" - } - ], - "title" : "Encodable Implementations" + "title" : "translate(by:)", + "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid6VertexV" }, { "abstract" : [ { - "text" : "Computes the point of intersection between a line and a plane.", + "text" : "Split the polygon along a plane.", "type" : "text" } ], @@ -39294,7 +39202,7 @@ }, { "kind" : "identifier", - "text" : "intersection" + "text" : "split" }, { "kind" : "text", @@ -39302,7 +39210,7 @@ }, { "kind" : "externalParam", - "text" : "with" + "text" : "along" }, { "kind" : "text", @@ -39310,34 +39218,57 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4LineV", - "text" : "Line" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" }, { "kind" : "text", - "text" : ") -> " + "text" : ") -> (front" + }, + { + "kind" : "text", + "text" : ": [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" }, { "kind" : "text", - "text" : "?" + "text" : "], back" + }, + { + "kind" : "text", + "text" : ": [" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" + }, + { + "kind" : "text", + "text" : "])" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/intersection(with:)-79olr", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-79olr", + "path" : "\/documentation\/euclid\/polygon\/split(along:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/split(along:)", "taskGroups" : [ ], - "title" : "intersection(with:)", - "usr" : "s:6Euclid5PlaneV12intersection4withAA6VectorVSgAA4LineV_tF" + "title" : "split(along:)", + "usr" : "s:6Euclid7PolygonV5split5alongSayACG5front_AF4backtAA5PlaneV_tF" }, { + "abstract" : [ + { + "text" : "Transform the value in place.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -39360,7 +39291,7 @@ }, { "kind" : "identifier", - "text" : "+=" + "text" : "*=" }, { "kind" : "text", @@ -39388,7 +39319,8 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", @@ -39397,18 +39329,68 @@ ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/+=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+=(_:_:)", + "path" : "\/documentation\/euclid\/bounds\/*=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/*=(_:_:)", "taskGroups" : [ ], - "title" : "+=(_:_:)", - "usr" : "s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid6BoundsV" }, { "abstract" : [ { - "text" : "Creates an extruded text model from an attributed string", + "text" : "A closure that converts a RealityKit material to a Euclid material.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "typealias" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "RealityKitMaterialProvider" + } + ], + "kind" : "org.swift.docc.kind.typeAlias", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/realitykitmaterialprovider", + "platforms" : [ + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "15.0", + "name" : "iOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "12.0", + "name" : "macOS", + "unavailable" : false + } + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/RealityKitMaterialProvider", + "taskGroups" : [ + + ], + "title" : "Mesh.RealityKitMaterialProvider", + "usr" : "s:6Euclid4MeshV26RealityKitMaterialProvidera" + }, + { + "abstract" : [ + { + "text" : "Returns the sum of two quaternion rotations.", "type" : "text" } ], @@ -39434,7 +39416,11 @@ }, { "kind" : "identifier", - "text" : "text" + "text" : "+" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", @@ -39442,33 +39428,81 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:objc(cs)NSAttributedString", - "text" : "NSAttributedString" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", "text" : ", " }, { - "kind" : "externalParam", - "text" : "width" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", - "text" : ": " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" + } + ], + "kind" : "org.swift.docc.kind.operator", + "language" : "swift", + "path" : "\/documentation\/euclid\/quaternion\/+(_:_:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/+(_:_:)", + "taskGroups" : [ + + ], + "title" : "+(_:_:)", + "usr" : "s:6Euclid10QuaternionV1poiyA2C_ACtFZ" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/polygon\/bounded-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Bounded-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/bounds" + ], + "title" : "Instance Properties" + } + ], + "title" : "Bounded Implementations" + }, + { + "abstract" : [ + { + "text" : "Creates a new vector by decoding from the given decoder.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" }, { "kind" : "text", - "text" : "?, " + "text" : "(" }, { "kind" : "externalParam", - "text" : "depth" + "text" : "from" }, { "kind" : "text", @@ -39476,33 +39510,58 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:s7DecoderP", + "text" : "Decoder" }, { "kind" : "text", - "text" : ", " + "text" : ") " }, { - "kind" : "externalParam", - "text" : "detail" + "kind" : "keyword", + "text" : "throws" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/init(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(from:)", + "taskGroups" : [ + + ], + "title" : "init(from:)", + "usr" : "s:6Euclid6VectorV4fromACs7Decoder_p_tKcfc" + }, + { + "abstract" : [ + { + "text" : "Returns a scaled copy of the value.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "kind" : "identifier", + "text" : "scaled" }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { "kind" : "externalParam", - "text" : "material" + "text" : "by" }, { "kind" : "text", @@ -39510,33 +39569,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "?) -> " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/text(_:width:depth:detail:material:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/text(_:width:depth:detail:material:)", + "path" : "\/documentation\/euclid\/plane\/scaled(by:)-29v7y", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-29v7y", "taskGroups" : [ ], - "title" : "text(_:width:depth:detail:material:)", - "usr" : "s:6Euclid4MeshV4text_5width5depth6detail8materialACSo18NSAttributedStringC_SdSgSdSis11AnyHashableVSgtFZ" + "title" : "scaled(by:)", + "usr" : "s:6Euclid5PlaneV6scaled2byAcA6VectorV_tF" }, { "abstract" : [ { - "text" : "The distinct (disconnected) submeshes that make up the mesh.", + "text" : "Returns a scaled copy of the value.", "type" : "text" } ], @@ -39546,7 +39605,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -39554,31 +39613,44 @@ }, { "kind" : "identifier", - "text" : "submeshes" + "text" : "scaled" }, { "kind" : "text", - "text" : ": [" + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "by" + }, + { + "kind" : "text", + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "]" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/submeshes", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/submeshes", + "path" : "\/documentation\/euclid\/polygon\/scaled(by:)-8sjrv", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/scaled(by:)-8sjrv", "taskGroups" : [ ], - "title" : "submeshes", - "usr" : "s:6Euclid4MeshV9submeshesSayACGvp" + "title" : "scaled(by:)", + "usr" : "s:6Euclid7PolygonV6scaled2byAcA6VectorV_tF" }, { "availableLanguages" : [ @@ -39637,18 +39709,18 @@ ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/line\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/!=(_:_:)", + "path" : "\/documentation\/euclid\/polygon\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/!=(_:_:)", "taskGroups" : [ ], "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid4LineV" + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid7PolygonV" }, { "abstract" : [ { - "text" : "Returns a Boolean value that indicates if the specified point is within the bounds.", + "text" : "Translate the value in place.", "type" : "text" } ], @@ -39666,85 +39738,117 @@ }, { "kind" : "identifier", - "text" : "containsPoint" + "text" : "translate" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/containspoint(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/containsPoint(_:)", + "path" : "\/documentation\/euclid\/path\/translate(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/translate(by:)", "taskGroups" : [ ], - "title" : "containsPoint(_:)", - "usr" : "s:6Euclid6BoundsV13containsPointySbAA6VectorVF" + "title" : "translate(by:)", + "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid4PathV" }, { + "abstract" : [ + { + "text" : "Create a color from RGB values and optional alpha component", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/transformable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Transformable-Implementations", - "taskGroups" : [ + "fragments" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/*(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/*=(_:_:)" - ], - "title" : "Operators" + "kind" : "keyword", + "text" : "init" }, { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotate(by:)-16elu", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotate(by:)-l48f", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scale(by:)-2v2ef", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scale(by:)-8v4ag", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-2lm8c", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scaled(by:)-37r1v", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/transform(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/transformed(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/translate(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/translated(by:)" - ], - "title" : "Instance Methods" + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ")" } ], - "title" : "Transformable Implementations" + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/color\/init(_:_:_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:_:_:_:)", + "taskGroups" : [ + + ], + "title" : "init(_:_:_:_:)", + "usr" : "s:6Euclid5ColorVyACSd_S3dtcfc" }, { + "abstract" : [ + { + "text" : "Creates a copy of the vertex with the specified normal.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -39755,11 +39859,7 @@ }, { "kind" : "identifier", - "text" : ">=" - }, - { - "kind" : "text", - "text" : " " + "text" : "withNormal" }, { "kind" : "text", @@ -39767,15 +39867,8 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -39783,24 +39876,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/_=(_:_:)-5nk27", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/_=(_:_:)-5nk27", + "path" : "\/documentation\/euclid\/vertex\/withnormal(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withNormal(_:)", "taskGroups" : [ ], - "title" : ">=(_:_:)", - "usr" : "s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:6Euclid5PlaneV" + "title" : "withNormal(_:)", + "usr" : "s:6Euclid6VertexV10withNormalyAcA6VectorVF" }, { "abstract" : [ { - "text" : "A Boolean value that indicates whether the mesh includes vertex colors.", + "text" : "Replace\/remove point color.", "type" : "text" } ], @@ -39810,7 +39903,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -39818,40 +39911,41 @@ }, { "kind" : "identifier", - "text" : "hasVertexColors" + "text" : "withColor" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" + }, + { + "kind" : "text", + "text" : "?) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/hasvertexcolors", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasVertexColors", + "path" : "\/documentation\/euclid\/pathpoint\/withcolor(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/withColor(_:)", "taskGroups" : [ ], - "title" : "hasVertexColors", - "usr" : "s:6Euclid4MeshV15hasVertexColorsSbvp" + "title" : "withColor(_:)", + "usr" : "s:6Euclid9PathPointV9withColoryAcA0E0VSgF" }, { "abstract" : [ { - "text" : "Creates a ", - "type" : "text" - }, - { - "code" : "Quaternion", - "type" : "codeVoice" - }, - { - "text" : " from a simd quaternion.", + "text" : "Creates a bounds from a collection of points.", "type" : "text" } ], @@ -39865,12 +39959,20 @@ }, { "kind" : "text", - "text" : "(" + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "T" + }, + { + "kind" : "text", + "text" : ">(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@SA@simd_quatd", - "text" : "simd_quatd" + "preciseIdentifier" : "s:6Euclid6BoundsVyACxcSlRzAA6VectorV7ElementRtzlufc1TL_xmfp", + "text" : "T" }, { "kind" : "text", @@ -39879,21 +39981,18 @@ ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/init(_:)-27eol", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-27eol", + "path" : "\/documentation\/euclid\/bounds\/init(_:)-27jri", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(_:)-27jri", "taskGroups" : [ ], "title" : "init(_:)", - "usr" : "s:6Euclid10QuaternionVyACSo10simd_quatdacfc" + "usr" : "s:6Euclid6BoundsVyACxcSlRzAA6VectorV7ElementRtzlufc" }, { "abstract" : [ { - "text" : "Translate the value in place.", + "text" : "Multiplies the quaternion rotation on the left by the one on the right.", "type" : "text" } ], @@ -39901,6 +40000,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -39911,44 +40018,60 @@ }, { "kind" : "identifier", - "text" : "translate" + "text" : "*=" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/translate(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/translate(by:)", + "path" : "\/documentation\/euclid\/quaternion\/*=(_:_:)-5ic2j", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*=(_:_:)-5ic2j", "taskGroups" : [ ], - "title" : "translate(by:)", - "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid4PathV" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid10QuaternionV2meoiyyACz_ACtFZ" }, { "abstract" : [ { - "text" : "Merges coplanar polygons that share one or more edges, provided the result will be convex.", + "text" : "The angle of rotation around the Y-axis.", "type" : "text" } ], @@ -39958,7 +40081,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -39966,42 +40089,47 @@ }, { "kind" : "identifier", - "text" : "detriangulate" + "text" : "yaw" }, { "kind" : "text", - "text" : "() -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/detriangulate()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/detriangulate()", + "path" : "\/documentation\/euclid\/quaternion\/yaw", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/yaw", "taskGroups" : [ ], - "title" : "detriangulate()", - "usr" : "s:6Euclid4MeshV13detriangulateACyF" + "title" : "yaw", + "usr" : "s:6Euclid10QuaternionV3yawAA5AngleVvp" }, { - "abstract" : [ - { - "text" : "Generate both the front and back faces.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "case" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", @@ -40009,23 +40137,32 @@ }, { "kind" : "identifier", - "text" : "frontAndBack" + "text" : "red" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" } ], - "kind" : "org.swift.docc.kind.enumerationCase", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/faces\/frontandback", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Faces\/frontAndBack", + "path" : "\/documentation\/euclid\/color\/red", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/red", "taskGroups" : [ ], - "title" : "Mesh.Faces.frontAndBack", - "usr" : "s:6Euclid4MeshV5FacesO12frontAndBackyA2EmF" + "title" : "red", + "usr" : "s:6Euclid5ColorV3redACvpZ" }, { "abstract" : [ { - "text" : "Returns a Boolean value that indicates whether the specified point lies on the line segment.", + "text" : "A closure that maps an STL facet color to a Euclid material.", "type" : "text" } ], @@ -40035,7 +40172,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "typealias" }, { "kind" : "text", @@ -40043,53 +40180,33 @@ }, { "kind" : "identifier", - "text" : "containsPoint" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "text" : "STLMaterialProvider" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.typeAlias", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/containspoint(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/containsPoint(_:)", + "path" : "\/documentation\/euclid\/mesh\/stlmaterialprovider", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/STLMaterialProvider", "taskGroups" : [ ], - "title" : "containsPoint(_:)", - "usr" : "s:6Euclid11LineSegmentV13containsPointySbAA6VectorVF" + "title" : "Mesh.STLMaterialProvider", + "usr" : "s:6Euclid4MeshV19STLMaterialProvidera" }, { + "abstract" : [ + { + "text" : "Indicates whether all the path’s points lie on a single plane.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -40097,31 +40214,11 @@ }, { "kind" : "identifier", - "text" : "!=" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "text" : "isPlanar" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", @@ -40129,20 +40226,20 @@ "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/alignment\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/!=(_:_:)", + "path" : "\/documentation\/euclid\/path\/isplanar", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/isPlanar", "taskGroups" : [ ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid4PathV9AlignmentO" + "title" : "isPlanar", + "usr" : "s:6Euclid4PathV8isPlanarSbvp" }, { "abstract" : [ { - "text" : "Creates a closed regular polygon.", + "text" : "Multiplies the components of the quaternion by the specified value.", "type" : "text" } ], @@ -40168,91 +40265,60 @@ }, { "kind" : "identifier", - "text" : "polygon" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "radius" + "text" : "*=" }, { "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "text" : " " }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { - "kind" : "externalParam", - "text" : "sides" + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", "text" : ", " }, - { - "kind" : "externalParam", - "text" : "color" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : "?) -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/polygon(radius:sides:color:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/polygon(radius:sides:color:)", + "path" : "\/documentation\/euclid\/quaternion\/*=(_:_:)-lsgo", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*=(_:_:)-lsgo", "taskGroups" : [ ], - "title" : "polygon(radius:sides:color:)", - "usr" : "s:6Euclid4PathV7polygon6radius5sides5colorACSd_SiAA5ColorVSgtFZ" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid10QuaternionV2meoiyyACz_SdtFZ" }, { "abstract" : [ { - "text" : "Creates a mesh from a RealityKit ", - "type" : "text" - }, - { - "code" : "ModelEntity", - "type" : "codeVoice" - }, - { - "text" : " with optional material mapping.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -40262,24 +40328,23 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "func" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:17RealityFoundation11ModelEntityC", - "text" : "ModelEntity" + "kind" : "identifier", + "text" : "scale" }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { "kind" : "externalParam", - "text" : "materialLookup" + "text" : "by" }, { "kind" : "text", @@ -40287,44 +40352,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV26RealityKitMaterialProvidera", - "text" : "RealityKitMaterialProvider" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : "?)" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/init(_:materiallookup:)-3drza", - "platforms" : [ - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "15.0", - "name" : "iOS", - "unavailable" : false - }, - { - "beta" : false, - "deprecated" : false, - "introducedAt" : "12.0", - "name" : "macOS", - "unavailable" : false - } - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:materialLookup:)-3drza", + "path" : "\/documentation\/euclid\/plane\/scale(by:)-758tv", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scale(by:)-758tv", "taskGroups" : [ ], - "title" : "init(_:materialLookup:)", - "usr" : "s:6Euclid4MeshV_14materialLookupAC17RealityFoundation11ModelEntityC_s11AnyHashableVSgAE8Material_pcSgtcfc" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid5PlaneV" }, { "abstract" : [ { - "text" : "Returns the angle between this vector and the specified plane.", + "text" : "A distance or position in 3D space.", "type" : "text" } ], @@ -40334,7 +40383,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "struct" }, { "kind" : "text", @@ -40342,49 +40391,138 @@ }, { "kind" : "identifier", - "text" : "angle" + "text" : "Vector" + } + ], + "kind" : "org.swift.docc.kind.structure", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-228p6", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-4eop9", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-5n3j", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-63ct7", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-6nlm", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(size:)-8b34m", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(size:)-nkyk" + ], + "title" : "Creating Vectors" }, { - "kind" : "text", - "text" : "(" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/zero", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/one", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitX", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitY", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitZ" + ], + "title" : "Default Vectors" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/x", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/y", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/z", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/length", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/lengthSquared", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isZero", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isOne" + ], + "title" : "Vector Properties" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/dot(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/cross(_:)" + ], + "title" : "Computing Vectors" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/lerp(_:_:)" + ], + "title" : "Interpolating Vectors" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/normalized()", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-350oy", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-356zr", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/translated(by:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/transformed(by:)" + ], + "title" : "Transforming Vectors" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/angle(with:)-29paf", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/angle(with:)-9sfg1", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/distance(from:)-3eglz", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/distance(from:)-5p7ko", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/project(onto:)-817o2", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/project(onto:)-rksk" + ], + "title" : "Comparing Vectors" }, { - "kind" : "externalParam", - "text" : "with" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/+=(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-=(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-48gl1", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-5mcy5", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*=(_:_:)-3ur4e" + ], + "title" : "Operators" }, { - "kind" : "text", - "text" : ": " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*=(_:_:)-9l46a", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/\/(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/\/=(_:_:)" + ], + "title" : "Operators" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-5s4mt", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-7r7et" + ], + "title" : "Initializers" }, { - "kind" : "text", - "text" : ") -> " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/components", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isNormalized" + ], + "title" : "Instance Properties" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/AdditiveArithmetic-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Comparable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Decodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Encodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Equatable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/Transformable-Implementations" + ], + "title" : "Default Implementations" } ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/angle(with:)-9sfg1", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/angle(with:)-9sfg1", - "taskGroups" : [ - - ], - "title" : "angle(with:)", - "usr" : "s:6Euclid6VectorV5angle4withAA5AngleVAA5PlaneV_tF" + "title" : "Vector", + "usr" : "s:6Euclid6VectorV" }, { "abstract" : [ { - "text" : "Creates an axis-aligned cubical mesh.", + "text" : "Creates a plane from a point and surface normal.", "type" : "text" } ], @@ -40394,31 +40532,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "cube" + "text" : "init" }, { "kind" : "text", - "text" : "(" + "text" : "?(" }, { "kind" : "externalParam", - "text" : "center" + "text" : "normal" }, { "kind" : "text", @@ -40435,58 +40557,7 @@ }, { "kind" : "externalParam", - "text" : "size" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "faces" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", - "text" : "Faces" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "wrapMode" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", - "text" : "WrapMode" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "material" + "text" : "pointOnPlane" }, { "kind" : "text", @@ -40494,33 +40565,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : "?) -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/cube(center:size:faces:wrapmode:material:)-eado", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/cube(center:size:faces:wrapMode:material:)-eado", + "path" : "\/documentation\/euclid\/plane\/init(normal:pointonplane:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(normal:pointOnPlane:)", "taskGroups" : [ ], - "title" : "cube(center:size:faces:wrapMode:material:)", - "usr" : "s:6Euclid4MeshV4cube6center4size5faces8wrapMode8materialAcA6VectorV_SdAC5FacesOAC04WrapH0Os11AnyHashableVSgtFZ" + "title" : "init(normal:pointOnPlane:)", + "usr" : "s:6Euclid5PlaneV6normal07pointOnB0ACSgAA6VectorV_AHtcfc" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Do not generate texture coordinates.", "type" : "text" } ], @@ -40530,7 +40596,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "case" }, { "kind" : "text", @@ -40538,44 +40604,23 @@ }, { "kind" : "identifier", - "text" : "transform" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" - }, - { - "kind" : "text", - "text" : ")" + "text" : "none" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.enumerationCase", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/transform(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/transform(by:)", + "path" : "\/documentation\/euclid\/mesh\/wrapmode\/none", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/WrapMode\/none", "taskGroups" : [ ], - "title" : "transform(by:)", - "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid7PolygonV" + "title" : "Mesh.WrapMode.none", + "usr" : "s:6Euclid4MeshV8WrapModeO4noneyA2EmF" }, { "abstract" : [ { - "text" : "Returns a rotated copy of the value.", + "text" : "Returns a scaled copy of the value.", "type" : "text" } ], @@ -40593,7 +40638,7 @@ }, { "kind" : "identifier", - "text" : "rotated" + "text" : "scaled" }, { "kind" : "text", @@ -40609,8 +40654,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -40618,23 +40663,24 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transformable\/rotated(by:)-76uyz", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/rotated(by:)-76uyz", + "path" : "\/documentation\/euclid\/plane\/scaled(by:)-6axqe", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-6axqe", "taskGroups" : [ ], - "title" : "rotated(by:)", - "usr" : "s:6Euclid13TransformableP7rotated2byxAA8RotationV_tF" + "title" : "scaled(by:)", + "usr" : "s:6Euclid5PlaneV6scaled2byACSd_tF" }, { "abstract" : [ { - "text" : "Returns the componentwise difference between two vectors.", + "text" : "Creates a quaternion representing a rotation around the Y axis.", "type" : "text" } ], @@ -40660,11 +40706,7 @@ }, { "kind" : "identifier", - "text" : "-" - }, - { - "kind" : "text", - "text" : " " + "text" : "yaw" }, { "kind" : "text", @@ -40672,17 +40714,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", @@ -40690,24 +40723,27 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/-(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-(_:_:)", + "path" : "\/documentation\/euclid\/quaternion\/yaw(_:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/yaw(_:)", "taskGroups" : [ ], - "title" : "-(_:_:)", - "usr" : "s:6Euclid6VectorV1soiyA2C_ACtFZ" + "title" : "yaw(_:)", + "usr" : "s:6Euclid10QuaternionV3yawyAcA5AngleVFZ" }, { "abstract" : [ { - "text" : "Encodes this vertex into the given encoder.", + "text" : "An infinite line in 3D space.", "type" : "text" } ], @@ -40717,7 +40753,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "struct" }, { "kind" : "text", @@ -40725,48 +40761,55 @@ }, { "kind" : "identifier", - "text" : "encode" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "to" - }, + "text" : "Line" + } + ], + "kind" : "org.swift.docc.kind.structure", + "language" : "swift", + "path" : "\/documentation\/euclid\/line", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line", + "taskGroups" : [ { - "kind" : "text", - "text" : ": " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/init(origin:direction:)" + ], + "title" : "Creating Lines" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7EncoderP", - "text" : "Encoder" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/origin", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/direction" + ], + "title" : "Line Properties" }, { - "kind" : "text", - "text" : ") " + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/containsPoint(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/distance(from:)-4o41", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/distance(from:)-77i61", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersection(with:)-2nysu", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersection(with:)-7s1sd", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersects(_:)" + ], + "title" : "Comparing Lines" }, { - "kind" : "keyword", - "text" : "throws" + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Decodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Encodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/Equatable-Implementations" + ], + "title" : "Default Implementations" } ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/encode(to:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/encode(to:)", - "taskGroups" : [ - - ], - "title" : "encode(to:)", - "usr" : "s:6Euclid6VertexV6encode2toys7Encoder_p_tKF" + "title" : "Line", + "usr" : "s:6Euclid4LineV" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the value.", + "text" : "Returns a transformed copy of the mesh.", "type" : "text" } ], @@ -40809,24 +40852,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/transformed(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/transformed(by:)", + "path" : "\/documentation\/euclid\/mesh\/transformed(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/transformed(by:)", "taskGroups" : [ ], "title" : "transformed(by:)", - "usr" : "s:6Euclid4PathV11transformed2byAcA9TransformV_tF" + "usr" : "s:6Euclid4MeshV11transformed2byAcA9TransformV_tF" }, { "abstract" : [ { - "text" : "Creates a rotation from a quaternion.", + "text" : "Creates a new mesh from an array of polygons.", "type" : "text" } ], @@ -40840,35 +40883,32 @@ }, { "kind" : "text", - "text" : "(" + "text" : "([" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" }, { "kind" : "text", - "text" : ")" + "text" : "])" } ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/init(_:)-5w6mn", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-5w6mn", + "path" : "\/documentation\/euclid\/mesh\/init(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(_:)", "taskGroups" : [ ], "title" : "init(_:)", - "usr" : "s:6Euclid8RotationVyAcA10QuaternionVcfc" + "usr" : "s:6Euclid4MeshVyACSayAA7PolygonVGcfc" }, { "abstract" : [ { - "text" : "Computes the convex hull of a set of polygons.", + "text" : "An empty bounds.", "type" : "text" } ], @@ -40886,7 +40926,7 @@ }, { "kind" : "keyword", - "text" : "func" + "text" : "let" }, { "kind" : "text", @@ -40894,49 +40934,32 @@ }, { "kind" : "identifier", - "text" : "convexHull" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "of" - }, - { - "kind" : "text", - "text" : ": [" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "text" : "empty" }, { "kind" : "text", - "text" : "]) -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/convexhull(of:)-6c896", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:)-6c896", + "path" : "\/documentation\/euclid\/bounds\/empty", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/empty", "taskGroups" : [ ], - "title" : "convexHull(of:)", - "usr" : "s:6Euclid4MeshV10convexHull2ofACSayAA7PolygonVG_tFZ" + "title" : "empty", + "usr" : "s:6Euclid6BoundsV5emptyACvpZ" }, { "abstract" : [ { - "text" : "Rotate the value in place.", + "text" : "Encodes this path into the given encoder.", "type" : "text" } ], @@ -40954,7 +40977,7 @@ }, { "kind" : "identifier", - "text" : "rotate" + "text" : "encode" }, { "kind" : "text", @@ -40962,7 +40985,7 @@ }, { "kind" : "externalParam", - "text" : "by" + "text" : "to" }, { "kind" : "text", @@ -40970,28 +40993,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:s7EncoderP", + "text" : "Encoder" }, { "kind" : "text", - "text" : ")" + "text" : ") " + }, + { + "kind" : "keyword", + "text" : "throws" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/rotate(by:)-l48f", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/rotate(by:)-l48f", + "path" : "\/documentation\/euclid\/path\/encode(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/encode(to:)", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : "encode(to:)", + "usr" : "s:6Euclid4PathV6encode2toys7Encoder_p_tKF" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "The polygons in the mesh, grouped by material.", "type" : "text" } ], @@ -41001,15 +41028,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -41017,56 +41036,53 @@ }, { "kind" : "identifier", - "text" : "*=" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "keyword", - "text" : "inout" + "text" : "polygonsByMaterial" }, { "kind" : "text", - "text" : " " + "text" : ": [" }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : ", " + "text" : "? : [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" }, { "kind" : "text", - "text" : ")" + "text" : "]]" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/transformable\/*=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/*=(_:_:)", + "path" : "\/documentation\/euclid\/mesh\/polygonsbymaterial", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/polygonsByMaterial", "taskGroups" : [ ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ" + "title" : "polygonsByMaterial", + "usr" : "s:6Euclid4MeshV18polygonsByMaterialSDys11AnyHashableVSgSayAA7PolygonVGGvp" }, { "abstract" : [ { - "text" : "Return a copy of the mesh with spherically-mapped texture coordinates.", + "text" : "Creates a color from an ", + "type" : "text" + }, + { + "code" : "NSColor", + "type" : "codeVoice" + }, + { + "text" : ".", "type" : "text" } ], @@ -41076,53 +41092,31 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "sphereMapped" + "text" : "init" }, { "kind" : "text", - "text" : "() -> " + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/spheremapped()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/sphereMapped()", - "taskGroups" : [ - - ], - "title" : "sphereMapped()", - "usr" : "s:6Euclid4MeshV12sphereMappedACyF" - }, - { - "availableLanguages" : [ - "swift" + "preciseIdentifier" : "c:objc(cs)NSColor", + "text" : "NSColor" + }, + { + "kind" : "text", + "text" : ")" + } ], - "kind" : "org.swift.docc.kind.collectionGroup", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/decodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/Decodable-Implementations", + "path" : "\/documentation\/euclid\/color\/init(_:)-7d8un", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:)-7d8un", "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(from:)" - ], - "title" : "Initializers" - } + ], - "title" : "Decodable Implementations" + "title" : "init(_:)", + "usr" : "s:6Euclid5ColorVyACSo7NSColorCcfc" }, { "abstract" : [ @@ -41171,26 +41165,18 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/rotate(by:)-11t07", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotate(by:)-11t07", + "path" : "\/documentation\/euclid\/vector\/rotate(by:)-3ed6z", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/rotate(by:)-3ed6z", "taskGroups" : [ ], "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid9TransformV" + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid6VectorV" }, { "abstract" : [ { - "text" : "The unique polygon edges in the mesh.", - "type" : "text" - }, - { - "text" : " ", - "type" : "text" - }, - { - "text" : "The direction of each edge is normalized relative to the origin to simplify edge-equality comparisons.", + "text" : "A Boolean value that indicates whether the mesh includes texture coordinates.", "type" : "text" } ], @@ -41208,7 +41194,7 @@ }, { "kind" : "identifier", - "text" : "uniqueEdges" + "text" : "hasTexcoords" }, { "kind" : "text", @@ -41216,37 +41202,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sh", - "text" : "Set" - }, - { - "kind" : "text", - "text" : "<" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" - }, - { - "kind" : "text", - "text" : ">" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/uniqueedges", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/uniqueEdges", + "path" : "\/documentation\/euclid\/mesh\/hastexcoords", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/hasTexcoords", "taskGroups" : [ ], - "title" : "uniqueEdges", - "usr" : "s:6Euclid4MeshV11uniqueEdgesShyAA11LineSegmentVGvp" + "title" : "hasTexcoords", + "usr" : "s:6Euclid4MeshV12hasTexcoordsSbvp" }, { "abstract" : [ { - "text" : "The bounds of the mesh.", + "text" : "Splits a polygon into two or more convex polygons using the “ear clipping” method.", "type" : "text" } ], @@ -41256,7 +41229,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -41264,48 +41237,28 @@ }, { "kind" : "identifier", - "text" : "bounds" + "text" : "tessellate" }, { "kind" : "text", - "text" : ": " + "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/bounds", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/bounds", - "taskGroups" : [ - - ], - "title" : "bounds", - "usr" : "s:6Euclid4MeshV6boundsAA6BoundsVvp" - }, - { - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "init" + "kind" : "externalParam", + "text" : "maxSides" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { - "kind" : "externalParam", - "text" : "polygon" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : ": " + "text" : ") -> [" }, { "kind" : "typeIdentifier", @@ -41314,38 +41267,33 @@ }, { "kind" : "text", - "text" : ")" + "text" : "]" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/init(polygon:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(polygon:)", + "path" : "\/documentation\/euclid\/polygon\/tessellate(maxsides:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/tessellate(maxSides:)", "taskGroups" : [ ], - "title" : "init(polygon:)", - "usr" : "s:6Euclid4PathV7polygonAcA7PolygonV_tcfc" + "title" : "tessellate(maxSides:)", + "usr" : "s:6Euclid7PolygonV10tessellate8maxSidesSayACGSi_tF" }, { + "abstract" : [ + { + "text" : "The size of the bounds. The minimum returned size is zero, even if max < min.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -41353,64 +41301,32 @@ }, { "kind" : "identifier", - "text" : "..." - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:SN", - "text" : "ClosedRange" + "text" : "size" }, { "kind" : "text", - "text" : "<" + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ">" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/'...(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/...(_:_:)", + "path" : "\/documentation\/euclid\/bounds\/size", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/size", "taskGroups" : [ ], - "title" : "...(_:_:)", - "usr" : "s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "size", + "usr" : "s:6Euclid6BoundsV4sizeAA6VectorVvp" }, { "abstract" : [ { - "text" : "Translate the value in place.", + "text" : "Encodes this angle into the given encoder.", "type" : "text" } ], @@ -41428,7 +41344,7 @@ }, { "kind" : "identifier", - "text" : "translate" + "text" : "encode" }, { "kind" : "text", @@ -41436,7 +41352,7 @@ }, { "kind" : "externalParam", - "text" : "by" + "text" : "to" }, { "kind" : "text", @@ -41444,28 +41360,32 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:s7EncoderP", + "text" : "Encoder" }, { "kind" : "text", - "text" : ")" + "text" : ") " + }, + { + "kind" : "keyword", + "text" : "throws" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/translate(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/translate(by:)", + "path" : "\/documentation\/euclid\/angle\/encode(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/encode(to:)", "taskGroups" : [ ], - "title" : "translate(by:)", - "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "encode(to:)", + "usr" : "s:6Euclid5AngleV6encode2toys7Encoder_p_tKF" }, { "abstract" : [ { - "text" : "Split the mesh along a plane.", + "text" : "Creates a vector from the values you provide.", "type" : "text" } ], @@ -41475,90 +41395,64 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "split" + "text" : "init" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "externalParam", - "text" : "along" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" - }, - { - "kind" : "text", - "text" : ") -> (front" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" - }, - { - "kind" : "text", - "text" : "?, back" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : "?)" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/split(along:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/split(along:)", + "path" : "\/documentation\/euclid\/vector\/init(_:_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:_:_:)", "taskGroups" : [ ], - "title" : "split(along:)", - "usr" : "s:6Euclid4MeshV5split5alongACSg5front_AF4backtAA5PlaneV_tF" + "title" : "init(_:_:_:)", + "usr" : "s:6Euclid6VectorVyACSd_S2dtcfc" }, { + "abstract" : [ + { + "text" : "The translation or position component of the transform.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -41566,52 +41460,40 @@ }, { "kind" : "identifier", - "text" : "<=" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "text" : "Self" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "text" : "Self" + "text" : "offset" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/_=(_:_:)-8q2nt", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_=(_:_:)-8q2nt", + "path" : "\/documentation\/euclid\/transform\/offset", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/offset", "taskGroups" : [ ], - "title" : "<=(_:_:)", - "usr" : "s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : "offset", + "usr" : "s:6Euclid9TransformV6offsetAA6VectorVvp" }, { "abstract" : [ { - "text" : "Deprecated.", + "text" : "Creates a ", + "type" : "text" + }, + { + "code" : "Vector", + "type" : "codeVoice" + }, + { + "text" : " from a simd vector 3.", "type" : "text" } ], @@ -41621,60 +41503,72 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "with" + "text" : "init" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "externalParam", - "text" : "color" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5ColorV", - "text" : "Color" + "preciseIdentifier" : "c:@T@simd_float3", + "text" : "simd_float3" }, { "kind" : "text", - "text" : "?) -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/with(color:)", - "platforms" : [ + "path" : "\/documentation\/euclid\/vector\/init(_:)-5s4mt", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(_:)-5s4mt", + "taskGroups" : [ ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/with(color:)", + "title" : "init(_:)", + "usr" : "s:6Euclid6VectorVyACs5SIMD3VySfGcfc" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/bounds\/decodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Decodable-Implementations", "taskGroups" : [ - + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(from:)" + ], + "title" : "Initializers" + } ], - "title" : "with(color:)", - "usr" : "s:6Euclid4PathV4with5colorAcA5ColorVSg_tF" + "title" : "Decodable Implementations" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/linesegment\/decodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Decodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/init(from:)" + ], + "title" : "Initializers" + } + ], + "title" : "Decodable Implementations" }, { "abstract" : [ { - "text" : "The points that make up the corners of the bounds.", + "text" : "The direction of the line segment as a normalized vector.", "type" : "text" } ], @@ -41692,36 +41586,32 @@ }, { "kind" : "identifier", - "text" : "corners" + "text" : "direction" }, { "kind" : "text", - "text" : ": [" + "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:6Euclid6VectorV", "text" : "Vector" - }, - { - "kind" : "text", - "text" : "]" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/corners", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/corners", + "path" : "\/documentation\/euclid\/linesegment\/direction", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/direction", "taskGroups" : [ ], - "title" : "corners", - "usr" : "s:6Euclid6BoundsV7cornersSayAA6VectorVGvp" + "title" : "direction", + "usr" : "s:6Euclid11LineSegmentV9directionAA6VectorVvp" }, { "abstract" : [ { - "text" : "Transform the value in place.", + "text" : "Returns whether the leftmost angle has the lower value.", "type" : "text" } ], @@ -41747,7 +41637,7 @@ }, { "kind" : "identifier", - "text" : "*=" + "text" : "<" }, { "kind" : "text", @@ -41758,45 +41648,43 @@ "text" : "(" }, { - "kind" : "keyword", - "text" : "inout" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/*=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/*=(_:_:)", + "path" : "\/documentation\/euclid\/angle\/_(_:_:)-1aqv9", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/_(_:_:)-1aqv9", "taskGroups" : [ ], - "title" : "*=(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid6VertexV" + "title" : "<(_:_:)", + "usr" : "s:6Euclid5AngleV1loiySbAC_ACtFZ" }, { "abstract" : [ { - "text" : "Returns the inverse angle.", + "text" : "Creates a new plane by decoding from the given decoder.", "type" : "text" } ], @@ -41806,61 +41694,109 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "keyword", - "text" : "func" + "kind" : "externalParam", + "text" : "from" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "identifier", - "text" : "-" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s7DecoderP", + "text" : "Decoder" }, { "kind" : "text", - "text" : " " + "text" : ") " }, { - "kind" : "text", - "text" : "(" + "kind" : "keyword", + "text" : "throws" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/plane\/init(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(from:)", + "taskGroups" : [ + + ], + "title" : "init(from:)", + "usr" : "s:6Euclid5PlaneV4fromACs7Decoder_p_tKcfc" + }, + { + "abstract" : [ + { + "text" : "The X component of the vector.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "var" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "x" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/angle\/-(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/-(_:)", + "path" : "\/documentation\/euclid\/vector\/x", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/x", "taskGroups" : [ ], - "title" : "-(_:)", - "usr" : "s:6Euclid5AngleV1sopyA2CFZ" + "title" : "x", + "usr" : "s:6Euclid6VectorV1xSdvp" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/polygon\/encodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Encodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/encode(to:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Encodable Implementations" }, { "abstract" : [ { - "text" : "Returns a quaternion with its components multiplied by the specified value.", + "text" : "Scale the value in place.", "type" : "text" } ], @@ -41868,14 +41804,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -41886,24 +41814,19 @@ }, { "kind" : "identifier", - "text" : "*" - }, - { - "kind" : "text", - "text" : " " + "text" : "scale" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", @@ -41912,31 +41835,23 @@ }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/*(_:_:)-2drke", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*(_:_:)-2drke", + "path" : "\/documentation\/euclid\/linesegment\/scale(by:)-8v4ag", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/scale(by:)-8v4ag", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid10QuaternionV1moiyA2C_SdtFZ" + "title" : "scale(by:)", + "usr" : "s:6Euclid13TransformablePAAE5scale2byySd_tF::SYNTHESIZED::s:6Euclid11LineSegmentV" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the mesh.", + "text" : "Clip mesh to the specified plane and optionally fill sheared faces with specified material.", "type" : "text" } ], @@ -41954,7 +41869,7 @@ }, { "kind" : "identifier", - "text" : "transformed" + "text" : "clip" }, { "kind" : "text", @@ -41962,7 +41877,7 @@ }, { "kind" : "externalParam", - "text" : "by" + "text" : "to" }, { "kind" : "text", @@ -41970,12 +41885,29 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid5PlaneV", + "text" : "Plane" }, { "kind" : "text", - "text" : ") -> " + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "fill" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" + }, + { + "kind" : "text", + "text" : "?) -> " }, { "kind" : "typeIdentifier", @@ -41985,18 +41917,18 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/transformed(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/transformed(by:)", + "path" : "\/documentation\/euclid\/mesh\/clip(to:fill:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/clip(to:fill:)", "taskGroups" : [ ], - "title" : "transformed(by:)", - "usr" : "s:6Euclid4MeshV11transformed2byAcA9TransformV_tF" + "title" : "clip(to:fill:)", + "usr" : "s:6Euclid4MeshV4clip2to4fillAcA5PlaneV_s11AnyHashableVSgtF" }, { "abstract" : [ { - "text" : "Returns a new mesh created by subtracting the volume of the", + "text" : "The surface normal of the vertex, used to calculate lighting.", "type" : "text" }, { @@ -42004,7 +41936,7 @@ "type" : "text" }, { - "text" : "mesh parameter from the receiver.", + "text" : "Set this to zero if you want the normal to be calculated automatically from the polygon face normal.", "type" : "text" } ], @@ -42014,7 +41946,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -42022,24 +41954,7 @@ }, { "kind" : "identifier", - "text" : "subtracting" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "isCancelled" + "text" : "normal" }, { "kind" : "text", @@ -42047,33 +41962,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/subtracting(_:iscancelled:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/subtracting(_:isCancelled:)", + "path" : "\/documentation\/euclid\/vertex\/normal", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/normal", "taskGroups" : [ ], - "title" : "subtracting(_:isCancelled:)", - "usr" : "s:6Euclid4MeshV11subtracting_11isCancelledA2C_SbyXEtF" + "title" : "normal", + "usr" : "s:6Euclid6VertexV6normalAA6VectorVvp" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -42091,7 +41997,7 @@ }, { "kind" : "identifier", - "text" : "scaled" + "text" : "transform" }, { "kind" : "text", @@ -42107,41 +42013,67 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/scaled(by:)-5dvvh", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-5dvvh", + "path" : "\/documentation\/euclid\/transformable\/transform(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transformable\/transform(by:)", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid6BoundsV6scaled2byAcA6VectorV_tF" + "title" : "transform(by:)", + "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF" }, { "abstract" : [ { - "text" : "Returns a new mesh representing the volume shared by both the mesh", + "text" : "Creates a color from an array of component values.", "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" }, { - "text" : " ", - "type" : "text" + "kind" : "text", + "text" : "?([" }, { - "text" : "parameter and the receiver. If these do not intersect, an empty mesh will be returned.", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : "])" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/color\/init(_:)-53lhy", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:)-53lhy", + "taskGroups" : [ + + ], + "title" : "init(_:)", + "usr" : "s:6Euclid5ColorVyACSgSaySdGcfc" + }, + { + "abstract" : [ + { + "text" : "Returns a copy of the mesh with the specified old material replaced by a new one.", "type" : "text" } ], @@ -42159,7 +42091,7 @@ }, { "kind" : "identifier", - "text" : "intersection" + "text" : "replacing" }, { "kind" : "text", @@ -42167,16 +42099,16 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : ", " + "text" : "?, " }, { "kind" : "externalParam", - "text" : "isCancelled" + "text" : "with" }, { "kind" : "text", @@ -42184,12 +42116,12 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : ") -> " + "text" : "?) -> " }, { "kind" : "typeIdentifier", @@ -42199,18 +42131,26 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/intersection(_:iscancelled:)-swift.method", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/intersection(_:isCancelled:)-swift.method", + "path" : "\/documentation\/euclid\/mesh\/replacing(_:with:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/replacing(_:with:)", "taskGroups" : [ ], - "title" : "intersection(_:isCancelled:)", - "usr" : "s:6Euclid4MeshV12intersection_11isCancelledA2C_SbyXEtF" + "title" : "replacing(_:with:)", + "usr" : "s:6Euclid4MeshV9replacing_4withACs11AnyHashableVSg_AHtF" }, { "abstract" : [ { - "text" : "Scale the value in place.", + "text" : "Creates a ", + "type" : "text" + }, + { + "code" : "Rotation", + "type" : "codeVoice" + }, + { + "text" : " from a simd quaternion.", "type" : "text" } ], @@ -42220,52 +42160,36 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "scale" + "text" : "init" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "externalParam", - "text" : "by" - }, - { - "kind" : "text", - "text" : ": " - }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "c:@SA@simd_quatd", + "text" : "simd_quatd" }, { "kind" : "text", "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/scale(by:)-7pxnt", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/scale(by:)-7pxnt", + "path" : "\/documentation\/euclid\/rotation\/init(_:)-7j4ql", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/init(_:)-7j4ql", "taskGroups" : [ ], - "title" : "scale(by:)", - "usr" : "s:6Euclid13TransformablePAAE5scale2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid9PathPointV" + "title" : "init(_:)", + "usr" : "s:6Euclid8RotationVyACSo10simd_quatdacfc" }, { "abstract" : [ { - "text" : "Computes the point of intersection between a line segment and a plane.", + "text" : "Returns a scaled copy of the value.", "type" : "text" } ], @@ -42283,7 +42207,7 @@ }, { "kind" : "identifier", - "text" : "intersection" + "text" : "scaled" }, { "kind" : "text", @@ -42291,7 +42215,7 @@ }, { "kind" : "externalParam", - "text" : "with" + "text" : "by" }, { "kind" : "text", @@ -42299,8 +42223,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid11LineSegmentV", - "text" : "LineSegment" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -42308,28 +42232,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : "?" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/intersection(with:)-9o28g", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/intersection(with:)-9o28g", + "path" : "\/documentation\/euclid\/path\/scaled(by:)-84xdd", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/scaled(by:)-84xdd", "taskGroups" : [ ], - "title" : "intersection(with:)", - "usr" : "s:6Euclid5PlaneV12intersection4withAA6VectorVSgAA11LineSegmentV_tF" + "title" : "scaled(by:)", + "usr" : "s:6Euclid4PathV6scaled2byACSd_tF" }, { "abstract" : [ { - "text" : "Returns a new vector representing the maximum of the components of the two vectors.", + "text" : "A Boolean value that indicates whether the polygon is convex.", "type" : "text" } ], @@ -42339,7 +42259,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -42347,50 +42267,32 @@ }, { "kind" : "identifier", - "text" : "max" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "text" : "isConvex" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.function", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/max(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/max(_:_:)", + "path" : "\/documentation\/euclid\/polygon\/isconvex", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/isConvex", "taskGroups" : [ ], - "title" : "max(_:_:)", - "usr" : "s:6Euclid3maxyAA6VectorVAD_ADtF" + "title" : "isConvex", + "usr" : "s:6Euclid7PolygonV8isConvexSbvp" }, { "abstract" : [ { - "text" : "Returns a Boolean value that indicates whether the lines intersect.", + "text" : "Returns the product of a numeric multiplier and an angle.", "type" : "text" } ], @@ -42398,6 +42300,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -42408,7 +42318,11 @@ }, { "kind" : "identifier", - "text" : "intersects" + "text" : "*" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", @@ -42416,8 +42330,17 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4LineV", - "text" : "Line" + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" }, { "kind" : "text", @@ -42425,31 +42348,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/line\/intersects(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/intersects(_:)", + "path" : "\/documentation\/euclid\/angle\/*(_:_:)-2ew65", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/*(_:_:)-2ew65", "taskGroups" : [ ], - "title" : "intersects(_:)", - "usr" : "s:6Euclid4LineV10intersectsySbACF" + "title" : "*(_:_:)", + "usr" : "s:6Euclid5AngleV1moiyACSd_ACtFZ" }, { - "abstract" : [ - { - "text" : "Rotate the value in place.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -42460,47 +42385,52 @@ }, { "kind" : "identifier", - "text" : "rotate" + "text" : "!=" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "text" : "Self" }, { "kind" : "text", - "text" : ")" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/rotate(by:)-1azi6", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/rotate(by:)-1azi6", + "path" : "\/documentation\/euclid\/pathpoint\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/!=(_:_:)", "taskGroups" : [ ], - "title" : "rotate(by:)", - "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA10QuaternionV_tF::SYNTHESIZED::s:6Euclid5PlaneV" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid9PathPointV" }, { "abstract" : [ { - "text" : "Creates a rotation from Euler angles applied in roll\/yaw\/pitch order.", + "text" : "Creates a new path point by decoding from the given decoder.", "type" : "text" } ], @@ -42518,24 +42448,7 @@ }, { "kind" : "externalParam", - "text" : "roll" - }, - { - "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "yaw" + "text" : "from" }, { "kind" : "text", @@ -42543,45 +42456,35 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" - }, - { - "kind" : "text", - "text" : ", " - }, - { - "kind" : "externalParam", - "text" : "pitch" + "preciseIdentifier" : "s:s7DecoderP", + "text" : "Decoder" }, { "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "text" : ") " }, { - "kind" : "text", - "text" : ")" + "kind" : "keyword", + "text" : "throws" } ], "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/init(roll:yaw:pitch:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(roll:yaw:pitch:)", + "path" : "\/documentation\/euclid\/pathpoint\/init(from:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/init(from:)", "taskGroups" : [ ], - "title" : "init(roll:yaw:pitch:)", - "usr" : "s:6Euclid10QuaternionV4roll3yaw5pitchAcA5AngleV_A2Htcfc" - }, - { + "title" : "init(from:)", + "usr" : "s:6Euclid9PathPointV4fromACs7Decoder_p_tKcfc" + }, + { + "abstract" : [ + { + "text" : "Returns a vector with its components multiplied by the specified value.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -42604,7 +42507,7 @@ }, { "kind" : "identifier", - "text" : ">=" + "text" : "*" }, { "kind" : "text", @@ -42616,7 +42519,8 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", @@ -42624,7 +42528,8 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -42632,21 +42537,27 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/_=(_:_:)-5dvuy", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/_=(_:_:)-5dvuy", + "path" : "\/documentation\/euclid\/vector\/*(_:_:)-48gl1", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-48gl1", "taskGroups" : [ ], - "title" : ">=(_:_:)", - "usr" : "s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : "*(_:_:)", + "usr" : "s:6Euclid6VectorV1moiyACSd_ACtFZ" }, { + "abstract" : [ + { + "text" : "Transform the value in place.", + "type" : "text" + } + ], "availableLanguages" : [ "swift" ], @@ -42669,7 +42580,7 @@ }, { "kind" : "identifier", - "text" : "!=" + "text" : "*=" }, { "kind" : "text", @@ -42680,12 +42591,12 @@ "text" : "(" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "keyword", + "text" : "inout" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { "kind" : "typeIdentifier", @@ -42693,28 +42604,32 @@ }, { "kind" : "text", - "text" : ") -> " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" + }, + { + "kind" : "text", + "text" : ")" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/!=(_:_:)", + "path" : "\/documentation\/euclid\/vertex\/*=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/*=(_:_:)", "taskGroups" : [ ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid9PathPointV" + "title" : "*=(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE2meoiyyxz_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid6VertexV" }, { "abstract" : [ { - "text" : "Creates an extruded text model from a string.", + "text" : "Create a mesh from STL data.", "type" : "text" } ], @@ -42724,40 +42639,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "text" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:SS", - "text" : "String" + "text" : "init" }, { "kind" : "text", - "text" : ", " + "text" : "?(" }, { "kind" : "externalParam", - "text" : "font" + "text" : "stlData" }, { "kind" : "text", @@ -42765,16 +42655,16 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@T@CTFontRef", - "text" : "CTFont" + "preciseIdentifier" : "s:10Foundation4DataV", + "text" : "Data" }, { "kind" : "text", - "text" : "?, " + "text" : ", " }, { "kind" : "externalParam", - "text" : "width" + "text" : "materialLookup" }, { "kind" : "text", @@ -42782,50 +42672,93 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid4MeshV19STLMaterialProvidera", + "text" : "STLMaterialProvider" }, { "kind" : "text", - "text" : "?, " - }, + "text" : "?)" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/init(stldata:materiallookup:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/init(stlData:materialLookup:)", + "taskGroups" : [ + + ], + "title" : "init(stlData:materialLookup:)", + "usr" : "s:6Euclid4MeshV7stlData14materialLookupACSg10Foundation0D0V_s11AnyHashableVSgAA5ColorVSgcSgtcfc" + }, + { + "abstract" : [ { - "kind" : "externalParam", - "text" : "depth" + "text" : "Creates a path from an array of path points.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "init" }, { "kind" : "text", - "text" : ": " + "text" : "([" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" }, { "kind" : "text", - "text" : ", " - }, + "text" : "])" + } + ], + "kind" : "org.swift.docc.kind.initializer", + "language" : "swift", + "path" : "\/documentation\/euclid\/path\/init(_:)-4jhkw", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:)-4jhkw", + "taskGroups" : [ + + ], + "title" : "init(_:)", + "usr" : "s:6Euclid4PathVyACSayAA0B5PointVGcfc" + }, + { + "abstract" : [ { - "kind" : "externalParam", - "text" : "detail" + "text" : "Deprecated.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : ": " + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" + "kind" : "identifier", + "text" : "with" }, { "kind" : "text", - "text" : ", " + "text" : "(" }, { "kind" : "externalParam", - "text" : "material" + "text" : "color" }, { "kind" : "text", @@ -42833,8 +42766,8 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", @@ -42842,24 +42775,27 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/text(_:font:width:depth:detail:material:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/text(_:font:width:depth:detail:material:)", + "path" : "\/documentation\/euclid\/path\/with(color:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/with(color:)", "taskGroups" : [ ], - "title" : "text(_:font:width:depth:detail:material:)", - "usr" : "s:6Euclid4MeshV4text_4font5width5depth6detail8materialACSS_So9CTFontRefaSgSdSgSdSis11AnyHashableVSgtFZ" + "title" : "with(color:)", + "usr" : "s:6Euclid4PathV4with5colorAcA5ColorVSg_tF" }, { "abstract" : [ { - "text" : "Creates a new plane by decoding from the given decoder.", + "text" : "An array containing the raw components of the quaternion.", "type" : "text" } ], @@ -42869,48 +42805,47 @@ "fragments" : [ { "kind" : "keyword", - "text" : "init" + "text" : "var" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "from" + "kind" : "identifier", + "text" : "components" }, { "kind" : "text", - "text" : ": " + "text" : ": [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s7DecoderP", - "text" : "Decoder" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "throws" + "text" : "]" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/init(from:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/init(from:)", + "path" : "\/documentation\/euclid\/quaternion\/components", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/components", "taskGroups" : [ ], - "title" : "init(from:)", - "usr" : "s:6Euclid5PlaneV4fromACs7Decoder_p_tKcfc" + "title" : "components", + "usr" : "s:6Euclid10QuaternionV10componentsSaySdGvp" }, { "abstract" : [ { - "text" : "Creates a quadratic bezier spline.", + "text" : "A Boolean value that indicates whether the bounds is empty (has zero volume).", "type" : "text" } ], @@ -42920,15 +42855,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -42936,24 +42863,7 @@ }, { "kind" : "identifier", - "text" : "curve" - }, - { - "kind" : "text", - "text" : "([" - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9PathPointV", - "text" : "PathPoint" - }, - { - "kind" : "text", - "text" : "], " - }, - { - "kind" : "externalParam", - "text" : "detail" + "text" : "isEmpty" }, { "kind" : "text", @@ -42961,33 +42871,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Si", - "text" : "Int" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4PathV", - "text" : "Path" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/curve(_:detail:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/curve(_:detail:)", + "path" : "\/documentation\/euclid\/bounds\/isempty", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/isEmpty", "taskGroups" : [ ], - "title" : "curve(_:detail:)", - "usr" : "s:6Euclid4PathV5curve_6detailACSayAA0B5PointVG_SitFZ" + "title" : "isEmpty", + "usr" : "s:6Euclid6BoundsV7isEmptySbvp" }, { "abstract" : [ { - "text" : "The angle of rotation.", + "text" : "A surface normal vector, perpendicular to the plane.", "type" : "text" } ], @@ -42997,7 +42898,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "let" }, { "kind" : "text", @@ -43005,7 +42906,7 @@ }, { "kind" : "identifier", - "text" : "angle" + "text" : "normal" }, { "kind" : "text", @@ -43013,24 +42914,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/angle", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/angle", + "path" : "\/documentation\/euclid\/plane\/normal", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/normal", "taskGroups" : [ ], - "title" : "angle", - "usr" : "s:6Euclid8RotationV5angleAA5AngleVvp" + "title" : "normal", + "usr" : "s:6Euclid5PlaneV6normalAA6VectorVvp" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "Returns a vector with all components inverted.", "type" : "text" } ], @@ -43040,32 +42941,36 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "scaled" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "identifier", + "text" : "-" }, { "kind" : "text", - "text" : ": " + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -43073,19 +42978,19 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/scaled(by:)-6axqe", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/scaled(by:)-6axqe", + "path" : "\/documentation\/euclid\/vector\/-(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/-(_:)", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid5PlaneV6scaled2byACSd_tF" + "title" : "-(_:)", + "usr" : "s:6Euclid6VectorV1sopyA2CFZ" }, { "availableLanguages" : [ @@ -43094,7 +42999,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -43102,44 +43015,52 @@ }, { "kind" : "identifier", - "text" : "errorUserInfo" + "text" : "!=" }, { "kind" : "text", - "text" : ": [" + "text" : " " + }, + { + "kind" : "text", + "text" : "(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:SS", - "text" : "String" + "text" : "Self" }, { "kind" : "text", - "text" : " : " + "text" : ", " }, { - "kind" : "keyword", - "text" : "Any" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : "]" + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/ioerror\/erroruserinfo", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorUserInfo", + "path" : "\/documentation\/euclid\/vertex\/!=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/!=(_:_:)", "taskGroups" : [ ], - "title" : "errorUserInfo", - "usr" : "s:6Euclid4MeshV7IOErrorV13errorUserInfoSDySSypGvp" + "title" : "!=(_:_:)", + "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid6VertexV" }, { "abstract" : [ { - "text" : "Creates a quaternion representing a rotation around the Y axis.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -43147,14 +43068,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -43165,59 +43078,47 @@ }, { "kind" : "identifier", - "text" : "yaw" + "text" : "rotate" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/yaw(_:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/yaw(_:)", + "path" : "\/documentation\/euclid\/vertex\/rotate(by:)-622p8", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotate(by:)-622p8", "taskGroups" : [ ], - "title" : "yaw(_:)", - "usr" : "s:6Euclid10QuaternionV3yawyAcA5AngleVFZ" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid6VertexV" }, { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/bounded-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/Bounded-Implementations", - "taskGroups" : [ + "abstract" : [ { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/bounds" - ], - "title" : "Instance Properties" + "text" : "Divides the angle by a numeric denominator.", + "type" : "text" } ], - "title" : "Bounded Implementations" - }, - { "availableLanguages" : [ "swift" ], @@ -43240,7 +43141,7 @@ }, { "kind" : "identifier", - "text" : "!=" + "text" : "\/=" }, { "kind" : "text", @@ -43251,41 +43152,107 @@ "text" : "(" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "keyword", + "text" : "inout" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5AngleV", + "text" : "Angle" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "kind" : "org.swift.docc.kind.operator", + "language" : "swift", + "path" : "\/documentation\/euclid\/angle\/\/=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/\/=(_:_:)", + "taskGroups" : [ + + ], + "title" : "\/=(_:_:)", + "usr" : "s:6Euclid5AngleV2deoiyyACz_SdtFZ" + }, + { + "availableLanguages" : [ + "swift" + ], + "kind" : "org.swift.docc.kind.collectionGroup", + "language" : "swift", + "path" : "\/documentation\/euclid\/rotation\/encodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/Encodable-Implementations", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/encode(to:)" + ], + "title" : "Instance Methods" + } + ], + "title" : "Encodable Implementations" + }, + { + "abstract" : [ + { + "text" : "The bounding box containing the polygon.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "var" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "identifier", + "text" : "bounds" }, { "kind" : "text", - "text" : ") -> " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "preciseIdentifier" : "s:6Euclid6BoundsV", + "text" : "Bounds" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/linesegment\/!=(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/LineSegment\/!=(_:_:)", + "path" : "\/documentation\/euclid\/polygon\/bounds", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/bounds", "taskGroups" : [ ], - "title" : "!=(_:_:)", - "usr" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Euclid11LineSegmentV" + "title" : "bounds", + "usr" : "s:6Euclid7PolygonV6boundsAA6BoundsVvp" }, { "abstract" : [ { - "text" : "A normalized direction vector pointing forwards relative to the current rotation.", + "text" : "Deprecated.", "type" : "text" } ], @@ -43295,40 +43262,47 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "forward" + "kind" : "externalParam", + "text" : "polygons" }, { "kind" : "text", - "text" : ": " + "text" : ": [" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" + }, + { + "kind" : "text", + "text" : "])" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/rotation\/forward", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Rotation\/forward", + "path" : "\/documentation\/euclid\/bounds\/init(polygons:)", + "platforms" : [ + + ], + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/init(polygons:)", "taskGroups" : [ ], - "title" : "forward", - "usr" : "s:6Euclid8RotationV7forwardAA6VectorVvp" + "title" : "init(polygons:)", + "usr" : "s:6Euclid6BoundsV8polygonsACSayAA7PolygonVG_tcfc" }, { "abstract" : [ { - "text" : "Returns a new bounds inset by the specified amount.", + "text" : "Translate the value in place.", "type" : "text" } ], @@ -43346,7 +43320,7 @@ }, { "kind" : "identifier", - "text" : "inset" + "text" : "translate" }, { "kind" : "text", @@ -43362,36 +43336,25 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/inset(by:)-4gk62", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/inset(by:)-4gk62", + "path" : "\/documentation\/euclid\/pathpoint\/translate(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/translate(by:)", "taskGroups" : [ ], - "title" : "inset(by:)", - "usr" : "s:6Euclid6BoundsV5inset2byACSd_tF" + "title" : "translate(by:)", + "usr" : "s:6Euclid13TransformablePAAE9translate2byyAA6VectorV_tF::SYNTHESIZED::s:6Euclid9PathPointV" }, { - "abstract" : [ - { - "text" : "Returns a transformed copy of the value.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], @@ -43414,7 +43377,7 @@ }, { "kind" : "identifier", - "text" : "*" + "text" : "..." }, { "kind" : "text", @@ -43430,36 +43393,40 @@ }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:s19PartialRangeThroughV", + "text" : "PartialRangeThrough" }, { "kind" : "text", - "text" : ") -> " + "text" : "<" }, { "kind" : "typeIdentifier", "text" : "Self" + }, + { + "kind" : "text", + "text" : ">" } ], "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/*(_:_:)-98mbu", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/*(_:_:)-98mbu", + "path" : "\/documentation\/euclid\/plane\/'...(_:)-49h2f", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:)-49h2f", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid6VectorV" + "title" : "...(_:)", + "usr" : "s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:6Euclid5PlaneV" }, { "abstract" : [ { - "text" : "Creates a quaternion representing a rotation around the X axis.", + "text" : "Returns the product of two quaternions (i.e. the effect of rotating the left by the right).", "type" : "text" } ], @@ -43485,7 +43452,11 @@ }, { "kind" : "identifier", - "text" : "pitch" + "text" : "*" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", @@ -43493,8 +43464,17 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5AngleV", - "text" : "Angle" + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid10QuaternionV", + "text" : "Quaternion" }, { "kind" : "text", @@ -43506,93 +43486,43 @@ "text" : "Quaternion" } ], - "kind" : "org.swift.docc.kind.typeMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/pitch(_:)", + "path" : "\/documentation\/euclid\/quaternion\/*(_:_:)-305tn", "platforms" : [ ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/pitch(_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*(_:_:)-305tn", "taskGroups" : [ ], - "title" : "pitch(_:)", - "usr" : "s:6Euclid10QuaternionV5pitchyAcA5AngleVFZ" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/transformable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/Transformable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/*(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/*=(_:_:)" - ], - "title" : "Operators" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotate(by:)-3uymx", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotate(by:)-7y2vv", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scale(by:)-1h2f7", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scale(by:)-9pjki", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-90bab", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/scaled(by:)-94kks", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/transform(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/transformed(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/translate(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/translated(by:)" - ], - "title" : "Instance Methods" - } - ], - "title" : "Transformable Implementations" + "title" : "*(_:_:)", + "usr" : "s:6Euclid10QuaternionV1moiyA2C_ACtFZ" }, { - "abstract" : [ - { - "text" : "Creates a polygon from a set of vertex positions.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "init" - }, - { - "kind" : "text", - "text" : "?<" - }, - { - "kind" : "genericParameter", - "text" : "T" + "text" : "static" }, { "kind" : "text", - "text" : ">(" + "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV_8materialACSgx_s11AnyHashableVSgtcSTRzAA6VectorV7ElementRtzlufc1TL_xmfp", - "text" : "T" + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", - "text" : ", " + "text" : " " }, { - "kind" : "externalParam", - "text" : "material" + "kind" : "identifier", + "text" : "gray" }, { "kind" : "text", @@ -43600,28 +43530,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", - "text" : "Material" - }, - { - "kind" : "text", - "text" : "?)" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/init(_:material:)-8gsiw", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/init(_:material:)-8gsiw", + "path" : "\/documentation\/euclid\/color\/gray", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/gray", "taskGroups" : [ ], - "title" : "init(_:material:)", - "usr" : "s:6Euclid7PolygonV_8materialACSgx_s11AnyHashableVSgtcSTRzAA6VectorV7ElementRtzlufc" + "title" : "gray", + "usr" : "s:6Euclid5ColorV4grayACvpZ" }, { "abstract" : [ { - "text" : "Clip polygon to the specified plane", + "text" : "Efficiently strokes a collection of line segments (useful for drawing wireframes).", "type" : "text" } ], @@ -43631,87 +43557,65 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "static" }, { "kind" : "text", "text" : " " }, { - "kind" : "identifier", - "text" : "clip" + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "to" + "kind" : "identifier", + "text" : "stroke" }, { "kind" : "text", - "text" : ": " + "text" : "<" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid5PlaneV", - "text" : "Plane" + "kind" : "genericParameter", + "text" : "T" }, { "kind" : "text", - "text" : ") -> [" + "text" : ">(" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "preciseIdentifier" : "s:6Euclid4MeshV6stroke_5width6detail8materialACx_SdSis11AnyHashableVSgtSlRzAA11LineSegmentV7ElementRtzlFZ1TL_xmfp", + "text" : "T" }, { "kind" : "text", - "text" : "]" - } - ], - "kind" : "org.swift.docc.kind.instanceMethod", - "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/clip(to:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/clip(to:)", - "taskGroups" : [ - - ], - "title" : "clip(to:)", - "usr" : "s:6Euclid7PolygonV4clip2toSayACGAA5PlaneV_tF" - }, - { - "abstract" : [ - { - "text" : "An empty bounds.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "text" : ", " + }, { - "kind" : "keyword", - "text" : "static" + "kind" : "externalParam", + "text" : "width" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "keyword", - "text" : "let" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "identifier", - "text" : "empty" + "kind" : "externalParam", + "text" : "detail" }, { "kind" : "text", @@ -43719,63 +43623,50 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6BoundsV", - "text" : "Bounds" - } - ], - "kind" : "org.swift.docc.kind.typeProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/empty", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/empty", - "taskGroups" : [ - - ], - "title" : "empty", - "usr" : "s:6Euclid6BoundsV5emptyACvpZ" - }, - { - "abstract" : [ + "preciseIdentifier" : "s:Si", + "text" : "Int" + }, { - "text" : "Creates a transform from a SceneKit transform matrix.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "text", + "text" : ", " + }, { - "kind" : "keyword", - "text" : "init" + "kind" : "externalParam", + "text" : "material" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "c:@T@SCNMatrix4", - "text" : "SCNMatrix4" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" }, { "kind" : "text", - "text" : ")" + "text" : "?) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.initializer", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/init(_:)-83oy3", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(_:)-83oy3", + "path" : "\/documentation\/euclid\/mesh\/stroke(_:width:detail:material:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stroke(_:width:detail:material:)", "taskGroups" : [ ], - "title" : "init(_:)", - "usr" : "s:6Euclid9TransformVyACSo13CATransform3DVcfc" + "title" : "stroke(_:width:detail:material:)", + "usr" : "s:6Euclid4MeshV6stroke_5width6detail8materialACx_SdSis11AnyHashableVSgtSlRzAA11LineSegmentV7ElementRtzlFZ" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the value.", + "text" : "Returns the perpendicular distance of the line from a specified point.", "type" : "text" } ], @@ -43783,14 +43674,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -43801,28 +43684,24 @@ }, { "kind" : "identifier", - "text" : "*" - }, - { - "kind" : "text", - "text" : " " + "text" : "distance" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "externalParam", + "text" : "from" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -43830,66 +43709,32 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:Sd", + "text" : "Double" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/plane\/*(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/*(_:_:)", + "path" : "\/documentation\/euclid\/line\/distance(from:)-4o41", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Line\/distance(from:)-4o41", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid5PlaneV" + "title" : "distance(from:)", + "usr" : "s:6Euclid4LineV8distance4fromSdAA6VectorV_tF" }, { "abstract" : [ { - "text" : "The center of the bounds. If the bounds is empty this will return the zero vector.", + "text" : "Splits all polygons in the mesh that are concave or have more than the specified number of", "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ - { - "kind" : "keyword", - "text" : "var" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "center" }, { - "kind" : "text", - "text" : ": " + "text" : " ", + "type" : "text" }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/center", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/center", - "taskGroups" : [ - - ], - "title" : "center", - "usr" : "s:6Euclid6BoundsV6centerAA6VectorVvp" - }, - { - "abstract" : [ - { - "text" : "Returns a copy of the mesh with the specified old material replaced by a new one.", + "text" : "sides into two or more convex polygons.", "type" : "text" } ], @@ -43907,24 +43752,15 @@ }, { "kind" : "identifier", - "text" : "replacing" + "text" : "tessellate" }, { "kind" : "text", "text" : "(" }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" - }, - { - "kind" : "text", - "text" : "?, " - }, { "kind" : "externalParam", - "text" : "with" + "text" : "maxSides" }, { "kind" : "text", @@ -43932,12 +43768,12 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : "?) -> " + "text" : ") -> " }, { "kind" : "typeIdentifier", @@ -43947,18 +43783,18 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/replacing(_:with:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/replacing(_:with:)", + "path" : "\/documentation\/euclid\/mesh\/tessellate(maxsides:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/tessellate(maxSides:)", "taskGroups" : [ ], - "title" : "replacing(_:with:)", - "usr" : "s:6Euclid4MeshV9replacing_4withACs11AnyHashableVSg_AHtF" + "title" : "tessellate(maxSides:)", + "usr" : "s:6Euclid4MeshV10tessellate8maxSidesACSi_tF" }, { "abstract" : [ { - "text" : "The maximum coordinate of the bounds.", + "text" : "Returns a rotated copy of the value.", "type" : "text" } ], @@ -43968,7 +43804,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "let" + "text" : "func" }, { "kind" : "text", @@ -43976,7 +43812,15 @@ }, { "kind" : "identifier", - "text" : "max" + "text" : "rotated" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", @@ -43984,42 +43828,45 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/max", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/max", - "taskGroups" : [ - - ], - "title" : "max", - "usr" : "s:6Euclid6BoundsV3maxAA6VectorVvp" - }, - { - "abstract" : [ - { - "text" : "Align extruded cross-sections with the X, Y or Z axis", - "type" : "text" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { - "text" : " ", - "type" : "text" + "kind" : "text", + "text" : ") -> " }, { - "text" : "(whichever is most perpendicular to the extrusion path).", - "type" : "text" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VertexV", + "text" : "Vertex" } ], + "kind" : "org.swift.docc.kind.instanceMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/vertex\/rotated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/rotated(by:)", + "taskGroups" : [ + + ], + "title" : "rotated(by:)", + "usr" : "s:6Euclid6VertexV7rotated2byAcA8RotationV_tF" + }, + { "availableLanguages" : [ "swift" ], "fragments" : [ { "kind" : "keyword", - "text" : "case" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "let" }, { "kind" : "text", @@ -44027,23 +43874,32 @@ }, { "kind" : "identifier", - "text" : "axis" + "text" : "cyan" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" } ], - "kind" : "org.swift.docc.kind.enumerationCase", + "kind" : "org.swift.docc.kind.typeProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/path\/alignment\/axis", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/Alignment\/axis", + "path" : "\/documentation\/euclid\/color\/cyan", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/cyan", "taskGroups" : [ ], - "title" : "Path.Alignment.axis", - "usr" : "s:6Euclid4PathV9AlignmentO4axisyA2EmF" + "title" : "cyan", + "usr" : "s:6Euclid5ColorV4cyanACvpZ" }, { "abstract" : [ { - "text" : "Returns a rotated copy of the value.", + "text" : "Rotate the value in place.", "type" : "text" } ], @@ -44061,7 +43917,7 @@ }, { "kind" : "identifier", - "text" : "rotated" + "text" : "rotate" }, { "kind" : "text", @@ -44082,28 +43938,31 @@ }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "text" : ")" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/transform\/rotated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/rotated(by:)", + "path" : "\/documentation\/euclid\/pathpoint\/rotate(by:)-4cg0v", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/rotate(by:)-4cg0v", "taskGroups" : [ ], - "title" : "rotated(by:)", - "usr" : "s:6Euclid9TransformV7rotated2byAcA8RotationV_tF" + "title" : "rotate(by:)", + "usr" : "s:6Euclid13TransformablePAAE6rotate2byyAA8RotationV_tF::SYNTHESIZED::s:6Euclid9PathPointV" }, { "abstract" : [ { - "text" : "A common protocol for objects that have a bounds.", + "text" : "Creates a Path from a ", + "type" : "text" + }, + { + "code" : "CGPath", + "type" : "codeVoice" + }, + { + "text" : ". The returned path may contain nested subpaths.", "type" : "text" } ], @@ -44113,63 +43972,41 @@ "fragments" : [ { "kind" : "keyword", - "text" : "protocol" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "Bounded" - } - ], - "kind" : "org.swift.docc.kind.protocol", - "language" : "swift", - "path" : "\/documentation\/euclid\/bounded", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounded", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounded\/bounds" - ], - "title" : "Instance Properties" - } - ], - "title" : "Bounded", - "usr" : "s:6Euclid7BoundedP" - }, - { - "abstract" : [ + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@T@CGPathRef", + "text" : "CGPath" + }, { - "text" : "An optional ", - "type" : "text" + "kind" : "text", + "text" : ", " }, { - "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/Material-swift.typealias", - "isActive" : true, - "type" : "reference" + "kind" : "externalParam", + "text" : "detail" }, { - "text" : " associated with the polygon.", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "text", + "text" : ": " + }, { - "kind" : "keyword", - "text" : "var" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Si", + "text" : "Int" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "identifier", - "text" : "material" + "kind" : "externalParam", + "text" : "color" }, { "kind" : "text", @@ -44177,28 +44014,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid5ColorV", + "text" : "Color" }, { "kind" : "text", - "text" : "?" + "text" : "?)" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/material-swift.property", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/material-swift.property", + "path" : "\/documentation\/euclid\/path\/init(_:detail:color:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/init(_:detail:color:)", "taskGroups" : [ ], - "title" : "material", - "usr" : "s:6Euclid7PolygonV8materials11AnyHashableVSgvp" + "title" : "init(_:detail:color:)", + "usr" : "s:6Euclid4PathV_6detail5colorACSo9CGPathRefa_SiAA5ColorVSgtcfc" }, { "abstract" : [ { - "text" : "The X component of the vector.", + "text" : "Transform the value in place.", "type" : "text" } ], @@ -44208,7 +44045,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "func" }, { "kind" : "text", @@ -44216,7 +44053,15 @@ }, { "kind" : "identifier", - "text" : "x" + "text" : "transform" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", @@ -44224,24 +44069,28 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sd", - "text" : "Double" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" + }, + { + "kind" : "text", + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/x", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/x", + "path" : "\/documentation\/euclid\/path\/transform(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Path\/transform(by:)", "taskGroups" : [ ], - "title" : "x", - "usr" : "s:6Euclid6VectorV1xSdvp" + "title" : "transform(by:)", + "usr" : "s:6Euclid13TransformablePAAE9transform2byyAA9TransformV_tF::SYNTHESIZED::s:6Euclid4PathV" }, { "abstract" : [ { - "text" : "Returns a scaled copy of the value.", + "text" : "The green component of the color.", "type" : "text" } ], @@ -44251,7 +44100,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "var" }, { "kind" : "text", @@ -44259,15 +44108,7 @@ }, { "kind" : "identifier", - "text" : "scaled" - }, - { - "kind" : "text", - "text" : "(" - }, - { - "kind" : "externalParam", - "text" : "by" + "text" : "g" }, { "kind" : "text", @@ -44277,31 +44118,30 @@ "kind" : "typeIdentifier", "preciseIdentifier" : "s:Sd", "text" : "Double" - }, - { - "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/scaled(by:)-350oy", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/scaled(by:)-350oy", + "path" : "\/documentation\/euclid\/color\/g", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/g", "taskGroups" : [ ], - "title" : "scaled(by:)", - "usr" : "s:6Euclid6VectorV6scaled2byACSd_tF" + "title" : "g", + "usr" : "s:6Euclid5ColorV1gSdvp" }, { "abstract" : [ { - "text" : "Adds the quaternion rotation on the right to the one on the left.", + "text" : "A vector of length ", + "type" : "text" + }, + { + "code" : "1", + "type" : "codeVoice" + }, + { + "text" : " along the X axis.", "type" : "text" } ], @@ -44319,7 +44159,7 @@ }, { "kind" : "keyword", - "text" : "func" + "text" : "let" }, { "kind" : "text", @@ -44327,60 +44167,99 @@ }, { "kind" : "identifier", - "text" : "+=" + "text" : "unitX" }, { "kind" : "text", - "text" : " " + "text" : ": " }, { - "kind" : "text", - "text" : "(" - }, + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + } + ], + "kind" : "org.swift.docc.kind.typeProperty", + "language" : "swift", + "path" : "\/documentation\/euclid\/vector\/unitx", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/unitX", + "taskGroups" : [ + + ], + "title" : "unitX", + "usr" : "s:6Euclid6VectorV5unitXACvpZ" + }, + { + "availableLanguages" : [ + "swift" + ], + "fragments" : [ { "kind" : "keyword", - "text" : "inout" + "text" : "var" }, { "kind" : "text", "text" : " " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" + "kind" : "identifier", + "text" : "errorCode" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid10QuaternionV", - "text" : "Quaternion" - }, - { - "kind" : "text", - "text" : ")" + "preciseIdentifier" : "s:Si", + "text" : "Int" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceProperty", "language" : "swift", - "path" : "\/documentation\/euclid\/quaternion\/+=(_:_:)", + "path" : "\/documentation\/euclid\/mesh\/ioerror\/errorcode", "platforms" : [ - + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "8.0", + "name" : "iOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "10.10", + "name" : "macOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "9.0", + "name" : "tvOS", + "unavailable" : false + }, + { + "beta" : false, + "deprecated" : false, + "introducedAt" : "2.0", + "name" : "watchOS", + "unavailable" : false + } ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/+=(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/IOError\/errorCode", "taskGroups" : [ ], - "title" : "+=(_:_:)", - "usr" : "s:6Euclid10QuaternionV2peoiyyACz_ACtFZ" + "title" : "errorCode", + "usr" : "s:10Foundation13CustomNSErrorPAAE9errorCodeSivp::SYNTHESIZED::s:6Euclid4MeshV7IOErrorV" }, { "abstract" : [ { - "text" : "Creates a copy of the vertex with the specified position.", + "text" : "Creates a vector of uniform size.", "type" : "text" } ], @@ -44390,49 +44269,44 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "withPosition" + "kind" : "externalParam", + "text" : "size" }, { "kind" : "text", - "text" : "(" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:Sd", + "text" : "Double" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VertexV", - "text" : "Vertex" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/withposition(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/withPosition(_:)", + "path" : "\/documentation\/euclid\/vector\/init(size:)-nkyk", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/init(size:)-nkyk", "taskGroups" : [ ], - "title" : "withPosition(_:)", - "usr" : "s:6Euclid6VertexV12withPositionyAcA6VectorVF" + "title" : "init(size:)", + "usr" : "s:6Euclid6VectorV4sizeACSd_tcfc" }, { "abstract" : [ { - "text" : "Returns a rotated copy of the value.", + "text" : "Returns a new vector representing the maximum of the components of the two vectors.", "type" : "text" } ], @@ -44450,24 +44324,25 @@ }, { "kind" : "identifier", - "text" : "rotated" + "text" : "max" }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "by" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid8RotationV", - "text" : "Rotation" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", @@ -44475,59 +44350,24 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.function", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/rotated(by:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/rotated(by:)", + "path" : "\/documentation\/euclid\/max(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/max(_:_:)", "taskGroups" : [ ], - "title" : "rotated(by:)", - "usr" : "s:6Euclid4MeshV7rotated2byAcA8RotationV_tF" - }, - { - "availableLanguages" : [ - "swift" - ], - "kind" : "org.swift.docc.kind.collectionGroup", - "language" : "swift", - "path" : "\/documentation\/euclid\/bounds\/transformable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/Transformable-Implementations", - "taskGroups" : [ - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/*(_:_:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/*=(_:_:)" - ], - "title" : "Operators" - }, - { - "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotate(by:)-15yni", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotate(by:)-ntgj", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/rotated(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scale(by:)-7dhh3", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scale(by:)-mpk5", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-5dvvh", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/scaled(by:)-6epo6", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/transform(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/transformed(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/translate(by:)", - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/translated(by:)" - ], - "title" : "Instance Methods" - } - ], - "title" : "Transformable Implementations" + "title" : "max(_:_:)", + "usr" : "s:6Euclid3maxyAA6VectorVAD_ADtF" }, { "abstract" : [ { - "text" : "Removes hairline cracks by inserting additional vertices without altering the shape.", + "text" : "An orientation or rotation in 3D space.", "type" : "text" } ], @@ -44537,7 +44377,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" + "text" : "struct" }, { "kind" : "text", @@ -44545,32 +44385,120 @@ }, { "kind" : "identifier", - "text" : "makeWatertight" - }, - { - "kind" : "text", - "text" : "() -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "text" : "Quaternion" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.structure", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/makewatertight()", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/makeWatertight()", - "taskGroups" : [ + "path" : "\/documentation\/euclid\/quaternion", + "platforms" : [ ], - "title" : "makeWatertight()", - "usr" : "s:6Euclid4MeshV14makeWatertightACyF" + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion", + "taskGroups" : [ + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-27eol", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-7xa5o", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-b3v3", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-fyhx", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:_:_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(axis:angle:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(roll:yaw:pitch:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/pitch(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/roll(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/yaw(_:)" + ], + "title" : "Creating Quaternions" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/zero", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/identity" + ], + "title" : "Default Quaternions" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/pitch", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/roll", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/yaw", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/axis", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/angle", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/isIdentity" + ], + "title" : "Quaternion Properties" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/dot(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/normalized()" + ], + "title" : "Computing Quaternions" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/slerp(_:_:)" + ], + "title" : "Interpolating Quaternions" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/+(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/+=(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-(_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/-=(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*(_:_:)-2drke", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*(_:_:)-305tn", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*=(_:_:)-5ic2j", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/*=(_:_:)-lsgo" + ], + "title" : "Operators" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/\/(_:_:)", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/\/=(_:_:)" + ], + "title" : "Operators" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/init(_:)-99vxt" + ], + "title" : "Initializers" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/components", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/isNormalized", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/length", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/lengthSquared", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/w", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/x", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/y", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/z" + ], + "title" : "Instance Properties" + }, + { + "identifiers" : [ + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Decodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Encodable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Equatable-Implementations", + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Quaternion\/Hashable-Implementations" + ], + "title" : "Default Implementations" + } + ], + "title" : "Quaternion", + "usr" : "s:6Euclid10QuaternionV" }, { "abstract" : [ { - "text" : "Creates a copy of the polygon with the specified material.", + "text" : "Linearly interpolates between two path points.", "type" : "text" } ], @@ -44588,7 +44516,7 @@ }, { "kind" : "identifier", - "text" : "withMaterial" + "text" : "lerp" }, { "kind" : "text", @@ -44596,33 +44524,42 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" }, { "kind" : "text", - "text" : "?) -> " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "preciseIdentifier" : "s:Sd", + "text" : "Double" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid9PathPointV", + "text" : "PathPoint" } ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/withmaterial(_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/withMaterial(_:)", + "path" : "\/documentation\/euclid\/pathpoint\/lerp(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/lerp(_:_:)", "taskGroups" : [ ], - "title" : "withMaterial(_:)", - "usr" : "s:6Euclid7PolygonV12withMaterialyACs11AnyHashableVSgF" + "title" : "lerp(_:_:)", + "usr" : "s:6Euclid9PathPointV4lerpyA2C_SdtF" }, { "abstract" : [ { - "text" : "Deprecated.", + "text" : "Returns a transformed copy of the value.", "type" : "text" } ], @@ -44630,6 +44567,14 @@ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -44640,52 +44585,52 @@ }, { "kind" : "identifier", - "text" : "with" + "text" : "*" + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", "text" : "(" }, { - "kind" : "externalParam", - "text" : "material" + "kind" : "typeIdentifier", + "text" : "Self" }, { "kind" : "text", - "text" : ": " + "text" : ", " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid9TransformV", + "text" : "Transform" }, { "kind" : "text", - "text" : "?) -> " + "text" : ") -> " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid7PolygonV", - "text" : "Polygon" + "text" : "Self" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/with(material:)", - "platforms" : [ - - ], - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/with(material:)", + "path" : "\/documentation\/euclid\/bounds\/*(_:_:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Bounds\/*(_:_:)", "taskGroups" : [ ], - "title" : "with(material:)", - "usr" : "s:6Euclid7PolygonV4with8materialACs11AnyHashableVSg_tF" + "title" : "*(_:_:)", + "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid6BoundsV" }, { "abstract" : [ { - "text" : "Saves a mesh to a file, with optional material mapping.", + "text" : "Creates a new transform.", "type" : "text" } ], @@ -44695,15 +44640,7 @@ "fragments" : [ { "kind" : "keyword", - "text" : "func" - }, - { - "kind" : "text", - "text" : " " - }, - { - "kind" : "identifier", - "text" : "write" + "text" : "init" }, { "kind" : "text", @@ -44711,7 +44648,7 @@ }, { "kind" : "externalParam", - "text" : "to" + "text" : "offset" }, { "kind" : "text", @@ -44719,58 +44656,62 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:10Foundation3URLV", - "text" : "URL" + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" }, { "kind" : "text", - "text" : ", " + "text" : "?, " }, { "kind" : "externalParam", - "text" : "materialLookup" + "text" : "rotation" }, { "kind" : "text", - "text" : ": ((" + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", - "text" : "Material" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", - "text" : "?) -> " + "text" : "?, " }, { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:s11AnyHashableV", - "text" : "AnyHashable" + "kind" : "externalParam", + "text" : "scale" }, { "kind" : "text", - "text" : "?)?) " + "text" : ": " }, { - "kind" : "keyword", - "text" : "throws" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid6VectorV", + "text" : "Vector" + }, + { + "kind" : "text", + "text" : "?)" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/write(to:materiallookup:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/write(to:materialLookup:)", + "path" : "\/documentation\/euclid\/transform\/init(offset:rotation:scale:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Transform\/init(offset:rotation:scale:)", "taskGroups" : [ ], - "title" : "write(to:materialLookup:)", - "usr" : "s:6Euclid4MeshV5write2to14materialLookupy10Foundation3URLV_s11AnyHashableVSgALcSgtKF" + "title" : "init(offset:rotation:scale:)", + "usr" : "s:6Euclid9TransformV6offset8rotation5scaleAcA6VectorVSg_AA8RotationVSgAItcfc" }, { "abstract" : [ { - "text" : "All vector components are zero (or close to zero) in length.", + "text" : "Creates a rotationally symmetrical mesh by turning the specified path around the Y axis.", "type" : "text" } ], @@ -44780,7 +44721,15 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" }, { "kind" : "text", @@ -44788,7 +44737,58 @@ }, { "kind" : "identifier", - "text" : "isZero" + "text" : "lathe" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4PathV", + "text" : "Path" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "slices" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Si", + "text" : "Int" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "poleDetail" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Si", + "text" : "Int" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "addDetailForFlatPoles" }, { "kind" : "text", @@ -44798,61 +44798,48 @@ "kind" : "typeIdentifier", "preciseIdentifier" : "s:Sb", "text" : "Bool" - } - ], - "kind" : "org.swift.docc.kind.instanceProperty", - "language" : "swift", - "path" : "\/documentation\/euclid\/vector\/iszero", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vector\/isZero", - "taskGroups" : [ - - ], - "title" : "isZero", - "usr" : "s:6Euclid6VectorV6isZeroSbvp" - }, - { - "abstract" : [ + }, { - "text" : "The position of the center of the polygon.", - "type" : "text" + "kind" : "text", + "text" : ", " }, { - "text" : " ", - "type" : "text" + "kind" : "externalParam", + "text" : "faces" }, { - "text" : "This is calculated as the average of the vertex positions, and may not be equal to the center of the polygon’s", - "type" : "text" + "kind" : "text", + "text" : ": " }, { - "text" : " ", - "type" : "text" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV5FacesO", + "text" : "Faces" }, { - "identifier" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/bounds", - "isActive" : true, - "type" : "reference" + "kind" : "text", + "text" : ", " }, { - "text" : ".", - "type" : "text" - } - ], - "availableLanguages" : [ - "swift" - ], - "fragments" : [ + "kind" : "externalParam", + "text" : "wrapMode" + }, { - "kind" : "keyword", - "text" : "var" + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV8WrapModeO", + "text" : "WrapMode" }, { "kind" : "text", - "text" : " " + "text" : ", " }, { - "kind" : "identifier", - "text" : "center" + "kind" : "externalParam", + "text" : "material" }, { "kind" : "text", @@ -44860,24 +44847,33 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid6VectorV", - "text" : "Vector" + "preciseIdentifier" : "s:6Euclid4MeshV8Materiala", + "text" : "Material" + }, + { + "kind" : "text", + "text" : "?) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.typeMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/center", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/center", + "path" : "\/documentation\/euclid\/mesh\/lathe(_:slices:poledetail:adddetailforflatpoles:faces:wrapmode:material:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/lathe(_:slices:poleDetail:addDetailForFlatPoles:faces:wrapMode:material:)", "taskGroups" : [ ], - "title" : "center", - "usr" : "s:6Euclid7PolygonV6centerAA6VectorVvp" + "title" : "lathe(_:slices:poleDetail:addDetailForFlatPoles:faces:wrapMode:material:)", + "usr" : "s:6Euclid4MeshV5lathe_6slices10poleDetail03addF12ForFlatPoles5faces8wrapMode8materialAcA4PathV_S2iSbAC5FacesOAC04WrapM0Os11AnyHashableVSgtFZ" }, { "abstract" : [ { - "text" : "Returns a transformed copy of the value.", + "text" : "Returns a rotated copy of the value.", "type" : "text" } ], @@ -44885,14 +44881,6 @@ "swift" ], "fragments" : [ - { - "kind" : "keyword", - "text" : "static" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "func" @@ -44903,28 +44891,24 @@ }, { "kind" : "identifier", - "text" : "*" - }, - { - "kind" : "text", - "text" : " " + "text" : "rotated" }, { "kind" : "text", "text" : "(" }, { - "kind" : "typeIdentifier", - "text" : "Self" + "kind" : "externalParam", + "text" : "by" }, { "kind" : "text", - "text" : ", " + "text" : ": " }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid9TransformV", - "text" : "Transform" + "preciseIdentifier" : "s:6Euclid8RotationV", + "text" : "Rotation" }, { "kind" : "text", @@ -44932,23 +44916,32 @@ }, { "kind" : "typeIdentifier", - "text" : "Self" + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" } ], - "kind" : "org.swift.docc.kind.operator", + "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/*(_:_:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/*(_:_:)", + "path" : "\/documentation\/euclid\/polygon\/rotated(by:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/rotated(by:)", "taskGroups" : [ ], - "title" : "*(_:_:)", - "usr" : "s:6Euclid13TransformablePAAE1moiyxx_AA9TransformVtFZ::SYNTHESIZED::s:6Euclid6VertexV" + "title" : "rotated(by:)", + "usr" : "s:6Euclid7PolygonV7rotated2byAcA8RotationV_tF" }, { "abstract" : [ { - "text" : "A Boolean value that indicates whether the polygon includes vertex normals that differ from the face normal.", + "text" : "Creates a color from a CoreGraphics ", + "type" : "text" + }, + { + "code" : "CGColor", + "type" : "codeVoice" + }, + { + "text" : ".", "type" : "text" } ], @@ -44958,55 +44951,45 @@ "fragments" : [ { "kind" : "keyword", - "text" : "var" + "text" : "init" }, { "kind" : "text", - "text" : " " + "text" : "(" }, { - "kind" : "identifier", - "text" : "hasVertexNormals" + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@T@CGColorRef", + "text" : "CGColor" }, { "kind" : "text", - "text" : ": " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:Sb", - "text" : "Bool" + "text" : ")" } ], - "kind" : "org.swift.docc.kind.instanceProperty", + "kind" : "org.swift.docc.kind.initializer", "language" : "swift", - "path" : "\/documentation\/euclid\/polygon\/hasvertexnormals", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Polygon\/hasVertexNormals", + "path" : "\/documentation\/euclid\/color\/init(_:)-25eby", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/init(_:)-25eby", "taskGroups" : [ ], - "title" : "hasVertexNormals", - "usr" : "s:6Euclid7PolygonV16hasVertexNormalsSbvp" + "title" : "init(_:)", + "usr" : "s:6Euclid5ColorVyACSo10CGColorRefacfc" }, { - "abstract" : [ - { - "text" : "Returns a new mesh that retains the shape of the receiver, but with", - "type" : "text" - }, - { - "text" : " ", - "type" : "text" - }, - { - "text" : "the intersecting area colored using material from the parameter.", - "type" : "text" - } - ], "availableLanguages" : [ "swift" ], "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "func" @@ -45017,7 +45000,11 @@ }, { "kind" : "identifier", - "text" : "stencil" + "text" : "..." + }, + { + "kind" : "text", + "text" : " " }, { "kind" : "text", @@ -45025,50 +45012,44 @@ }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "text" : "Self" }, { "kind" : "text", - "text" : ", " + "text" : ") -> " }, { - "kind" : "externalParam", - "text" : "isCancelled" + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s16PartialRangeFromV", + "text" : "PartialRangeFrom" }, { "kind" : "text", - "text" : ": " + "text" : "<" }, { "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV19CancellationHandlera", - "text" : "CancellationHandler" + "text" : "Self" }, { "kind" : "text", - "text" : ") -> " - }, - { - "kind" : "typeIdentifier", - "preciseIdentifier" : "s:6Euclid4MeshV", - "text" : "Mesh" + "text" : ">" } ], - "kind" : "org.swift.docc.kind.instanceMethod", + "kind" : "org.swift.docc.kind.operator", "language" : "swift", - "path" : "\/documentation\/euclid\/mesh\/stencil(_:iscancelled:)-swift.method", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/stencil(_:isCancelled:)-swift.method", + "path" : "\/documentation\/euclid\/plane\/'...(_:)-4yucl", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Plane\/...(_:)-4yucl", "taskGroups" : [ ], - "title" : "stencil(_:isCancelled:)", - "usr" : "s:6Euclid4MeshV7stencil_11isCancelledA2C_SbyXEtF" + "title" : "...(_:)", + "usr" : "s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:6Euclid5PlaneV" }, { "abstract" : [ { - "text" : "Encodes this path point into the given encoder.", + "text" : "Encodes this color into the given encoder.", "type" : "text" } ], @@ -45116,13 +45097,13 @@ ], "kind" : "org.swift.docc.kind.instanceMethod", "language" : "swift", - "path" : "\/documentation\/euclid\/pathpoint\/encode(to:)", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/PathPoint\/encode(to:)", + "path" : "\/documentation\/euclid\/color\/encode(to:)", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Color\/encode(to:)", "taskGroups" : [ ], "title" : "encode(to:)", - "usr" : "s:6Euclid9PathPointV6encode2toys7Encoder_p_tKF" + "usr" : "s:6Euclid5ColorV6encode2toys7Encoder_p_tKF" }, { "availableLanguages" : [ @@ -45130,16 +45111,84 @@ ], "kind" : "org.swift.docc.kind.collectionGroup", "language" : "swift", - "path" : "\/documentation\/euclid\/vertex\/decodable-implementations", - "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/Decodable-Implementations", + "path" : "\/documentation\/euclid\/angle\/encodable-implementations", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/Encodable-Implementations", "taskGroups" : [ { "identifiers" : [ - "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Vertex\/init(from:)" + "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Angle\/encode(to:)" ], - "title" : "Initializers" + "title" : "Instance Methods" } ], - "title" : "Decodable Implementations" + "title" : "Encodable Implementations" + }, + { + "abstract" : [ + { + "text" : "Computes the convex hull of a set of polygons.", + "type" : "text" + } + ], + "availableLanguages" : [ + "swift" + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "convexHull" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "of" + }, + { + "kind" : "text", + "text" : ": [" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid7PolygonV", + "text" : "Polygon" + }, + { + "kind" : "text", + "text" : "]) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Euclid4MeshV", + "text" : "Mesh" + } + ], + "kind" : "org.swift.docc.kind.typeMethod", + "language" : "swift", + "path" : "\/documentation\/euclid\/mesh\/convexhull(of:)-6c896", + "referenceURL" : "doc:\/\/com.charcoaldesign.Euclid\/documentation\/Euclid\/Mesh\/convexHull(of:)-6c896", + "taskGroups" : [ + + ], + "title" : "convexHull(of:)", + "usr" : "s:6Euclid4MeshV10convexHull2ofACSayAA7PolygonVG_tFZ" } ] \ No newline at end of file