measure allowing to compute surface of contact between shapes
This measure allows to compute the portion of surface of a shape which is in contact with its neighbors.
Given the fact that input data are discreet, notion of contact is defined with respect to a distance threshold ContactDist parameter. Area of contact will be accounted for distances lower or equal to this user parameter.
Meshes associated to shapes are currently extremly dense. In consequence a triangle is considered to be in contact with another shape if its barycenter is at distance lower or equal to ContactDist from barycenter of a triangle of other shape.
Parameter flag ProcessHoles allows to specify whether shape holes should be taken into account during computation. Please see Distance to nearest neighbor 2d for an explanation of effects of this flag.
Here is an example of surface of contact computation for a single shape :
On previous figure, surface of contact from shape to neighbors is represented in pink.
Here is an example of surface of contact computation for a sample of shapes :
On previous figure, surface of contact with neighbors is illustrated using a color map starting on green colors for lower surfaces and ending on red color for higher surfaces.
measure allowing to compute surface of contact between shapes
Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
---|---|---|---|---|
![]()
Geometry 3d | ![]()
Area | ![]() | ![]()
Value (ipsdk::ipReal64) | ![]()
Boundary Approximation |