Description:
If IsClosed, just return true. Otherwise, decide if curve can be closed as follows: Linear curves polylinear curves with 2 segments, NURBS with 3 or less control points cannot be made closed. Also, if tolerance > 0 and the gap between start and end is larger than tolerance, curve cannot be made closed. Adjust the curve's endpoint to match its start point.
Syntax:
public Boolean MakeClosed(
Double tolerance
)
Double tolerance
)
Parameters:
- tolerance
- Type: System.Double
- If nonzero, and the gap is more than tolerance, curve cannot be made closed.
Returns:
Type: Boolean
True on success, False on failure.
Available since:
5.0