![]() |
ModelBuilder Class |
Namespace: Karamba.Models
The ModelBuilder type exposes the following members.
Name | Description | |
---|---|---|
![]() | ModelBuilder |
Initializes a new instance of the ModelBuilder class.
Creates new model-builder.
|
Name | Description | |
---|---|---|
![]() | info | Gets the information from message logger. |
![]() | warning | Gets the warning regarding the assembling process of the model. |
Name | Description | |
---|---|---|
![]() | Add(IReadOnlyListCroSec) |
Adds a list of cross sections to the model.
|
![]() | Add(IReadOnlyListFemMaterial) |
Add materials to model. The first material is the default material.
|
![]() | Add(IReadOnlyListSupport) |
add supports.
|
![]() | Add(ListLoad, String) |
add all types of loads to the model.
|
![]() | Add(IReadOnlyListPoint3, IReadOnlyListBuilderElement) |
Adds points given explicitly and points given implicitly via elements and snap them.
|
![]() | Add(IReadOnlyListBuilderElement, IReadOnlyListElemSet, IReadOnlyListPoint3, IReadOnlyListFemMaterial, MessageLogger) |
Adds elements to the model.
|
![]() | build |
Builds a model from given input data and builders.
|
![]() ![]() | decomposeElemId |
decomposes an element identifier into its parts. Multiple id-s may be given via 'ampersand \"id1\"|\"id2\"|\"id3\"' or 'ampersand id1|id2|id3'.
|
![]() | elementModifyCroSec |
Modifies cross sections based on element data. New cross sections are added to the end of the
cross sections list.
|
![]() | elementsApplyModifiers |
Apply modifiers to the elements.
|
![]() | elementsAttachCroSecs |
Attaches cross sections which directly reference an element and thus act as agents
This is only done if a default cross section is attached to an element.
|
![]() | elementsAttachMaterial |
Attaches materials that directly refer to elements. Only if an element has a default material.
|
![]() | elementsCategorize |
Splits up the incoming list of grass elements.
|
![]() ![]() | ElementsEnlistGuids |
Enlists the element and element set guids in the model.
|
![]() ![]() | ElementsEnlistIds |
Enlists the element and element set identifiers in the model.
|
![]() | elementsSetInvalidsInactive |
sets invalid elements as inactive Needs to come after cross section attachment since springs-elements can have identical endpoints.
|
![]() | elementsSnapIndex |
Snaps elements based on their nodal index.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | NodeIndToElemInds |
Creates a mapping from node index to element indices.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() ![]() | UpdateIdIndexer |
Update the Identifier-indexer with element identifiers from materials.
|
Name | Description | |
---|---|---|
![]() | _pointTree |
kd-tree of all nodes of the model.
|
![]() | duplicate_supports_inds_ | indexes of supports which act at nodes which already have a support. |
![]() | limit_dist_ |
distance below which two nodes snap to one.
|
![]() | Logger | general information regarding the assembling process of the model. |
![]() | unused_loads_inds_ | indexes of user defined element loads which are not used. |
![]() | warning_ | warning regarding the assembling process of the model. |