# GeometryService(ロブロックス クラス) > Service containing geometric operations. - URL:https://roblox.minecraft-okinawa.com/reference/classes/GeometryService/ - 公式:https://create.roblox.com/docs/reference/engine/classes/GeometryService - 受け継いでいるクラス:Instance ## メソッド - `GeometryService:CalculateConstraintsToPreserve(source: Instance, destination: Array, options: Dictionary): Array`:Returns a table of Class.Constraint|Constraints and Class.Attachment|Attachments which you may choose to preserve, along with their respective parents. - `GeometryService:FragmentAsync(part: BasePart, sites: Array, options: Dictionary): Array`:Breaks a BasePart into multiple MeshPart instances, according to the pattern of points passed in, by using voronoi decomposition. - `GeometryService:GenerateFragmentSites(part: BasePart, options: Dictionary): Array`:Provides an array of positions which can easily be passed into FragmentAsync to perform simple types of destruction. - `GeometryService:IntersectAsync(part: Instance, parts: Array, options: Dictionary): Array`:Creates one or more Class.PartOperation|PartOperations or Class.MeshPart|MeshParts from the intersecting geometry of multiple parts. - `GeometryService:SubtractAsync(part: Instance, parts: Array, options: Dictionary): Array`:Creates one or more Class.PartOperation|PartOperations or Class.MeshPart|MeshParts from one part minus the space occupied by other parts. - `GeometryService:SplitApartAsync(parts: Array, options: Dictionary): Array`:Splits each PartOperation or MeshPart into one part per disconnected solid region. - `GeometryService:SweepPartAsync(part: BasePart, cframes: Array, options: Dictionary): MeshPart`:Creates a MeshPart which has the shape of the input part stretched/dragged through the given set of CFrame positions. - `GeometryService:UnionAsync(part: Instance, parts: Array, options: Dictionary): Array`:Creates one or more Class.PartOperation|PartOperations or Class.MeshPart|MeshParts from one part plus the space occupied by other parts. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)