Skip to main content
Namespace: VM.Managed.DAFUL.FE
Assembly: VMFE.dll
This class is to represent the mesh.

Inheritance

object ← ObservableObject ← LinkableBase ← ObjectBase ← Object<ObjectEventCore> ← ContainerObject<ObjectEventCore> ← FEObject ← Mesh

Derived

MeshReader

Implements

IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, ILinkContainer, IOwned, IHasID, INamed, INavigatorItem, IReferencable, IVisible, IDraw, IDrawIcon, IHasModal, IModalBody, IBodyAnalysisType, IBody, IHasSubChangableEntity, IMesh

Inherited Members

ContainerObject<ObjectEventCore>.Find(string), ContainerObject<ObjectEventCore>.FindLocal(string), ContainerObject<ObjectEventCore>.GetUnnamedObjectName(object), ContainerObject<ObjectEventCore>.GetNewEntityName(string), ContainerObject<ObjectEventCore>.GetNewEntityName(string, bool, int), ContainerObject<ObjectEventCore>.GetNewEntityName(string, bool, int, int), 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

Mesh()

Initializes a new instance of the Mesh class.

Fields

g_dicMeta

Dictionary for Meta and MetaInfr.

Field Value

Dictionary<Mesh.Meta, Mesh.MetaInfo>

Properties

AnalysisType

Gets or sets the type of body.

Property Value

BodyAnalysisType

BodyType

Gets or sets the body type.

Property Value

FlexibleBodyType

CanSwitchNodal

Gets or sets whether the switch is available with a nodal.

Property Value

bool

Color

Gets or sets the color.

Property Value

Color

ConvertUnitLength

Gets the length of converted unit.

Property Value

double

Elements[ElementType]

Gets element container form element type.

Property Value

Mesh.ElementContainer

FEMass

Gets or sets the rigid body elements.

Property Value

NamedObjectDictionary<FMassBase>

FullName

Gets the full name.

Property Value

string

IsHide

Gets or sets a value indicating whether this instance is hide.

Property Value

bool

IsModalBody

Gets a value indicating whether is modal body.

Property Value

bool

IsVisible

Gets or sets a value indicating whether object is visible.

Property Value

bool

Layer

Gets or sets the layer.

Property Value

Layer

Markers

Gets or sets markers.

Property Value

NamedObjectDictionary<MarkerOnNode>

MassCenter

Gets the mass center.

Property Value

Vector

MassValue

Gets the mass.

Property Value

double

Materials

Gets the material container.

Property Value

List<IMaterial>

ModalANSYSFilter

Property Value

string

ModalFileAbsolutePath

Gets the absolute file path for modal.

Property Value

string

ModalFileRelativePath

Gets the relative file path for modal.

Property Value

string

ModalInertia

Gets the moment of inertia value for modal.

Property Value

_MomentOfInertia

ModalMass

Gets the mass for modal.

Property Value

double

ModalMassCenter

Gets the mass center for modal.

Property Value

Vector

ModalNASTRANFilter

Property Value

string

ModalReferencePosition

Gets or sets the modal reference position.

Property Value

PointBase

ModalUserDefinedFilter

Property Value

string

ModeInterfacePoints

Gets or sets the interface points.

Property Value

ModeInterfacePoint[]

ModeMasterPoints

Gets or sets the masterpoints.

Property Value

ModeMasterPoint[]

Modes

Gets or sets the modes.

Property Value

Mode[]

MomentOfInertiaValue

Gets the moment of inertia.

Property Value

_MomentOfInertia

Name

Gets or sets the name.

Property Value

string

NodalFilter

Property Value

string

Nodes

Gets node container.

Property Value

Mesh.NodeContainer

NonSymmetricName

Gets the name of the non symmetric.

Property Value

string

Properties

Gets or sets the properties.

Property Value

Properties

RigidBodyElements

Gets or sets the rigid body elements.

Property Value

NamedObjectDictionary<FRBE>

SelectedModeCount

Gets the selected mode’s count.

Property Value

int

Sets

Gets or sets the sets.

Property Value

Sets

StartModeName

Gets the mode name at first.

Property Value

string

TypeOfDFMF

Property Value

Mesh.DFMFType

UseDFMF

Property Value

bool

UseModalReferencePosition

Gets or sets the use modal reference position.

Property Value

bool

_Color

Gets or sets the color.

Property Value

int

Methods

Add(ObjectBase)

classify the type and Add.

Parameters

ob ObjectBase The object.

AddDesignPointForInterfaceNode(VectorBase)

Parameters

vecPos VectorBase

