Class Modeler3D
java.lang.Object
com.gaia3d.converter.geometry.pipe.Modeler3D
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getCircleInterpolationByRadius
(double radius) getExtrudedPrimitive
(List<org.joml.Vector3d> positions, org.joml.Vector3d extrusionVector, boolean bottomCap, boolean topCap, boolean isClosed, boolean isLateralSurfaceSmooth) getLateralSurface
(List<GaiaVertex> vertexListA, List<GaiaVertex> vertexListB, boolean isClosed, Map<GaiaVertex, Integer> mapVertexIndex, GaiaSurface lateralSurface, boolean isSmooth) org.joml.Matrix4d
getMatrix4FromZDir
(org.joml.Vector3d zDir) getPipeNetworkFromPipeElbows
(List<PipeElbow> pipeElbows) getPrimitiveFromMultipleProfiles
(List<List<org.joml.Vector3d>> profiles, boolean bottomCap, boolean topCap, boolean isClosed, boolean isSmooth) makeGeometry
(TopologicalNetwork network)
-
Constructor Details
-
Modeler3D
public Modeler3D()
-
-
Method Details
-
getPipeNetworkFromPipeElbows
-
makeGeometry
-
getLateralSurface
public GaiaSurface getLateralSurface(List<GaiaVertex> vertexListA, List<GaiaVertex> vertexListB, boolean isClosed, Map<GaiaVertex, Integer> mapVertexIndex, GaiaSurface lateralSurface, boolean isSmooth) -
getPrimitiveFromMultipleProfiles
public GaiaPrimitive getPrimitiveFromMultipleProfiles(List<List<org.joml.Vector3d>> profiles, boolean bottomCap, boolean topCap, boolean isClosed, boolean isSmooth) -
getExtrudedPrimitive
public GaiaPrimitive getExtrudedPrimitive(List<org.joml.Vector3d> positions, org.joml.Vector3d extrusionVector, boolean bottomCap, boolean topCap, boolean isClosed, boolean isLateralSurfaceSmooth) -
getCircleInterpolationByRadius
public int getCircleInterpolationByRadius(double radius) -
getMatrix4FromZDir
public org.joml.Matrix4d getMatrix4FromZDir(org.joml.Vector3d zDir)
-