Skip to main content
Namespace: VM.Managed.CAD
Assembly: VMAppCore.dll
This class is to represent the body(solid).

Inheritance

object ← ObservableObject ← LinkableBase ← ObjectBase ← Object<ObjectEventCore> ← Body

Implements

IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IReferencable, ITransformable, INavigatorItem, IContainer, ILinkContainer, IOwned, IHasID, IVisible, IMultiChangable, IEnabled, ITransparentable, IPartMarkerParent, IDrawFacet, IPostDeserialized

Inherited Members

Object<ObjectEventCore>.GetKey(), Object<ObjectEventCore>.Initialize(Unit.ConvertFactor), Object<ObjectEventCore>.SetIconColor(Canvas), Object<ObjectEventCore>.OnDeserialization(object), Object<ObjectEventCore>.CustomGetObjectData(SerializationInfo, StreamingContext), Object<ObjectEventCore>.RollbackEvent(), Object<ObjectEventCore>.OnDeserializedCore(object), Object<ObjectEventCore>.Key, Object<ObjectEventCore>.UntypedEventCore, Object<ObjectEventCore>.EventCore, Object<ObjectEventCore>.Attributes, ObjectBase.ReplaceEventCore(ObjectEventCore), ObjectBase.SetModifiedCore(ModifiedResult.ModifiedType), ObjectBase.AddPostDeserialize(StreamingContext), ObjectBase.LinkAddedToDocumentCore(IOwned, bool), ObjectBase.SetModified(ModifiedResult.ModifiedType), ObjectBase.SetModified(), ObjectBase.SetModified(ModifiedResult.ModifiedType, IDocument), ObjectBase.DestroyObject(object, LinkEventArgs), ObjectBase.DestroyObject(DestroyEventArgs), ObjectBase.DestroyObject(), ObjectBase.Initialize(Unit.ConvertFactor), ObjectBase.FixUp(ObjectBase), ObjectBase.DoWorkAfterUpdateContents(), ObjectBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase), ObjectBase.SetIconColor(Canvas), ObjectBase.RemoveFromCreatedList(), ObjectBase.PostAddToDocument(), ObjectBase.PostRemoveFromDocument(Document), ObjectBase.GetArgumentList(LinkedList<ObjectBase>), ObjectBase.ResetInvalidEntity(), ObjectBase.OnDeserialization(object), ObjectBase.IsSerializableEvent(Delegate), ObjectBase.CustomGetObjectData(SerializationInfo, StreamingContext), ObjectBase.CheckAndUpdateLink(HashSet<ObjectBase>), ObjectBase.Verify(VerifiedResult), ObjectBase.ConnectProxy(), ObjectBase.RollbackEvent(), ObjectBase.LinkRequestUpdating(object, LinkEventArgs), ObjectBase.LinkRequestUpdate(object, LinkEventArgs), ObjectBase.LinkRequestDestroying(object, LinkEventArgs), ObjectBase.LinkRequestDestroy(object, LinkEventArgs), ObjectBase.LinkAddedToDocument(object, AddToDocEventArgs), ObjectBase.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), ObjectBase.DisposeManagedResources(), ObjectBase.GetDestroyEventExtraData(), ObjectBase.OnLinkReserved(ILink, object, EventArgs), ObjectBase.CreateEntityWhenUpdateContents(Action), ObjectBase.GetObjectByKey(UIntPtr), ObjectBase.FindObjectOnXmlDeserialize(string), ObjectBase.UpdateContents(XmlReader, ObjectBase, string), ObjectBase.UpdateContents(XmlReader, ObjectBase), ObjectBase.UpdateContents(string, string), ObjectBase.UpdateContents(string), ObjectBase.SetFlagWhenXMLFile(string, bool), ObjectBase.IsEqualArray<T>(T[], T[]), ObjectBase.IsEqualList(List<double>, List<double>), ObjectBase.SetContainer(IOwned, bool), ObjectBase.GetTargetListForUpdate(), ObjectBase.SkipUpdateObjectImpl(), ObjectBase.raise_OnUpdating(object, LinkEventArgs), ObjectBase.raise_OnUpdate(object, LinkEventArgs), ObjectBase.raise_OnDestroying(object, LinkEventArgs), ObjectBase.raise_OnDestroy(object, LinkEventArgs), ObjectBase.raise_Destroying(object, Identifier), ObjectBase.raise_OnAdded(object, AddToDocEventArgs), ObjectBase.raise_OnRemoved(object, RemoveFromDocEventArgs), ObjectBase.raise_OnContentsUpdated(object, EventArgs), ObjectBase.Dispose(bool), ObjectBase.SkipModified, ObjectBase.ClearChildInfoBeforeDeserialize, ObjectBase.KeyImpl, ObjectBase.ID, ObjectBase.TopologyEntityTypeName, ObjectBase.ObjectStateForCircularError, ObjectBase.ObjectState, ObjectBase.IsChildExternable, ObjectBase.IsExternable, ObjectBase.Container, ObjectBase.Owner, ObjectBase.Document, ObjectBase.UntypedEventCore, ObjectBase.KernelKey, ObjectBase.Key, ObjectBase.OnContentsUpdated, ObjectBase.OnRemoved, ObjectBase.OnAdded, ObjectBase.Destroying, ObjectBase.OnDestroy, ObjectBase.OnDestroying, ObjectBase.OnUpdate, ObjectBase.OnUpdating, LinkableBase.OnDeserialization(object), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

