MeshLib
 
Loading...
Searching...
No Matches
MRPrism.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
3
4namespace MR
5{
6//Creates a triangular prism. One edge of its base lies on 'x' axis and has 'baseLength' in length.
7//'leftAngle' and 'rightAngle' specify two adjacent angles
8// axis of a prism is parallel to 'z' axis
9 MRMESH_API Mesh makePrism( float baseLength, float leftAngle, float rightAngle, float height = 1.0f );
10}
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
auto height(const Box< V > &box)
returns size along y axis
Definition MRMesh/MRBox.h:237
Definition MRCameraOrientationPlugin.h:7
MRMESH_API Mesh makePrism(float baseLength, float leftAngle, float rightAngle, float height=1.0f)
Definition MRMesh/MRMesh.h:23