Click or drag to resize

Mesh2generate Method

Mesh a 2d boundary and promote to a 3d mesh.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
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
)

Parameters

Vertices
Type: System.Collections.GenericIReadOnlyListTuplePoint2, Int32
Vertices to be used.
errorcode
Type: SystemInt32
Error code.
desiredDistance
Type: SystemDouble
Desired distance.
holes
Type: System.Collections.GenericListIReadOnlyListTuplePoint2, Int32
Lists of points specifying holes.
uvbbdiagl
Type: SystemDouble
uvbbdiagl.
upperbbdiagl
Type: SystemDouble
upperbbdiagl.
uvmap
Type: SystemFuncDouble, 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 (Optional)
Type: System.Collections.GenericIReadOnlyListTuplePoint2, Int32
Points to be included in the mesh.
scalarFactor (Optional)
Type: SystemDouble
ScalarFactor.
hausd (Optional)
Type: SystemDouble
Hausdorff parameter.
grad (Optional)
Type: SystemDouble
Gradation value.

Return Value

Type: TupleMesh2, Int32, Mesh3, Mesh3, Int32
The generated mesh.
See Also