|
FactoryPartMeshToShell Method
|
construct shell from given mesh
Namespace:
KarambaCommon.Factories
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic virtual List<BuilderShell> MeshToShell(
List<Mesh3> meshes,
List<string> identifiers,
List<CroSec> crosecs,
MessageLogger info,
out List<Point3> outNodes,
double limitDist = 0.005,
List<Color> colors = null,
List<Point3> points = null
)
Public Overridable Function MeshToShell (
meshes As List(Of Mesh3),
identifiers As List(Of String),
crosecs As List(Of CroSec),
info As MessageLogger,
<OutAttribute> ByRef outNodes As List(Of Point3),
Optional limitDist As Double = 0.005,
Optional colors As List(Of Color) = Nothing,
Optional points As List(Of Point3) = Nothing
) As List(Of BuilderShell)
public:
virtual List<BuilderShell^>^ MeshToShell(
List<Mesh3^>^ meshes,
List<String^>^ identifiers,
List<CroSec^>^ crosecs,
MessageLogger^ info,
[OutAttribute] List<Point3>^% outNodes,
double limitDist = 0.005,
List<Color>^ colors = nullptr,
List<Point3>^ points = nullptr
)
abstract MeshToShell :
meshes : List<Mesh3> *
identifiers : List<string> *
crosecs : List<CroSec> *
info : MessageLogger *
outNodes : List<Point3> byref *
?limitDist : float *
?colors : List<Color> *
?points : List<Point3>
(* Defaults:
let _limitDist = defaultArg limitDist 0.005
let _colors = defaultArg colors null
let _points = defaultArg points null
*)
-> List<BuilderShell>
override MeshToShell :
meshes : List<Mesh3> *
identifiers : List<string> *
crosecs : List<CroSec> *
info : MessageLogger *
outNodes : List<Point3> byref *
?limitDist : float *
?colors : List<Color> *
?points : List<Point3>
(* Defaults:
let _limitDist = defaultArg limitDist 0.005
let _colors = defaultArg colors null
let _points = defaultArg points null
*)
-> List<BuilderShell> Parameters
- meshes
- Type: System.Collections.GenericListMesh3
these meshes will be connected if their vertices meet. - identifiers
- Type: System.Collections.GenericListString
identifier of the shells in the model. Need not be unique. - crosecs
- Type: System.Collections.GenericListCroSec
crosec for the element. May be an empty list. - info
- Type: Karamba.UtilitiesMessageLogger
massage logger with information regarding the snapping of zero area faces - outNodes
- Type: System.Collections.GenericListPoint3
nodes of the model - limitDist (Optional)
- Type: SystemDouble
limit distance for coincident points." - colors (Optional)
- Type: System.Collections.GenericListColor
colors the shells in the model. May be an empty list. - points (Optional)
- Type: System.Collections.GenericListPoint3
these points will be inserted at the beginning of the graphs node-list. This makes it easy to reference them by index.
Return Value
Type:
ListBuilderShellShell builders
See Also