Class Ground
Last update: 16.07.2025Namespace: VM.Managed.DAFUL
Assembly: VMDFBase.dll
This class is to represent the ground.
public sealed class Ground : BodyBase<groundbodyproperty>, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, IEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IVisible, IDocumentOwner, INamed, INavigatorItem, IVisible, IMultiChangable, IHasProperty, IGroup, IMarkerCreatable, IFacesetCreatable, ICurvesetCreatable, IConnectableNotReference, IReferencable, IConnectableHasGeometry, IConnectable, IMarkerParent, IEntityRelation, IHasBody, IBody, IHasBuilder, IDrawIcon, ITransformable, IGeometryContainer, IHasCenterMarkerForGround
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Implements
IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, IEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IVisible, IDocumentOwner, INamed, INavigatorItem, IVisible, IMultiChangable, IHasProperty, IGroup, IMarkerCreatable, IFacesetCreatable, ICurvesetCreatable, IConnectableNotReference, IReferencable, IConnectableHasGeometry, IConnectable, IMarkerParent, IEntityRelation, IHasBody, IBody, IHasBuilder, IDrawIcon, ITransformable, IGeometryContainer, IHasCenterMarkerForGround
Inherited Members
BodyBase
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
Ground()
Initializes a new instance of the
public Ground()
Ground(string)
Initializes a new instance of the
public Ground(string strName)
Parameters
strName string
Name of the ground.
Properties
Geometry
Gets the geometry.
public override List<body> Geometry { get; }
Property Value
GroundName
Gets or sets the name of the ground.
public static string GroundName { get; set; }
Property Value
ReferencableImpl
Gets a value indicating whether this
protected override sealed bool ReferencableImpl { get; }
Property Value
Methods
GetBuilder()
Gets the geometry.
public ObjectBase[] GetBuilder()
Returns
ObjectBase[]
geometry container
GetGeomModelNavigatorInfo(XmlDocument, XmlElement, BodyProperty, Body)
Gets the geometry information for model navigator.
protected override bool GetGeomModelNavigatorInfo(XmlDocument xmlDom, XmlElement xmlEle, BodyProperty bodyProp, Body body)
Parameters
xmlDom XmlDocument
The XmlDocument for geometry.
xmlEle XmlElement
The XmlElement for geometry.
bodyProp BodyProperty
The body property.
body Body
The geometry.
Returns
true if success; otherwise, false.
GetLayerImpl()
Gets the layer [implementation].
protected override Layer GetLayerImpl()
Returns
Layer
true if success; otherwise, false.
GetMarkerArrayModelNavigatorInfo(XmlDocument, XmlElement, NamedObjectDictionary)
Gets the marker array information for model navigator.
public bool GetMarkerArrayModelNavigatorInfo(XmlDocument xmlDom, XmlElement xmlEle, NamedObjectDictionary<marker> arMarker)
Parameters
xmlDom XmlDocument
The XmlDocument for marker array.
xmlEle XmlElement
The XmlElement for marker array.
arMarker NamedObjectDictionaryMarker>
The marker array.
Returns
true if success; otherwise, false.
GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool)
Gets the object information for model navigator [implementation].
protected override bool GetModelNavigatorInformationImpl(XmlDocument xmlDom, XmlElement xmlEle, bool bHasChild)
Parameters
xmlDom XmlDocument
The XmlDocument for object.
xmlEle XmlElement
The XmlDocument for object.
bHasChild bool
if set to true [has child].
Returns
true if success; otherwise, false.
Initialize(ConvertFactor)
Initializes member through unit convert factor.
public override void Initialize(Unit.ConvertFactor factor)
Parameters
factor Unit.ConvertFactor
The unit convert factor.
MakeReferenceImpl(LinkedList)
Makes the reference [implementation].
protected override sealed void MakeReferenceImpl(LinkedList<reference> lstRef)
Parameters
lstRef LinkedList
The container.
OnDeserialization(object)
Called when [deserialization].
protected override void OnDeserialization(object sender)
Parameters
sender object
The sender.
ReDraw()
Redraw.
public void ReDraw()
SetLayerImpl(Layer)
Sets the layer [implementation].
protected override void SetLayerImpl(Layer layer)
Parameters
layer Layer
The layer.