public final class PickSegment extends PickShape
| Constructor | Description |
|---|---|
PickSegment() |
Constructs an empty PickSegment.
|
PickSegment(javax.vecmath.Point3d start,
javax.vecmath.Point3d end) |
Constructs a line segment pick shape from the specified
parameters.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
get(javax.vecmath.Point3d start,
javax.vecmath.Point3d end) |
Gets the parameters from this PickSegment.
|
void |
set(javax.vecmath.Point3d start,
javax.vecmath.Point3d end) |
Sets the parameters of this PickSegment to the specified values.
|
public PickSegment()
public PickSegment(javax.vecmath.Point3d start,
javax.vecmath.Point3d end)
start - the start point of the line segment.end - the end point of the line segment.public void set(javax.vecmath.Point3d start,
javax.vecmath.Point3d end)
start - the start point of the line segment.end - the end point of the line segment.public void get(javax.vecmath.Point3d start,
javax.vecmath.Point3d end)
start - the Point3d object into which the start
point will be copied.end - the Point3d object into which the end point
will be copied.Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.