|
Mesh2 Constructor (IReadOnlyListTuplePoint2, Int32, Int32, Double, ListIReadOnlyListTuplePoint2, Int32, FuncDouble, Double, Double, IReadOnlyListTuplePoint2, Int32, Double, Double, Double)
|
Initializes a new instance of the
Mesh2 class.
mesh a 2d boundary.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntaxpublic Mesh2(
IReadOnlyList<Tuple<Point2, int>> Vertices,
out int errorcode,
double desiredDistance,
List<IReadOnlyList<Tuple<Point2, int>>> holes,
Func<double, double, double> solution,
IReadOnlyList<Tuple<Point2, int>> InclusionPoints = null,
double scalarFactor = 1,
double hausd = -1,
double grad = -1
)
Public Sub New (
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))),
solution As Func(Of 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
)
public:
Mesh2(
IReadOnlyList<Tuple<Point2, int>^>^ Vertices,
[OutAttribute] int% errorcode,
double desiredDistance,
List<IReadOnlyList<Tuple<Point2, int>^>^>^ holes,
Func<double, double, double>^ solution,
IReadOnlyList<Tuple<Point2, int>^>^ InclusionPoints = nullptr,
double scalarFactor = 1,
double hausd = -1,
double grad = -1
)
new :
Vertices : IReadOnlyList<Tuple<Point2, int>> *
errorcode : int byref *
desiredDistance : float *
holes : List<IReadOnlyList<Tuple<Point2, int>>> *
solution : Func<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
*)
-> Mesh2
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. - solution
- Type: SystemFuncDouble, Double, Double
Function for refining the triangulation. - 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.
See Also