Body(Builder)

Initializes a new instance of the Body class.

Parameters

builder Builder The body’s builder.

Body()

Initializes a new instance of the Body class.

Fields

g_dAccuracyForCADImportMassCalculate

This value is accuracy for [cad import mass calculate].

Field Value

double

g_dAccuracyForMassCalculate

This value is accuracy for [mass calculate].

Field Value

double

Properties

AccuracyForMassCalc

Gets or sets the accuracy for [mass calculate].

Property Value

double

Builder

Gets or sets the builder.

Property Value

Builder

Edges

Gets or sets the edges.

Property Value

Body.EdgeContainer

Faces

Gets or sets the faces.

Property Value

Body.FaceContainer

FacetAspectRatio

Gets or sets the facet aspect ratio.

Property Value

ExpressionValueVariable

IndexCont

Gets the index container.

Property Value

Body.IndexContainer

Invalid

Property Value

bool

IsEnabled

Gets or sets IsEnabled state.

Property Value

bool

IsVisible

Gets or sets the layer.

Property Value

bool

Layer

Gets or sets the layer.

Property Value

Layer

Material

Gets or sets the material.

Property Value

IMaterial

MaximumFacetSize

Gets or sets the maximum facet size.

Property Value

ExpressionValueVariable

MaximumGridLine

Gets or sets the maximum grid line.

Property Value

ExpressionValueVariable

NameAttribute

Gets or sets the attribute of name.

Property Value

string

SkipCalcMassProp

Gets or sets a value indicating whether skip [Calculate mass property].

Property Value

bool

SkipRebuildGeometry

Gets or sets a value indicating whether skip [Rebuild Geometry].

Property Value

bool

SurfaceAngularTolerance

Gets or sets the surface angular tolerance.

Property Value

ExpressionValueVariable

TransparentObject

Gets the transparent object.

Property Value

ObjectBase

TransparentObjects

Gets the transparent objects.

Property Value

ObjectBase[]

UseApprox_eval

Gets or sets a value indicating whether use [Approx_eval].

Property Value

bool

UseFacetAspectRatio

Gets or sets a value indicating whether use [facet aspect ratio].

Property Value

bool

UseGRID_TO_EDGES

Gets or sets a value indicating whether use [GRID_TO_EDGES].

Property Value

bool

UseMaximumFacetSize

Gets or sets a value indicating whether use [maximum facet size].

Property Value

bool

UseMaximumGridLine

Gets or sets a value indicating whether use [maximum grid line].

Property Value

bool

UseRepairPatch

Gets or sets a value indicating whether use [RepairPatch].

Property Value

bool

UseSurfaceAngularTolerance

Gets or sets a value indicating whether use [surface angular tolerance].

Property Value

bool

Vertices

Gets or sets the vertices.

Property Value

Body.VertexContainer

_Material

Gets or sets the material.

Property Value

Linker<IMaterial>

Methods

AddBodyCreatedList()

Add body to kernal’s create list.

AddNameAttribute(string)

Add name attribute.

Parameters

strNameAttribute string The name attribute

