public final class PickConeSegment extends PickCone
BranchGroup.pickAll(org.scijava.java3d.PickShape),
Locale.pickAll(org.scijava.java3d.PickShape)| Constructor and Description |
|---|
PickConeSegment()
Constructs an empty PickConeSegment.
|
PickConeSegment(org.scijava.vecmath.Point3d origin,
org.scijava.vecmath.Point3d end,
double spreadAngle)
Constructs a finite cone pick shape from the specified
parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
getEnd(org.scijava.vecmath.Point3d end)
Gets the end point of this PickConeSegment.
|
void |
set(org.scijava.vecmath.Point3d origin,
org.scijava.vecmath.Point3d end,
double spreadAngle)
Sets the parameters of this PickCone to the specified values.
|
getDirection, getOrigin, getSpreadAnglepublic PickConeSegment()
PI/64 radians.public PickConeSegment(org.scijava.vecmath.Point3d origin,
org.scijava.vecmath.Point3d end,
double spreadAngle)
origin - the origin of the coneend - the end of the cone along the direction vectorspreadAngle - the spread angle of the cone in radianspublic void set(org.scijava.vecmath.Point3d origin,
org.scijava.vecmath.Point3d end,
double spreadAngle)
origin - the origin of the coneend - the end of the conespreadAngle - the spread angle of the cone in radianspublic void getEnd(org.scijava.vecmath.Point3d end)
end - the Point3d object into which the end point
will be copied.Copyright © 2015. All rights reserved.