Mesh2generate Method
Mesh a 2d boundary and promote to a 3d mesh.
Namespace: Karamba.GeometryAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public Tuple<Mesh2, int[], Mesh3, Mesh3, int[]> generate(
IReadOnlyList<Tuple<Point2, int>> Vertices,
out int errorcode,
double desiredDistance,
List<IReadOnlyList<Tuple<Point2, int>>> holes,
double uvbbdiagl,
double upperbbdiagl,
Func<double, double, Tuple<Point3, Vector3, double, double, double>> uvmap,
IReadOnlyList<Tuple<Point2, int>> InclusionPoints = null,
double scalarFactor = 1,
double hausd = -1,
double grad = -1
)
Public Function generate (
Vertices As IReadOnlyList(Of Tuple(Of Point2, Integer)),
<OutAttribute> ByRef errorcode As Integer,
desiredDistance As Double,
holes As List(Of IReadOnlyList(Of Tuple(Of Point2, Integer))),
uvbbdiagl As Double,
upperbbdiagl As Double,
uvmap As Func(Of Double, Double, Tuple(Of Point3, Vector3, Double, Double, Double)),
Optional InclusionPoints As IReadOnlyList(Of Tuple(Of Point2, Integer)) = Nothing,
Optional scalarFactor As Double = 1,
Optional hausd As Double = -1,
Optional grad As Double = -1
) As Tuple(Of Mesh2, Integer(), Mesh3, Mesh3, Integer())
public:
Tuple<Mesh2^, array<int>^, Mesh3^, Mesh3^, array<int>^>^ generate(
IReadOnlyList<Tuple<Point2, int>^>^ Vertices,
[OutAttribute] int% errorcode,
double desiredDistance,
List<IReadOnlyList<Tuple<Point2, int>^>^>^ holes,
double uvbbdiagl,
double upperbbdiagl,
Func<double, double, Tuple<Point3, Vector3, double, double, double>^>^ uvmap,
IReadOnlyList<Tuple<Point2, int>^>^ InclusionPoints = nullptr,
double scalarFactor = 1,
double hausd = -1,
double grad = -1
)
member generate :
Vertices : IReadOnlyList<Tuple<Point2, int>> *
errorcode : int byref *
desiredDistance : float *
holes : List<IReadOnlyList<Tuple<Point2, int>>> *
uvbbdiagl : float *
upperbbdiagl : float *
uvmap : Func<float, float, Tuple<Point3, Vector3, float, float, float>> *
?InclusionPoints : IReadOnlyList<Tuple<Point2, int>> *
?scalarFactor : float *
?hausd : float *
?grad : float
(* Defaults:
let _InclusionPoints = defaultArg InclusionPoints null
let _scalarFactor = defaultArg scalarFactor 1
let _hausd = defaultArg hausd -1
let _grad = defaultArg grad -1
*)
-> Tuple<Mesh2, int[], Mesh3, Mesh3, int[]>
- Vertices IReadOnlyListTuplePoint2, Int32
- Vertices to be used.
- errorcode Int32
- Error code.
- desiredDistance Double
- Desired distance.
- holes ListIReadOnlyListTuplePoint2, Int32
- Lists of points specifying holes.
- uvbbdiagl Double
- uvbbdiagl.
- upperbbdiagl Double
- upperbbdiagl.
- uvmap FuncDouble, Double, TuplePoint3, Vector3, Double, Double, Double
- The function that associates with the parameters u, v the points in space, the normal vector, and the three Gaussian fundamental quantities E, F, G.
- InclusionPoints IReadOnlyListTuplePoint2, Int32 (Optional)
- Points to be included in the mesh.
- scalarFactor Double (Optional)
- ScalarFactor.
- hausd Double (Optional)
- Hausdorff parameter.
- grad Double (Optional)
- Gradation value.
TupleMesh2,
Int32,
Mesh3,
Mesh3,
Int32The generated mesh.