|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Shape3d
Method Summary | |
---|---|
void |
applyTransform(javax.media.j3d.Transform3D transform)
Apply the given transform to translate and rotate this shape. |
Shape3d |
applyTransformCopy(javax.media.j3d.Transform3D transform)
Create a copy of this shape, then apply the given transform to translate and rotate the copy. |
double |
distance(javax.vecmath.Point3d point)
Find the distance from the closest point on this shape to the given point. |
void |
getClosestPointAndNormalAt(javax.vecmath.Point3d closestPointToPack,
javax.vecmath.Vector3d normalToPack,
javax.vecmath.Point3d pointInWorldToCheck)
Find the closest point on the surface of this shape to the given point as well as the surface normal at that point. |
boolean |
isInsideOrOnSurface(javax.vecmath.Point3d pointToCheck)
Determine whether the given point is on or inside the surface of this shape. |
boolean |
isInsideOrOnSurface(javax.vecmath.Point3d pointToCheck,
double epsilon)
Determine whether the given point is on or inside the surface of this shape, within a given tolerance or error level. |
void |
orthogonalProjection(javax.vecmath.Point3d pointToCheckAndPack)
Find the closest point on the surface of this shape to the given point. |
javax.vecmath.Point3d |
orthogonalProjectionCopy(javax.vecmath.Point3d pointToCheck)
Find the closest point on the surface of this shape to the given point. |
Method Detail |
---|
void applyTransform(javax.media.j3d.Transform3D transform)
transform
- Shape3d applyTransformCopy(javax.media.j3d.Transform3D transform)
transform
-
double distance(javax.vecmath.Point3d point)
point
-
void getClosestPointAndNormalAt(javax.vecmath.Point3d closestPointToPack, javax.vecmath.Vector3d normalToPack, javax.vecmath.Point3d pointInWorldToCheck)
closestPointToPack
- out parameter packed with the resulting closest point on the shapenormalToPack
- out parameter packed with the resulting normal vectorpointInWorldToCheck
- boolean isInsideOrOnSurface(javax.vecmath.Point3d pointToCheck)
pointToCheck
-
boolean isInsideOrOnSurface(javax.vecmath.Point3d pointToCheck, double epsilon)
pointToCheck
- epsilon
-
void orthogonalProjection(javax.vecmath.Point3d pointToCheckAndPack)
pointToCheckAndPack
- both an input parameter (the point to check),
and an output parameter (packed with the resulting ortho point).javax.vecmath.Point3d orthogonalProjectionCopy(javax.vecmath.Point3d pointToCheck)
referencePoint
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |