GeometryDynamicStateSetElementT Method |
Adds or changes the geometry type stored in this dynamic state. If the T is
not storable by this type then this method will throw.
Namespace:
AGI.Foundation.Geometry
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public virtual void SetElement<T>(
string elementIdentification,
T geometry
)
where T : DefinitionalObject
Public Overridable Sub SetElement(Of T As DefinitionalObject) (
elementIdentification As String,
geometry As T
)
public:
generic<typename T>
where T : DefinitionalObject
virtual void SetElement(
String^ elementIdentification,
T geometry
)
abstract SetElement :
elementIdentification : string *
geometry : 'T -> unit when 'T : DefinitionalObject
override SetElement :
elementIdentification : string *
geometry : 'T -> unit when 'T : DefinitionalObject
Parameters
- elementIdentification
- Type: SystemString
The name of the element to add or change. - geometry
- Type: T
The DefinitionalObject to store in this dynamic state.
Type Parameters
- T
- The type of the DefinitionalObject (Point, Scalar).
See Also