Mesh2generate Method

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

Definition

Namespace: Karamba.Geometry
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
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  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.

Return Value

TupleMesh2, Int32, Mesh3, Mesh3, Int32
The generated mesh.

See Also