Class Heal
Last update: 16.07.2025Namespace: VM.API.Pre.CAD
Assembly: VM.API.Pre.dll
This class implements APIs for heal.
public static class Heal
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Methods
HasDefect(Body, Action, bool)
Check if the body has defect.
public static int HasDefect(this Body body, Action<string> actOutMessage = null, bool bShowDetailedInformation = false)
Parameters
body Body
The target body to check the defect.
actOutMessage Actionstring>
The action delegate for output message.
bShowDetailedInformation bool
The flag whether showing the detailed information.
Returns
The error type.
HasDefect(IGeometryContainer, Action, bool)
Check if the geometry container has defect.
public static int HasDefect(this IGeometryContainer geometryContainer, Action<string> actOutMessage = null, bool bShowDetailedInformation = false)
Parameters
geometryContainer IGeometryContainer
The geometry container to check the defect.
actOutMessage Actionstring>
The action delegate for output message.
bShowDetailedInformation bool
The flag whether showing the detailed information.
Returns
The error type.
HasDefect(Obj, Action, bool)
[NotNullObj(new string[] { "entity" })]
public static int HasDefect(Obj entity, Action<string> actOutMessage = null, bool bShowDetailedInformation = false)
Parameters
entity Obj
actOutMessage Actionstring>
bShowDetailedInformation bool
Returns
Repair(Body, Action)
Repair the body.
public static int Repair(this Body body, Action<string> actOutMessage = null)
Parameters
body Body
The target body to repair.
actOutMessage Actionstring>
The action delegate for output message.
Returns
The error type.
Repair(IGeometryContainer, Action)
Repair the geometry container.
public static int Repair(this IGeometryContainer geometryContainer, Action<string> actOutMessage = null)
Parameters
geometryContainer IGeometryContainer
The target geometry container to repair.
actOutMessage Actionstring>
The action delegate for output message.
Returns
The error type.
Repair(Obj, Action)
[NotNullObj(new string[] { "entity" })]
public static int Repair(Obj entity, Action<string> actOutMessage = null)
Parameters
entity Obj
actOutMessage Actionstring>