CoonsShadingPatch Class
A Coons patch composed of four Bezier curves for mesh shading.
Declaration
public class CoonsShadingPatch extends JavaObject implements ICloneable
Implements
Inherited Members
Inheritance
CoonsShadingPatch(ShadingBezierCurve left, ShadingBezierCurve top, ShadingBezierCurve right, ShadingBezierCurve bottom)
Initializes a new instance of the CoonsShadingPatch class with specified bounds.
Declaration
public CoonsShadingPatch(ShadingBezierCurve left, ShadingBezierCurve top, ShadingBezierCurve right, ShadingBezierCurve bottom)
Parameters
| Name | Type | Description |
|---|---|---|
| left | ShadingBezierCurve | The left boundary curve of the patch. |
| top | ShadingBezierCurve | The top boundary curve of the patch. |
| right | ShadingBezierCurve | The right boundary curve of the patch. |
| bottom | ShadingBezierCurve | The bottom boundary curve of the patch. |
Methods
deepClone() Method
Creates a deep copy of the current object.
Declaration
public CoonsShadingPatch deepClone()
Returns
| Type | Description |
|---|---|
CoonsShadingPatch |
A deep copy of the current object. |
getBottom() Method
Returns the bottom boundary curve of the patch.
Declaration
public ShadingBezierCurve getBottom()
Returns
| Type | Description |
|---|---|
| ShadingBezierCurve | The bottom boundary curve of the patch. |
getLeft() Method
Returns the left boundary curve of the patch.
Declaration
public ShadingBezierCurve getLeft()
Returns
| Type | Description |
|---|---|
| ShadingBezierCurve | The left boundary curve of the patch. |
getRight() Method
Returns the right boundary curve of the patch.
Declaration
public ShadingBezierCurve getRight()
Returns
| Type | Description |
|---|---|
| ShadingBezierCurve | The right boundary curve of the patch. |
getTop() Method
Returns the top boundary curve of the patch.
Declaration
public ShadingBezierCurve getTop()
Returns
| Type | Description |
|---|---|
| ShadingBezierCurve | The top boundary curve of the patch. |
objectClone() Method
Creates a copy of the current object.
Declaration
public Object objectClone()
Returns
| Type | Description |
|---|---|
| Object | A copy of the current object. |