public final class PickSegment extends PickShape
Constructor and Description |
---|
PickSegment()
Constructs an empty PickSegment.
|
PickSegment(org.jogamp.vecmath.Point3d start,
org.jogamp.vecmath.Point3d end)
Constructs a line segment pick shape from the specified
parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
get(org.jogamp.vecmath.Point3d start,
org.jogamp.vecmath.Point3d end)
Gets the parameters from this PickSegment.
|
void |
set(org.jogamp.vecmath.Point3d start,
org.jogamp.vecmath.Point3d end)
Sets the parameters of this PickSegment to the specified values.
|
public PickSegment()
public PickSegment(org.jogamp.vecmath.Point3d start, org.jogamp.vecmath.Point3d end)
start
- the start point of the line segment.end
- the end point of the line segment.public void set(org.jogamp.vecmath.Point3d start, org.jogamp.vecmath.Point3d end)
start
- the start point of the line segment.end
- the end point of the line segment.public void get(org.jogamp.vecmath.Point3d start, org.jogamp.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.