Returns

DesignPoint

CalcMassProperty()

Calculate mass property.

CalcMassProperty(list<_VM_VECTOR,std::allocator<_VM_VECTOR> >*, double*, _VM_VECTOR*, double*, double*, double*, double*, double*, double*)

Parameters

lstVecNodePosition list<_VM_VECTOR,std::allocator<_VM_VECTOR> >* dMass double* vecMassCenter _VM_VECTOR* dJxx double* dJyy double* dJzz double* dJxy double* dJyz double* dJxz double*

CalcMassProperty(double*, _VM_VECTOR*, double*, double*, double*, double*, double*, double*)

Parameters

dMass double* vecMassCenter _VM_VECTOR* dJxx double* dJyy double* dJzz double* dJxy double* dJyz double* dJxz double*

ConnectProxy()

ConvertShellToSolid(ShellThicknessType, double)

Parameters

typeOfThickness Mesh.ShellThicknessType dThickness double

Returns

bool

Draw(Canvas)

Draws the icon.

Parameters

canvas Canvas The canvas has icon information.

FindLocal(string)

Finds an object that matches a specified name in local.

Parameters

strName string Name to search for.

Returns

IObjectBase An object that matches a specified name.

FindPointMass(FRBE)

Finds point mass with rbe.

Parameters

rbe FRBE The rigid body element.

Returns

PointMass

FixUp(ObjectBase)

Before destroy the old object, perform a work.

Parameters

ob ObjectBase The old object.

Returns

bool true if success; otherwise, false.

GetAllNodePosition(ref Vector[])

Gets the node position.

Parameters

arVec Vector[] The position array.

GetAllNodePosition(ref VectorBase[])

Gets the node position.

Parameters

arVec VectorBase[] The position array.

GetEdgesWithNodes(uint[])

Parameters

arNodeIndex uint[]

Returns

Tuple<uint, uint>[]

GetElementID(ElementType, uint)

Gets element id.

Parameters

type ElementType The element type. nIndex uint The element index.

Returns

int

GetMaterials()

Gets the materials.

Returns

IEnumerable<IMaterial>

GetNodeID(uint)

Gets the node ID.

Parameters

nIndex uint The node index.

Returns

uint

GetNodeIndex(uint)

Gets the node Index.

Parameters

nID uint The node ID.

Returns

uint

GetNodeInfoForCalcMass(uint, double, ref VectorBase, ref _MomentOfInertia, ref double, ref uint)

Gets the node information for [mass calculation].

Parameters

nIndex uint The node index. dConvertUnitLength double The length of converted unit. vecPosition VectorBase The specified position of node. inertia _MomentOfInertia The specified inertia of node. dMass double The specified mass of node. nID uint The specified id of node.

GetNodePosition(uint)

Parameters

nIndex uint

Returns

Vector

GetOuterNodes(IEnumerable<uint>)

Parameters

lstNodeIndex IEnumerable<uint>

Returns

IEnumerable<uint>

GetPropertyNameToOuterNodes()

Returns

Dictionary<string, List<uint[]>>

GetSubChangableEntityImpl(Dictionary<string, ObjectBase>)

Gets the sub changable entity.

Parameters

dicObj Dictionary<string, ObjectBase> The object dictionary.

Initialize(ConvertFactor)

Initializes member through unit convert factor.

Parameters

A_0 Unit.ConvertFactor

IsDeleteMaterial(IMaterial)

Determines whether is [delete material] [the specified material].

Parameters

mat IMaterial The material.

Returns

bool true if is [delete material] [the specified material]; otherwise, false.

IsDeletePatchSet(SetPatchBase)

Determines whether is [delete setpatch] [the specified setpatch].

Parameters

setPatch SetPatchBase The setpatch.

Returns

bool true if is [delete setpatch] [the specified setpatch]; otherwise, false.

IsOnlyLinearMaterial()

Determines whether refer linear material only.

Returns

bool true if this instance refer only linear material; otherwise, false.

LinkRequestDestroy(object, LinkEventArgs)

Request for destroy the linked object.

Parameters

objNotifier object The linked object. arg LinkEventArgs The LinkEventArgs 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.

ReDraw()

Redraw.

ReDrawForHistory()

Redraw for undo/redo

SetBodyAnalysisType(BodyAnalysisType)

Parameters

type BodyAnalysisType

SkipUpdateObjectImpl()

Skip the object that updated.

Returns

bool

UpdateMesh()

Update mesh.

get_Elements(ElementType)

Parameters

type ElementType

Returns

Mesh.ElementContainer