Class FaceCuttingServicesImpl

java.lang.Object
cz.fidentis.analyst.engines.face.impl.FaceCuttingServicesImpl

public class FaceCuttingServicesImpl extends Object
Implementation of cutting services.
  • Constructor Details

    • FaceCuttingServicesImpl

      public FaceCuttingServicesImpl()
  • Method Details

    • fromSymmetryPlane

      public Plane fromSymmetryPlane(HumanFace face, javax.vecmath.Vector3d direction)
      Creates a cutting plane from the symmetry plane of the face
      Parameters:
      face - A face with symmetry plane. Must not be null
      direction - A normal vector of the cutting plane determining its basic orientation (x, y, or z)
      Returns:
      a cutting plane, null if the face has no symmetry plane.
    • fromBoundingBox

      public Plane fromBoundingBox(HumanFace face, javax.vecmath.Vector3d direction)
      Creates cutting plane from bounding box of face
      Parameters:
      face - A face. Must not be null
      direction - A normal vector of the cutting plane determining its orientation
      Returns:
      a cutting plane