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(Point3d origin,
Point3d end,
double spreadAngle)
Constructs a finite cone pick shape from the specified
parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
getEnd(Point3d end)
Gets the end point of this PickConeSegment.
|
void |
set(Point3d origin,
Point3d end,
double spreadAngle)
Sets the parameters of this PickCone to the specified values.
|
getDirection, getOrigin, getSpreadAngle
public PickConeSegment()
PI/64
radians.public PickConeSegment(Point3d origin, 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(Point3d origin, 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(Point3d end)
end
- the Point3d object into which the end point
will be copied.Copyright © 2016–2022 SciJava. All rights reserved.