CalculateMassProperty(ref double, ref double, ref TMatrix, ref double[], ref bool, double, bool)

Calculate mass property.

Parameters

dMass double The mass. dVolume double The volume. matTransform TMatrix The transformation. arInertia double[] The inertia. bRegularized bool whether calculate from regularized body. dDensity double The density. bGlobal bool whether inertia is global

CalculateMassProperty(ref double, ref double, ref TMatrix, ref double[], ref bool, bool, double)

Calculate mass property.

Parameters

dMass double The mass. dVolume double The volume. matTransform TMatrix The transformation. arInertia double[] The inertia. bRegularized bool whether calculate from regularized body. bUpdate bool update flag. dDensity double The density.

CalculateMassProperty(ref double, ref double, ref TMatrix, ref double[], ref bool, double)

Calculate mass property.

Parameters

dMass double The mass. dVolume double The volume. matTransform TMatrix The transformation. arInertia double[] The inertia. bRegularized bool whether calculate from regularized body. dDensity double The density.

CalculateMassProperty(ref double, ref double, ref TMatrix, ref double[], ref bool, bool)

Calculate mass property.

Parameters

dMass double The mass. dVolume double The volume. matTransform TMatrix The transformation. arInertia double[] The inertia. bRegularized bool whether calculate from regularized body. bUpdate bool update flag.

CalculateMassProperty(ref double, ref double, ref TMatrix, ref double[], ref bool)

Calculate mass property.

Parameters

dMass double The mass. dVolume double The volume. matTransform TMatrix The transformation. arInertia double[] The inertia. bRegularized bool whether calculate from regularized body.

CalculateMassProperty(ref double, ref double, ref TMatrix, ref double[], ref bool, double, double, bool)

Calculate mass property.

Parameters

dMass double The mass. dVolume double The volume. matTransform TMatrix The transformation. arInertia double[] The inertia. bRegularized bool whether calculate from regularized body. dDensity double dAccuracy double The desire accuracy for mass calculate. bGlobal bool

CalculateMassPropertyForAssembly(ref double, ref double, ref TMatrix, ref double[], ref bool, double)

Calculate mass property.

Parameters

dMass double The mass. dVolume double The volume. matTransform TMatrix The transformation. arInertia double[] The inertia. bRegularized bool whether calculate from regularized body. dDensity double The density.

CheckValidationAboutBuild(string)

Parameters

strXml string

Returns

bool

ClearFacetDictionary()

ConnectProxy()

ConvertUInt32Managed2Native(ref uint[], vector<unsigned int,std::allocator<unsigned int> >*)

Parameters

inputAryUInt uint[] outputVecUInt [vector<unsigned int,std::allocator<unsigned int> >](std.vector<unsigned int,std.md)*

ConvertUInt32Native2Managed(vector<unsigned int,std::allocator<unsigned int> >*, ref uint[])

Parameters

inputVecUInt [vector<unsigned int,std::allocator<unsigned int> >](std.vector<unsigned int,std.md)* outputAryUInt uint[]

ConvertVectorManaged2Native(ref VectorBase[], vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >*)

Parameters

inputAryVec VectorBase[] outputVecVec vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >*

ConvertVectorNative2Managed(vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >*, ref VectorBase[])

Parameters

inputVecVec vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >* outputAryVec VectorBase[]

CreateNastranFile(string, VectorBase[], uint[], uint[])

Parameters

strNastranPath string aryPos VectorBase[] aryConTria uint[] aryConTetra uint[]

DoWorkAfterUpdateContents()

After update contents, do work.

DrawEdge(int, double, TMatrix, Canvas)

gets the points that are placed with some interval on edge.

Parameters

nEdgeIndex int the edge index dDistance double the point intaval matBase TMatrix the base transform canvas Canvas The canvas.

DrawFacetsOfFaces(IDrawFacet[], FacetOption, Canvas)

Parameters

arFaces IDrawFacet[] facetOptions FacetOption canvas Canvas

ExistFace(ValueType)

Parameters

nID ValueType

Returns

bool

ExportPatch(string, ConvertFactor, string)

Parameters

strMesherPath string factor Unit.ConvertFactor strPath string

ExportSolid(string, ConvertFactor, string)

Parameters

strMesherPath string factor Unit.ConvertFactor strPath string

Find(string)

Find DAFUL object from the container by full name.

Parameters

strName string The DAFUL object full name.

Returns

IObjectBase The DAFUL object.

FindLocal(string)

Find DAFUL object from the container by name.

Parameters

strName string The DAFUL object name.

Returns

IObjectBase The DAFUL object.

FixUp(ObjectBase)

Before destroy the old object, perform a work.

Parameters

ob ObjectBase The old object.

Returns

bool true if success; otherwise, false.

GenerateMeshInfo(string, AttributeFacetRefinementBase, ConvertFactor, MeshFreeMeshType, ref MeshFreeMeshType, ref VectorBase[], ref uint[], ref VectorBase[], ref uint[], bool)

Parameters

strMesherPath string attrGeomOutputProp AttributeFacetRefinementBase factor Unit.ConvertFactor reqMeshType MeshFreeMeshType resMeshType MeshFreeMeshType aryPosTria VectorBase[] aryConTria uint[] aryPosTetra VectorBase[] aryConTetra uint[] bUseDSDL bool

GenerateMeshInfo(string, AttributeFacetRefinementBase, ConvertFactor, MeshFreeMeshType, ref MeshFreeMeshType, ref VectorBase[], ref uint[], ref VectorBase[], ref uint[])

Parameters

strMesherPath string attrGeomOutputProp AttributeFacetRefinementBase factor Unit.ConvertFactor reqMeshType MeshFreeMeshType resMeshType MeshFreeMeshType aryPosTria VectorBase[] aryConTria uint[] aryPosTetra VectorBase[] aryConTetra uint[]

GetAnalysisLevelInfo(double, ref List<double>, ref List<uint>)

Parameters

dVolume double lstNodeDistance List<double> lstNodeCount List<uint>

Returns

bool

GetAnalysisLevelInfo(ref List<double>, ref List<uint>)

Parameters

lstNodeDistance List<double> lstNodeCount List<uint>

Returns

bool

GetAttrFacetRefineBase()

Get Attribute value on Facet Refinement

Returns

AttributeFacetRefinementBase Facet Refinement Attribute value

GetBodyGeomInfo(vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >*, vector<unsigned int,std::allocator<unsigned int> >*, AttributeFacetRefinementBase, double, bool)

Parameters

vectPosTria vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >* vecConTria [vector<unsigned int,std::allocator<unsigned int> >](std.vector<unsigned int,std.md)* attrGeomOutputProp AttributeFacetRefinementBase dLengthFactor double bUseDSDL bool

Returns

bool

GetBodyGeomInfo(ref VectorBase[], ref uint[], AttributeFacetRefinementBase, double, bool)

Parameters

aryPosTria VectorBase[] aryConTria uint[] attrGeomOutputProp AttributeFacetRefinementBase dLengthFactor double bUseDSDL bool

Returns

bool

GetBodyGeomInfo(ref VectorBase[], ref uint[], AttributeFacetRefinementBase, double)

Parameters

aryPosTria VectorBase[] aryConTria uint[] attrGeomOutputProp AttributeFacetRefinementBase dLengthFactor double

Returns

bool

GetBodyGeomInfoForDFG(AttributeFacetRefinementBase, ref VectorBase[], ref uint[])

Parameters

attrGeomOutputProp AttributeFacetRefinementBase aryPosTria VectorBase[] aryConTria uint[]

Returns

bool

GetBoundingBox(TMatrix, ref VectorBase, ref VectorBase, BoxingMode)

Parameters

matT TMatrix vecMinPt VectorBase vecMaxPt VectorBase boxingMode BoxingMode

Returns

bool

GetBoundingBox(TMatrix, ref VectorBase, ref VectorBase)

Parameters

matT TMatrix vecMinPt VectorBase vecMaxPt VectorBase

Returns

bool

GetCADGeomNameAttribute(string, ref List<string>)

Parameters

strPrefix string lstName List<string>

GetColor()

Get color. <returns>The color</returns>

Returns

Color

GetDefaultMaxFacetSize()

Get default maximum facet size

Returns

double Default maximum facet size

GetDefaultMaxPenetration(ref double)

Get default maximum penetration. <param name=“dMaxPenetration”>The maximum penetration.</param>

Parameters

dMaxPenetration double

Returns

bool

GetEdgeCount()

Get the number of edge. -1 : error

