Class PlanarSpansFiller
This class fills an ordered sequence of planar spans. The 2D polygon is formed
by chaining the spans.
Current issues:
- connectors have a single segment, so when simplified, they become a single edge.
should subsample them instead.
- currently mapping from inserted edges back to span edges is not calculated, so
we have no way to merge them (ie MergeFillBoundary not implemented)
- fill triangles not returned?
Inheritance
PlanarSpansFiller
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class PlanarSpansFiller
Constructors
PlanarSpansFiller(DMesh3, IList<EdgeSpan>)
Declaration
public PlanarSpansFiller(DMesh3 mesh, IList<EdgeSpan> spans)
Parameters
Fields
FillTargetEdgeLen
fill mesh will be tessellated to this length, set to
double.MaxValue to use zero-length tessellation
Declaration
public double FillTargetEdgeLen
Field Value
MergeFillBoundary
in some cases fill can succeed but we can't merge w/o creating holes. In
such cases it might be better to not merge at all...
Declaration
public bool MergeFillBoundary
Field Value
Mesh
Declaration
Field Value
PlaneNormal
Declaration
public Vector3d PlaneNormal
Field Value
PlaneOrigin
Declaration
public Vector3d PlaneOrigin
Field Value
Methods
Fill()
Declaration
Returns
SetPlane(Vector3d, Vector3d)
Declaration
public void SetPlane(Vector3d origin, Vector3d normal)
Parameters
SetPlane(Vector3d, Vector3d, Vector3d, Vector3d)
Declaration
public void SetPlane(Vector3d origin, Vector3d normal, Vector3d planeX, Vector3d planeY)
Parameters