Class Extrude

java.lang.Object
eu.mihosoft.vrl.v3d.Extrude

public class Extrude extends Object
Extrudes concave and convex polygons.
Author:
Michael Hoffer <info@michaelhoffer.de>
  • Method Details Link icon

    • points Link icon

      public static CSG points(Vector3d dir, Vector3d... points)
      Extrudes the specified path (convex or concave polygon without holes or intersections, specified in CCW) into the specified direction.
      Parameters:
      dir - direction
      points - path (convex or concave polygon without holes or intersections)
      Returns:
      a CSG object that consists of the extruded polygon
    • points Link icon

      public static CSG points(Vector3d dir, List<Vector3d> points)
      Extrudes the specified path (convex or concave polygon without holes or intersections, specified in CCW) into the specified direction.
      Parameters:
      dir - direction
      points - path (convex or concave polygon without holes or intersections)
      Returns:
      a CSG object that consists of the extruded polygon
    • isCCW Link icon

      public static boolean isCCW(Polygon polygon)