public final class TriangleCollector extends Object
Modifier and Type | Method and Description |
---|---|
static void |
visitSimpleTriangles(IIncrementalTin tin,
Consumer<SimpleTriangle> consumer)
Identify all valid triangles in the specified TIN and
provide them to the application-supplied Consumer.
|
static void |
visitTriangles(IIncrementalTin tin,
Consumer<Vertex[]> consumer)
Identify all valid triangles in the specified TIN and
provide them to the application-supplied Consumer.
|
static void |
visitTrianglesConstrained(IIncrementalTin tin,
Consumer<Vertex[]> consumer)
Traverses the TIN, visiting all triangles that are members of a constrained
region.
|
static void |
visitTrianglesForConstrainedRegion(IConstraint constraint,
Consumer<Vertex[]> consumer)
Traverses the interior of a constrained region, visiting the triangles in
its interior.
|
public static void visitTrianglesConstrained(IIncrementalTin tin, Consumer<Vertex[]> consumer)
All triangles produced by this method are valid (non-ghost) triangles with valid, non-null vertices.
tin
- a valid instanceconsumer
- an application-specific consumer.public static void visitTrianglesForConstrainedRegion(IConstraint constraint, Consumer<Vertex[]> consumer)
constraint
- a valid instance defining a constrained region that has
been added to a TIN.consumer
- an application-specific consumer.public static void visitTriangles(IIncrementalTin tin, Consumer<Vertex[]> consumer)
tin
- a valid TINconsumer
- a valid consumer.public static void visitSimpleTriangles(IIncrementalTin tin, Consumer<SimpleTriangle> consumer)
tin
- a valid TINconsumer
- a valid consumer.Copyright © 2021. All rights reserved.