Returns

int The number of edge.

GetEdgeIndex(ValueType)

Parameters

nID ValueType

Returns

int

GetEdgePoints(int, double, TMatrix, ref List<VectorBase>)

Parameters

nEdgeIndex int dDistance double matBase TMatrix lstPoints List<VectorBase>

Returns

bool

GetEdges(ICollection<int>)

Parameters

Colors ICollection<int>

Returns

List<Edge>

GetEdges()

get all edges.

Returns

List<Edge> list of all edges

GetFaceColors()

get all face colors.

Returns

List<int> list of all face colors.

GetFaceIndex(ValueType)

Parameters

nID ValueType

Returns

int

GetFaces(ICollection<int>)

Parameters

Colors ICollection<int>

Returns

List<Face>

GetFaces()

get all faces.

Returns

List<Face> list of all faces

GetFacesInfo_NormalAndCenterPt(List<Face>, ref Dictionary<Face, VectorBase>, ref Dictionary<Face, VectorBase>)

Parameters

lstFace List<Face> dic_vecNormal Dictionary<Face, VectorBase> dic_vecCenterPt Dictionary<Face, VectorBase>

GetFacetInfo(FacetOption, ref VectorBase[], ref int[])

Get facet information. <param name=“facetOptions”>The facet options.</param><param name=“arPt”>facet point information.</param><param name=“arConnectivity”>facet connectivity inforamtion.</param>

Parameters

facetOptions FacetOption arPt VectorBase[] arConnectivity int[]

GetFacetPositions(Face[], FacetOption)

Parameters

arFaces Face[] facetOptions FacetOption

Returns

VectorBase[]

GetGeomInfoOfFaces(Body, Face[], FacetOption, bool, UIntPtr)

Parameters

body Body arFaces Face[] facetOptions FacetOption bSkipMidPoints bool pGeomInfo UIntPtr

GetLumpCount()

Get the number of lump. -1 : error

Returns

int The number of lump.

GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool)

Gets the model navigator information implementation.

Parameters

xmlDom XmlDocument The navigator information xml. xmlRootEle XmlElement The navigator information xml root element. bHasChild bool true if has a child object; otherwise, false.

Returns

bool

GetNearest4PointOnFaceWithRange(VectorBase, double, VectorBase, VectorBase, bool, VectorBase[])

Parameters

vecUserPos VectorBase dRange double vecNormalDirection VectorBase vecShearDirection VectorBase bBase bool vecNearest4Pos VectorBase[]

Returns

bool

GetNearestPointAndNormalOnFace(VectorBase, VectorBase, VectorBase)

Parameters

vCenterPoint VectorBase vecPoint VectorBase vecNormal VectorBase

Returns

bool

GetNearestPointOnFace(VectorBase, ref VectorBase)

Parameters

vecUserPos VectorBase vecNearestPos VectorBase

GetNearestPointOnFaceWithDirection(VectorBase, VectorBase, double, ref VectorBase)

Parameters

vecUserPos VectorBase vecNormalDir VectorBase dRange double vecNearestPos VectorBase

Returns

bool

GetNewEntityName(string, bool, int, int)

Generate an unique DAFUL object name from the container using the prefix name.

Parameters

strPrefix string The DAFUL object prefix name. bUseUnderLine bool Whether use underline. nNumFigure int The Number of Figure. nStartIndex int The start index.

Returns

string The DAFUL object name.

GetNewEntityName(string, bool, int)

Generate an unique DAFUL object name from the container using the prefix name.

Parameters

strPrefix string The DAFUL object prefix name. bUseUnderLine bool Whether use underline. nNumFigure int The Number of Figure.

Returns

string The DAFUL object name.

GetNewEntityName(string)

Generate an unique DAFUL object name from the container using the prefix name.

Parameters

strPrefix string The DAFUL object prefix name.

Returns

string The DAFUL object name.

GetPointAndDirection(ref VectorBase, ref VectorBase)

Get point and direction.

Parameters

vecPosition VectorBase The point. vecDirection VectorBase The direction.

Returns

bool true if success; otherwise, false.

GetSortOfBody()

Gets type of body.

Returns

BodyType body type

GetStartPointOfClosedLoop(List<Edge>, ref VectorBase)

Parameters

lstEdges List<Edge> vecPosition VectorBase

