public class EditorUtils
extends java.lang.Object
Constructor and Description |
---|
EditorUtils() |
Modifier and Type | Method and Description |
---|---|
static Point3d |
intersectWithPlane(Point3d point,
MouseRayEvent ray) |
static Point3d |
intersectWithPlane(RigidTransform3d coordinateFrame,
MouseRayEvent ray)
Intersect a mouse ray with a plane that goes through the specified
component.
|
static void |
saveComponent(ModelComponent comp) |
static void |
saveComponentNames(java.util.Collection<? extends ModelComponent> comps) |
static void |
saveMesh(MeshBase mesh,
AffineTransform3dBase X) |
static void |
saveMeshAsAnsysFile(FemModel3d model) |
public static Point3d intersectWithPlane(RigidTransform3d coordinateFrame, MouseRayEvent ray)
coordinateFrame
- Coordinate frame defining the plane. The plane is assumed to pass throught
the frame's origin and be perpendicular to the z axis.ray
- The mouse ray.public static Point3d intersectWithPlane(Point3d point, MouseRayEvent ray)
public static void saveComponent(ModelComponent comp)
public static void saveComponentNames(java.util.Collection<? extends ModelComponent> comps)
public static void saveMesh(MeshBase mesh, AffineTransform3dBase X)
public static void saveMeshAsAnsysFile(FemModel3d model)