Class Body
Last update: 16.07.2025Namespace: VM.CAD.Kernel
Assembly: VM.CAD.Kernel.dll
public sealed class Body : Entity, IHasID, IFacetable
Inheritance
object ← KernelObject ← Entity ← Body
Implements
IHasID, IFacetable
Inherited Members
Entity.PID, KernelObject.Dispose(), KernelObject.Key
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
Body(UIntPtr)
public Body(UIntPtr key)
Parameters
key UIntPtr
Methods
ClearFacetDictionary()
public void ClearFacetDictionary()
GetEdgeKernelProxy(Identifier, out UIntPtr)
public void GetEdgeKernelProxy(Identifier pid, out UIntPtr edgeProxy)
Parameters
pid Identifier
edgeProxy UIntPtr
GetFaceKernelProxy(Identifier, out UIntPtr)
public void GetFaceKernelProxy(Identifier nPID, out UIntPtr faceProxy)
Parameters
nPID Identifier
faceProxy UIntPtr
GetGeomInfo(double, out Vector[], out uint[], bool)
public bool GetGeomInfo(double lengthFactor, out Vector[] position, out uint[] connectivities, bool bCreateFacetDictionary)
Parameters
lengthFactor double
position Vector[]
connectivities uint[]
bCreateFacetDictionary bool
Returns
GetVoidCount()
public uint GetVoidCount()
Returns
GetVoidPoints(double, out uint)
public Vector[] GetVoidPoints(double offset, out uint countFailed)
Parameters
offset double
countFailed uint
Returns
Vector[]
HasDefect(Action, bool)
public int HasDefect(Action<string> actWriteMessage, bool bDetailedInformation = false)
Parameters
actWriteMessage Actionstring>
bDetailedInformation bool
Returns
RemoveUnusedPoints(Vector[], uint[])
public void RemoveUnusedPoints(Vector[] aryPosTria, uint[] aryConTria)
Parameters
aryPosTria Vector[]
aryConTria uint[]
Repair(SimplifyOption, SimplifyOption, double, Action, bool)
public int Repair(SimplifyOption simplifySurface = SimplifyOption.ForceSimplify, SimplifyOption simplifyCurve = SimplifyOption.ForceSimplify, double dDesiredGap = -1, Action<string> actWriteMessage = null, bool bDetailedInformation = false)
Parameters
simplifySurface SimplifyOption
simplifyCurve SimplifyOption
dDesiredGap double
actWriteMessage Actionstring>
bDetailedInformation bool
Returns
UpdateDisplay()
public void UpdateDisplay()