Returns

bool

GetTargetListForUpdate()

Gets the update objects.

Returns

List<IEventProvider>

GetUnnamedObjectName(object)

Get an unnamed object name.

Parameters

obUnnamed object The unnamed object.

Returns

string The unnamed object name.

GetVertexIndex(ValueType)

Parameters

nID ValueType

Returns

int

GetVoidCount()

Gets the void count.

Returns

int

GetVoidPoints(double[], ref VectorBase[])

Get Inner point of void shells.

Parameters

ardScale double[] aryPoints VectorBase[] The list of inner point of void shells.

Returns

int -1 : error, 0 : finding successs, positive number : the number of not found case.

GetWireLastPoint(ref VectorBase)

gets the position of last point on wire body. {1 : kernel api error} {2 : invalid body} {21 : fail to get faces} {22 : kernel function error}

Parameters

vecPosition VectorBase the point position

Returns

bool if operation success then return true.

GetWirePoints(double, ref List<VectorBase>)

Parameters

dDistance double lstPoints List<VectorBase>

Returns

bool

GetWirePointsAndTangents(double, ref List<VectorBase>, ref List<VectorBase>)

Parameters

dDistance double lstPoints List<VectorBase> lstTangents List<VectorBase>

Returns

bool

HighlightBuilder()

highlignt for body’s builder.

InitialSetBuildInfo(string)

Parameters

strBuilderXml string

Initialize(ConvertFactor)

Initializes member through unit convert factor.

Parameters

factor Unit.ConvertFactor The unit convert factor.

IsNonManifold()

determines if a body is a nonmanifold.

Returns

bool if a body is a nonmanifold then return true.

IsWireBody()

determines if a body is a wire.

Returns

bool if a body is a wire then return true.

LinkAddedToDocument(object, AddToDocEventArgs)

Add linked object to a document.

Parameters

objNotifier object The linked object. arg AddToDocEventArgs The AddToDocEventArgs instance containing the event data.

LinkRequestUpdate(object, LinkEventArgs)

Request for update the linked object.

Parameters

objNotifier object The linked object. arg LinkEventArgs The LinkEventArgs instance containing the event data.

OnDeserialization(object)

Called when [deserialization].

Parameters

sender object The sender.

OnPostDeserialized(StreamingContext)

Parameters

context StreamingContext

PostRemoveFromDocument(Document)

Call when post [remove from document].

Parameters

document Document The document

PrepareFacesWithColor()

prepare the face with color

Returns

bool if a body has the face color then return true.

ReDrawChangeFacet()

RebuildGeometry(object, LinkEventArgs)

Rebuild geometry.

Parameters

objBuilder object The builder. args LinkEventArgs The event handler.

RepairTopology()

repair the invalid topology.

ReplaceCAD(List<ReplaceCADInfo>)

Parameters

lstInfo List<Body.ReplaceCADInfo>

ResetBuildInfo(string)

Reset build Information. <param name=“strInfo”>build Information.</param>

Parameters

strInfo string

RunTetraMesher(string, vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >*, vector<unsigned int,std::allocator<unsigned int> >*, vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >*, vector<unsigned int,std::allocator<unsigned int> >*)

Parameters

strMesherPath string vecPosTria vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >* vecConTria [vector<unsigned int,std::allocator<unsigned int> >](std.vector<unsigned int,std.md)* vecPosTetra vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >* vecConTetra [vector<unsigned int,std::allocator<unsigned int> >](std.vector<unsigned int,std.md)*

Returns

bool

RunTetraMesher(string, ref VectorBase[], ref uint[], ref VectorBase[], ref uint[])

Parameters

strMesherPath string aryPosTria VectorBase[] aryConTria uint[] aryPosTetra VectorBase[] aryConTetra uint[]

Returns

bool

SetColor(Color)

Set color. <param name=“color”>The color.</param>

Parameters

color Color

SetModifiedBody()

SetTransparency(double)

Set transparency. <param name=“dTransp”>The transparency.</param>

Parameters

dTransp double

SortEdges(List<Edge>)

Parameters

lstEdges List<Edge>

Returns

List<Edge>

UpdateBody(bool)

Update body. <param name=“bBuild”>The body build flag.</param>

Parameters

bBuild bool

UpdateBody()

Update body.