Package georegression.geometry
Class UtilShape3D_F32
java.lang.Object
georegression.geometry.UtilShape3D_F32
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
polygon2Dto3D
(Polygon2D_F32 polygon2D, Se3_F32 polyToWorld, DogArray<Point3D_F32> output) Converts a 2D polygon into a 3D polygon.
-
Constructor Details
-
UtilShape3D_F32
public UtilShape3D_F32()
-
-
Method Details
-
polygon2Dto3D
public static void polygon2Dto3D(Polygon2D_F32 polygon2D, Se3_F32 polyToWorld, DogArray<Point3D_F32> output) Converts a 2D polygon into a 3D polygon. The 2D points will lie on the x-y plane (e.g. (x,y,0)) and are converted to 3D using polyToWorld.- Parameters:
polygon2D
- (Input) polygonpolyToWorld
- (Output) transform from 2D to 3D coordinate system.output
-
-