public class GeoBSpline extends Geometry
The 2D GeoBSpline class.
The B-spline curve is a type of curve. A B-spline curve is made up of four or more control points. The trend and steepness of each segment is determined by the four adjacent control points.
| Modifier and Type | Field and Description |
|---|---|
Point2D[] |
controlPoints
Control points
|
| Constructor and Description |
|---|
GeoBSpline()
The Constructor.
|
GeoBSpline(GeoBSpline geoBSpline)
Initializes a new instance identical to the given GeoBSpline object.
|
GeoBSpline(int id, Point2D[] controlPoints)
Creates a new GeoBSpline object according to the specified arguments.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
${services_components_commontypes_Geometry_method_equals_Title}
|
int |
hashCode()
${services_components_commontypes_Geometry_method_hashCode_Title}
|
equals, fromPoint2D, fromPoint2Ds, fromPoint2Ds, fromRect2D, getBounds, getCenter, isGeometryCAD, isPointInPolygon, setCenterpublic Point2D[] controlPoints
Control points
public GeoBSpline()
The Constructor.
public GeoBSpline(int id,
Point2D[] controlPoints)
Creates a new GeoBSpline object according to the specified arguments.
id - the ID of the object.controlPoints - control points.public GeoBSpline(GeoBSpline geoBSpline)
Initializes a new instance identical to the given GeoBSpline object.
geoBSpline - The specified GeoBSpline object.public boolean equals(java.lang.Object obj)
Geometry${services_components_commontypes_Geometry_method_equals_Title}
${services_components_commontypes_Geometry_method_equals_Description}
public int hashCode()
Geometry${services_components_commontypes_Geometry_method_hashCode_Title}
${services_components_commontypes_Geometry_method_hashCode_Description}