Class BooleanAPI
Last update: 09.03.2026Namespace: VM.API.Pre
Assembly: VM.API.Pre.dll
This class implements APIs for boolean.
public static class BooleanAPI
Inheritance
object ← BooleanAPI
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Methods
CheckClashOperation(Document3D, Body, Body)
Check a clash of bodies.
public static bool CheckClashOperation(Document3D document, Body target, Body tool)
Parameters
document Document3D
The
target Body
The target of a body.
tool Body
The tool of a body.
Returns
bool
the object seleted by this API.
IntersectBody(IDocument, Obj, IEnumerable<Obj>, bool)
[NotNull(new string[] { "document", "toolBodies" })]
[NotNullObj(new string[] { "targetBody" })]
public static void IntersectBody(this IDocument document, Obj targetBody, IEnumerable<Obj> toolBodies, bool reserveToolBody = false)
Parameters
document IDocument
targetBody Obj
toolBodies IEnumerable<Obj>
reserveToolBody bool
SubtractBody(IDocument, Obj, Obj, bool)
[NotNull(new string[] { "document" })]
[NotNullObj(new string[] { "targetBody", "toolBody" })]
public static void SubtractBody(this IDocument document, Obj targetBody, Obj toolBody, bool reserveToolBody = false)
Parameters
document IDocument
targetBody Obj
toolBody Obj
reserveToolBody bool
UniteBody(IDocument, Obj, IEnumerable<Obj>, bool)
[NotNull(new string[] { "document", "toolBodies" })]
[NotNullObj(new string[] { "targetBody" })]
public static void UniteBody(this IDocument document, Obj targetBody, IEnumerable<Obj> toolBodies, bool reserveToolBody = false)
Parameters
document IDocument
targetBody Obj
toolBodies IEnumerable<Obj>
reserveToolBody bool