- All Superinterfaces:
Point3DMapper<Point3D>
- Enclosing class:
- BezierGrid
Interface for mapping one point in a two or three dimensional
space into a point in a three dimensional point, with
parameters indicating if the point is a control point.
When used to create a Bézier grid, this interface also indicates
the number of grid points in the U direction and whether the
U direction is closed.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bzdev.geom.Point3DMapper
Point3DMapper.Type
-
Method Summary
Methods inherited from interface org.bzdev.geom.Point3DMapper
andThen, apply, apply, apply
-
Method Details
-
getN
int getN()Get the number of points in the U direction for the BezierGrid to be constructed.- Returns:
- the number of points
-
isClosed
boolean isClosed()Determine if the BezierGrid to be constructed is closed in the U direction.- Returns:
- true if the grid is closed in the U direction; false otherwise
-
getRegion
int getRegion(int i) Get the region for a given index. The region will depend on the U index only. regions start with 0 and are incremented each time a straight-line segment is seen.- Parameters:
i
- the index- Returns:
- the region
-