Class Topology
Last update: 16.07.2025Namespace: VM.Managed.CAD
Assembly: VMAppCore.dll
This base class is to represent the Topology.
public abstract class Topology : Object<objecteventcore>, IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ITopology
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Derived
Implements
IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ITopology
Inherited Members
Object
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
Topology(string, string, bool)
Initializes a new instance of the
protected Topology(string strProxyName, string strBuildInfo, bool IsBuilding)
Parameters
strProxyName string
Name of the proxy.
strBuildInfo string
The build information.
IsBuilding bool
Whether build or not.
Topology()
Initializes a new instance of the
public Topology()
Properties
Body
Gets the body of topology.
public ObjectBase Body { get; }
Property Value
Index
Gets the index of topology.
public uint Index { get; }
Property Value
IndexCont
Gets the index container.
public Topology.IndexContainer IndexCont { get; set; }
Property Value
IsValid
Whether valid or not.
public bool IsValid { get; }
Property Value
Methods
ConnectProxy()
protected override void ConnectProxy()
GetColor(ref Color)
Get color.
public bool GetColor(ref Color color)
Parameters
color Color
The color.
Returns
true if exist color; otherwise, false.
GetName()
Gets the name of topology.
public string GetName()
Returns
The name of topology.
GetPrefixName()
Gets the pre fixname of topology.
protected virtual string GetPrefixName()
Returns
The pre fixname of topology.
GetTypeName()
Gets the name of topology(edge, face, vertex).
public abstract string GetTypeName()
Returns
The name of topology
GetUnnamedObjectName(object)
Get an unnamed object name.
public string GetUnnamedObjectName(object obUnnamed)
Parameters
obUnnamed object
The unnamed object.
Returns
The unnamed object name.
Initialize(ConvertFactor)
Initializes member through unit convert factor.
public override void Initialize(Unit.ConvertFactor factor)
Parameters
factor Unit.ConvertFactor
The unit convert factor.
InitializeTopologyName(bool)
Initalize name of topology.
public void InitializeTopologyName(bool bForceInit)
Parameters
bForceInit bool
Whether initial force or not.
OnDeserialization(object)
Called when [deserialization].
protected override void OnDeserialization(object sender)
Parameters
sender object
The sender.
ResetInvalidEntity()
public override void ResetInvalidEntity()