Skip to main content
Namespace: VM.API.Pre.Links
Assembly: VM.API.Pre.Links.dll
This class implements APIs for hydro dynamic.

Inheritance

object ← HydroDynamicAPI

Extension Methods

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

Methods

Parameters

document SubSystemDocument baseWater Obj hullBody Obj actionEntities IEnumerable<Obj> name string

Returns

Obj Create MTL.

Parameters

document SubSystemDocument The document to create the massless track link. baseEntity Obj The base entity. hullMarker Obj The hull marker. paths IEnumerable<PathData> The path information. thickness ExpressionValueVariable? The thickness. width ExpressionValueVariable? The width. name string The name of the MTL. If empty, default name starts with ‘MTL_’ will be generated and used.

Returns

Obj The new MTL object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’, ‘baseEntity’, ‘hullMarker’ are null. ArgumentNullException Will be thrown if ‘paths’ is null. ArgumentException Will be thrown if type of ‘baseEntity’ is not IContactableRigid3D. ArgumentException Will be thrown if type of ‘hullMarker’ is not IMarker. ArgumentOutOfRangeException Will be thrown if ‘thickness’, ‘width’ value equal to or less than 0. ArgumentException Will be thrown if type of ‘Marker’ of paths is not IMarker. ArgumentOutOfRangeException Will be thrown if type of ‘WindingRadius’ of paths value equal to or less than 0. Create MTL.

Parameters

document SubSystemDocument The document to create the massless track link. baseEntities IEnumerable<Obj> The base entities. hullMarker Obj The hull marker. paths IEnumerable<PathData> The path information. thickness ExpressionValueVariable? The thickness. width ExpressionValueVariable? The width. name string The name of the MTL. If empty, default name starts with ‘MTL_’ will be generated and used.

Exceptions

ArgumentNullException Will be thrown if ‘document’, ‘baseEntities’, ‘hullMarker’ are null. ArgumentNullException Will be thrown if ‘paths’ is null. ArgumentException Will be thrown if type of Obj of ‘baseEntities’ is not IContactableRigid3D. ArgumentException Will be thrown if type of ‘hullMarker’ is not IMarker. ArgumentOutOfRangeException Will be thrown if ‘thickness’, ‘width’ value equal to or less than 0. ArgumentException Will be thrown if type of ‘Marker’ of paths is not IMarker. ArgumentOutOfRangeException Will be thrown if type of ‘WindingRadius’ of paths value equal to or less than 0. Create SoilInteraction.

Parameters

document SubSystemDocument The document to create the soil interaction. baseEntity Obj The base entity. actionEntities IEnumerable<Obj> The action entities. name string The name of the SoilInteraction. If empty, default name starts with ‘SoilInteraction_’ will be generated and used.

Returns

Obj The new SoilInteraction object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’, ‘baseEntity’ are null. ArgumentException Will be thrown if type of ‘baseEntity’ is not IContactableRigid3D. ArgumentException Will be thrown if item type of ‘actionEntities’ is not IMarker.

Parameters

document SubSystemDocument baseWater Obj body Obj position Vector thrustingAxis Vector name string

Returns

Obj Create Water.

Parameters

document SubSystemDocument The document to create the water. body Obj The body. position Vector The position. axisZ Vector The z axis. axisX Vector The x axis. lengthInXAxis ExpressionValueVariable? The length in x axis. widthInYAxis ExpressionValueVariable? The width in y axis. depthOfDeepWater ExpressionValueVariable? The depth of deep water. name string The name of the Water. If empty, default name starts with ‘Water_’ will be generated and used.

Returns

Obj The new Water object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’, ‘baseEntity’ are null. ArgumentException Will be thrown if type of ‘baseEntity’ is not IContactableRigid3D. ArgumentException Will be thrown if type of ‘actionEntities’ is not IMarker. ArgumentException Will be thrown if the magnitude of ‘axisZ’. ArgumentException Will be thrown if the magnitude of ‘axisX’. ArgumentException Will be thrown if ‘axisZ’ is equal to ‘axisX’.