#include <MeshFactory.h>
类 | |
struct | RoadParameters |
Parameters for the road generation 更多... | |
Public 成员函数 | |
std::unique_ptr< Mesh > | Generate (const road::Lane &lane) const |
Generates a mesh that defines the whole lane | |
std::unique_ptr< Mesh > | Generate (const road::Lane &lane, const double s_start, const double s_end) const |
Generates a mesh that defines a lane from a given s start and end | |
std::unique_ptr< Mesh > | Generate (const road::LaneSection &lane_section) const |
Generates a mesh that defines a lane section | |
std::unique_ptr< Mesh > | Generate (const road::Road &road) const |
Generates a mesh that defines a road | |
void | GenerateAllOrderedWithMaxLen (const road::Road &road, std::map< road::Lane::LaneType, std::vector< std::unique_ptr< Mesh > > > &roads) const |
std::vector< std::unique_ptr< Mesh > > | GenerateAllWithMaxLen (const road::Road &road) const |
Generates a chunked road with all the features needed for simulation | |
void | GenerateLaneMarkForRoad (const road::Road &road, std::vector< std::unique_ptr< Mesh > > &inout, std::vector< std::string > &outinfo) const |
void | GenerateLaneMarksForCenterLine (const road::Road &road, const road::LaneSection &lane_section, const road::Lane &lane, std::vector< std::unique_ptr< Mesh > > &inout, std::vector< std::string > &outinfo) const |
void | GenerateLaneMarksForNotCenterLine (const road::LaneSection &lane_section, const road::Lane &lane, std::vector< std::unique_ptr< Mesh > > &inout, std::vector< std::string > &outinfo) const |
void | GenerateLaneSectionOrdered (const road::LaneSection &lane_section, std::map< carla::road::Lane::LaneType, std::vector< std::unique_ptr< Mesh > > > &result) const |
Generates a mesh that defines a lane section | |
std::unique_ptr< Mesh > | GenerateLeftWall (const road::Lane &lane, const double s_start, const double s_end) const |
Generates a wall-like mesh at the left side of the lane | |
std::map< carla::road::Lane::LaneType, std::vector< std::unique_ptr< Mesh > > > | GenerateOrderedWithMaxLen (const road::LaneSection &lane_section) const |
Generates a list of meshes that defines a lane_section with a maximum length | |
std::map< carla::road::Lane::LaneType, std::vector< std::unique_ptr< Mesh > > > | GenerateOrderedWithMaxLen (const road::Road &road) const |
Generates a list of meshes that defines a road with a maximum length | |
std::unique_ptr< Mesh > | GenerateRightWall (const road::Lane &lane, const double s_start, const double s_end) const |
Generates a wall-like mesh at the right side of the lane | |
std::unique_ptr< Mesh > | GenerateSidewalk (const road::Lane &lane) const |
std::unique_ptr< Mesh > | GenerateSidewalk (const road::Lane &lane, const double s_start, const double s_end) const |
std::unique_ptr< Mesh > | GenerateSidewalk (const road::LaneSection &lane_section) const |
std::unique_ptr< Mesh > | GenerateTesselated (const road::Lane &lane) const |
Generates a mesh that defines the whole lane with bigger tesselation | |
std::unique_ptr< Mesh > | GenerateTesselated (const road::Lane &lane, const double s_start, const double s_end) const |
Generates a mesh that defines a lane from a given s start and end with bigger tesselation | |
std::unique_ptr< Mesh > | GenerateWalls (const road::LaneSection &lane_section) const |
Genrates a mesh representing a wall on the road corners to avoid cars falling down | |
std::vector< std::unique_ptr< Mesh > > | GenerateWallsWithMaxLen (const road::LaneSection &lane_section) const |
Generates a list of meshes that defines a lane_section safety wall with a maximum length | |
std::vector< std::unique_ptr< Mesh > > | GenerateWallsWithMaxLen (const road::Road &road) const |
Generates a list of meshes that defines a road safety wall with a maximum length | |
std::vector< std::unique_ptr< Mesh > > | GenerateWithMaxLen (const road::LaneSection &lane_section) const |
Generates a list of meshes that defines a lane_section with a maximum length | |
std::vector< std::unique_ptr< Mesh > > | GenerateWithMaxLen (const road::Road &road) const |
Generates a list of meshes that defines a road with a maximum length | |
std::unique_ptr< Mesh > | MergeAndSmooth (std::vector< std::unique_ptr< Mesh > > &lane_meshes) const |
MeshFactory (rpc::OpendriveGenerationParameters params=rpc::OpendriveGenerationParameters()) | |
静态 Public 成员函数 | |
static uint32_t | SelectVerticesInWidth (uint32_t default_num_vertices, road::Lane::LaneType type) |
Public 属性 | |
RoadParameters | road_param |
Private 成员函数 | |
std::pair< geom::Vector3D, geom::Vector3D > | ComputeEdgesForLanemark (const road::LaneSection &lane_section, const road::Lane &lane, const double s_current, const double lanemark_width) const |
Mesh helper generator
在文件 MeshFactory.h 第 22 行定义.
carla::geom::MeshFactory::MeshFactory | ( | rpc::OpendriveGenerationParameters | params = rpc::OpendriveGenerationParameters() | ) |
在文件 MeshFactory.cpp 第 21 行定义.
引用了 carla::rpc::OpendriveGenerationParameters::additional_width, carla::geom::MeshFactory::RoadParameters::extra_lane_width, carla::geom::MeshFactory::RoadParameters::max_road_len, carla::rpc::OpendriveGenerationParameters::max_road_length, carla::geom::MeshFactory::RoadParameters::resolution, road_param, carla::rpc::OpendriveGenerationParameters::vertex_distance, carla::geom::MeshFactory::RoadParameters::vertex_width_resolution, carla::rpc::OpendriveGenerationParameters::vertex_width_resolution, carla::geom::MeshFactory::RoadParameters::wall_height , 以及 carla::rpc::OpendriveGenerationParameters::wall_height.
|
private |
在文件 MeshFactory.cpp 第 1192 行定义.
引用了 carla::geom::MeshFactory::RoadParameters::extra_lane_width, carla::road::Lane::GetCornerPositions(), carla::road::LaneSection::GetLanes(), carla::geom::Vector3D::Length() , 以及 road_param.
被这些函数引用 GenerateLaneMarksForCenterLine() , 以及 GenerateLaneMarksForNotCenterLine().
std::unique_ptr< Mesh > carla::geom::MeshFactory::Generate | ( | const road::Lane & | lane | ) | const |
Generates a mesh that defines the whole lane
在文件 MeshFactory.cpp 第 50 行定义.
引用了 carla::geom::EPSILON, Generate(), carla::road::Lane::GetDistance() , 以及 carla::road::Lane::GetLength().
std::unique_ptr< Mesh > carla::geom::MeshFactory::Generate | ( | const road::Lane & | lane, |
const double | s_start, | ||
const double | s_end ) const |
Generates a mesh that defines a lane from a given s start and end
在文件 MeshFactory.cpp 第 62 行定义.
引用了 carla::geom::Mesh::AddMaterial(), carla::geom::Mesh::AddTriangleStrip(), DEBUG_ASSERT, carla::geom::Mesh::EndMaterial(), carla::geom::MeshFactory::RoadParameters::extra_lane_width, carla::road::Lane::GetCornerPositions(), carla::road::Lane::GetDistance(), carla::road::Lane::GetId(), carla::road::Lane::GetLength(), carla::road::Lane::GetType(), carla::road::Lane::IsStraight(), carla::geom::MESH_EPSILON, RELEASE_ASSERT, carla::geom::MeshFactory::RoadParameters::resolution, road_param , 以及 carla::road::Lane::Sidewalk.
std::unique_ptr< Mesh > carla::geom::MeshFactory::Generate | ( | const road::LaneSection & | lane_section | ) | const |
Generates a mesh that defines a lane section
在文件 MeshFactory.cpp 第 42 行定义.
引用了 Generate() , 以及 carla::road::LaneSection::GetLanes().
std::unique_ptr< Mesh > carla::geom::MeshFactory::Generate | ( | const road::Road & | road | ) | const |
Generates a mesh that defines a road
在文件 MeshFactory.cpp 第 34 行定义.
引用了 Generate() , 以及 carla::road::Road::GetLaneSections().
被这些函数引用 Generate(), Generate(), Generate(), carla::road::Map::GenerateChunkedMesh(), carla::road::Map::GenerateMesh() , 以及 GenerateWithMaxLen().
void carla::geom::MeshFactory::GenerateAllOrderedWithMaxLen | ( | const road::Road & | road, |
std::map< road::Lane::LaneType, std::vector< std::unique_ptr< Mesh > > > & | roads ) const |
在文件 MeshFactory.cpp 第 733 行定义.
引用了 GenerateOrderedWithMaxLen().
被这些函数引用 carla::road::Map::GenerateRoadsMultithreaded().
std::vector< std::unique_ptr< Mesh > > carla::geom::MeshFactory::GenerateAllWithMaxLen | ( | const road::Road & | road | ) | const |
Generates a chunked road with all the features needed for simulation
在文件 MeshFactory.cpp 第 703 行定义.
引用了 GenerateWallsWithMaxLen(), GenerateWithMaxLen() , 以及 carla::road::Road::IsJunction().
被这些函数引用 carla::road::Map::GenerateChunkedMesh().
void carla::geom::MeshFactory::GenerateLaneMarkForRoad | ( | const road::Road & | road, |
std::vector< std::unique_ptr< Mesh > > & | inout, | ||
std::vector< std::string > & | outinfo ) const |
在文件 MeshFactory.cpp 第 748 行定义.
引用了 carla::road::Lane::Bidirectional, carla::road::Lane::Driving, GenerateLaneMarksForCenterLine(), GenerateLaneMarksForNotCenterLine(), carla::road::Road::GetLaneSections(), carla::road::Lane::None , 以及 carla::road::Lane::Parking.
被这些函数引用 carla::road::Map::GenerateLineMarkings().
void carla::geom::MeshFactory::GenerateLaneMarksForCenterLine | ( | const road::Road & | road, |
const road::LaneSection & | lane_section, | ||
const road::Lane & | lane, | ||
std::vector< std::unique_ptr< Mesh > > & | inout, | ||
std::vector< std::string > & | outinfo ) const |
在文件 MeshFactory.cpp 第 903 行定义.
引用了 carla::geom::Mesh::AddIndex(), carla::geom::Mesh::AddVertex(), carla::road::element::DirectedPoint::ApplyLateralOffset(), carla::road::element::LaneMarking::BottsDots, carla::road::element::LaneMarking::Broken, carla::road::element::LaneMarking::BrokenBroken, carla::road::element::LaneMarking::BrokenSolid, ComputeEdgesForLanemark(), carla::road::element::LaneMarking::Curb, carla::road::Road::GetDirectedPointIn(), carla::road::LaneSection::GetDistance(), carla::road::Lane::GetInfo(), carla::road::LaneSection::GetLength(), carla::geom::Mesh::GetVertices(), carla::road::element::LaneMarking::Grass, carla::geom::Mesh::IsValid(), carla::road::element::DirectedPoint::location, carla::road::element::LaneMarking::Other, carla::geom::MeshFactory::RoadParameters::resolution, road_param, carla::road::element::LaneMarking::Solid, carla::road::element::LaneMarking::SolidBroken, carla::road::element::LaneMarking::SolidSolid, carla::road::element::LaneMarking::type, carla::road::element::LaneMarking::width , 以及 carla::geom::Vector3D::y.
被这些函数引用 GenerateLaneMarkForRoad().
void carla::geom::MeshFactory::GenerateLaneMarksForNotCenterLine | ( | const road::LaneSection & | lane_section, |
const road::Lane & | lane, | ||
std::vector< std::unique_ptr< Mesh > > & | inout, | ||
std::vector< std::string > & | outinfo ) const |
在文件 MeshFactory.cpp 第 777 行定义.
引用了 carla::geom::Mesh::AddIndex(), carla::geom::Mesh::AddVertex(), carla::road::element::LaneMarking::BottsDots, carla::road::element::LaneMarking::Broken, carla::road::element::LaneMarking::BrokenBroken, carla::road::element::LaneMarking::BrokenSolid, ComputeEdgesForLanemark(), carla::road::element::LaneMarking::Curb, carla::road::LaneSection::GetDistance(), carla::road::Lane::GetInfo(), carla::road::LaneSection::GetLength(), carla::geom::Mesh::GetVertices(), carla::road::element::LaneMarking::Grass, carla::geom::Mesh::IsValid(), carla::road::element::LaneMarking::Other, carla::geom::MeshFactory::RoadParameters::resolution, road_param, carla::road::element::LaneMarking::Solid, carla::road::element::LaneMarking::SolidBroken, carla::road::element::LaneMarking::SolidSolid, carla::road::element::LaneMarking::type , 以及 carla::road::element::LaneMarking::width.
被这些函数引用 GenerateLaneMarkForRoad().
void carla::geom::MeshFactory::GenerateLaneSectionOrdered | ( | const road::LaneSection & | lane_section, |
std::map< carla::road::Lane::LaneType, std::vector< std::unique_ptr< Mesh > > > & | result ) const |
Generates a mesh that defines a lane section
在文件 MeshFactory.cpp 第 194 行定义.
引用了 carla::road::Lane::Bidirectional, carla::road::Lane::Biking, carla::road::Lane::Driving, GenerateSidewalk(), GenerateTesselated(), carla::road::LaneSection::GetLanes(), carla::road::Lane::Parking, road_param, SelectVerticesInWidth(), carla::road::Lane::Shoulder, carla::road::Lane::Sidewalk , 以及 carla::geom::MeshFactory::RoadParameters::vertex_width_resolution.
被这些函数引用 GenerateOrderedWithMaxLen().
std::unique_ptr< Mesh > carla::geom::MeshFactory::GenerateLeftWall | ( | const road::Lane & | lane, |
const double | s_start, | ||
const double | s_end ) const |
Generates a wall-like mesh at the left side of the lane
在文件 MeshFactory.cpp 第 441 行定义.
引用了 carla::geom::Mesh::AddMaterial(), carla::geom::Mesh::AddTriangleStrip(), DEBUG_ASSERT, carla::geom::Mesh::EndMaterial(), carla::geom::MeshFactory::RoadParameters::extra_lane_width, carla::road::Lane::GetCornerPositions(), carla::road::Lane::GetDistance(), carla::road::Lane::GetId(), carla::road::Lane::GetLength(), carla::road::Lane::GetType(), carla::road::Lane::IsStraight(), carla::geom::MESH_EPSILON, RELEASE_ASSERT, carla::geom::MeshFactory::RoadParameters::resolution, road_param, carla::road::Lane::Sidewalk , 以及 carla::geom::MeshFactory::RoadParameters::wall_height.
被这些函数引用 GenerateWalls() , 以及 GenerateWallsWithMaxLen().
std::map< road::Lane::LaneType, std::vector< std::unique_ptr< Mesh > > > carla::geom::MeshFactory::GenerateOrderedWithMaxLen | ( | const road::LaneSection & | lane_section | ) | const |
Generates a list of meshes that defines a lane_section with a maximum length
在文件 MeshFactory.cpp 第 545 行定义.
引用了 carla::road::Lane::Bidirectional, carla::road::Lane::Biking, carla::road::Lane::Driving, carla::geom::EPSILON, GenerateLaneSectionOrdered(), GenerateSidewalk(), GenerateTesselated(), carla::road::LaneSection::GetDistance(), carla::road::LaneSection::GetLanes(), carla::road::LaneSection::GetLength(), carla::geom::MeshFactory::RoadParameters::max_road_len, carla::road::Lane::Parking, road_param, SelectVerticesInWidth(), carla::road::Lane::Shoulder, carla::road::Lane::Sidewalk , 以及 carla::geom::MeshFactory::RoadParameters::vertex_width_resolution.
std::map< road::Lane::LaneType, std::vector< std::unique_ptr< Mesh > > > carla::geom::MeshFactory::GenerateOrderedWithMaxLen | ( | const road::Road & | road | ) | const |
Generates a list of meshes that defines a road with a maximum length
在文件 MeshFactory.cpp 第 533 行定义.
引用了 GenerateOrderedWithMaxLen() , 以及 carla::road::Road::GetLaneSections().
被这些函数引用 GenerateAllOrderedWithMaxLen() , 以及 GenerateOrderedWithMaxLen().
std::unique_ptr< Mesh > carla::geom::MeshFactory::GenerateRightWall | ( | const road::Lane & | lane, |
const double | s_start, | ||
const double | s_end ) const |
Generates a wall-like mesh at the right side of the lane
在文件 MeshFactory.cpp 第 390 行定义.
引用了 carla::geom::Mesh::AddMaterial(), carla::geom::Mesh::AddTriangleStrip(), DEBUG_ASSERT, carla::geom::Mesh::EndMaterial(), carla::geom::MeshFactory::RoadParameters::extra_lane_width, carla::road::Lane::GetCornerPositions(), carla::road::Lane::GetDistance(), carla::road::Lane::GetId(), carla::road::Lane::GetLength(), carla::road::Lane::GetType(), carla::road::Lane::IsStraight(), carla::geom::MESH_EPSILON, RELEASE_ASSERT, carla::geom::MeshFactory::RoadParameters::resolution, road_param, carla::road::Lane::Sidewalk , 以及 carla::geom::MeshFactory::RoadParameters::wall_height.
被这些函数引用 GenerateWalls() , 以及 GenerateWallsWithMaxLen().
std::unique_ptr< Mesh > carla::geom::MeshFactory::GenerateSidewalk | ( | const road::Lane & | lane | ) | const |
在文件 MeshFactory.cpp 第 251 行定义.
引用了 carla::geom::EPSILON, GenerateSidewalk(), carla::road::Lane::GetDistance() , 以及 carla::road::Lane::GetLength().
std::unique_ptr< Mesh > carla::geom::MeshFactory::GenerateSidewalk | ( | const road::Lane & | lane, |
const double | s_start, | ||
const double | s_end ) const |
在文件 MeshFactory.cpp 第 256 行定义.
引用了 carla::geom::Mesh::AddIndex(), carla::geom::Mesh::AddMaterial(), carla::geom::Mesh::AddUVs(), carla::geom::Mesh::AddVertices(), DEBUG_ASSERT, carla::geom::Mesh::EndMaterial(), carla::geom::MeshFactory::RoadParameters::extra_lane_width, carla::road::Lane::GetCornerPositions(), carla::road::Lane::GetDistance(), carla::road::Lane::GetId(), carla::road::Lane::GetLength(), carla::road::Lane::GetType(), carla::geom::MESH_EPSILON, RELEASE_ASSERT, carla::geom::MeshFactory::RoadParameters::resolution, road_param , 以及 carla::road::Lane::Sidewalk.
std::unique_ptr< Mesh > carla::geom::MeshFactory::GenerateSidewalk | ( | const road::LaneSection & | lane_section | ) | const |
在文件 MeshFactory.cpp 第 242 行定义.
引用了 carla::geom::EPSILON, GenerateSidewalk() , 以及 carla::road::LaneSection::GetLanes().
被这些函数引用 GenerateLaneSectionOrdered(), GenerateOrderedWithMaxLen(), GenerateSidewalk(), GenerateSidewalk() , 以及 carla::road::Map::GenerateSingleJunction().
std::unique_ptr< Mesh > carla::geom::MeshFactory::GenerateTesselated | ( | const road::Lane & | lane | ) | const |
Generates a mesh that defines the whole lane with bigger tesselation
在文件 MeshFactory.cpp 第 56 行定义.
引用了 carla::geom::EPSILON, GenerateTesselated(), carla::road::Lane::GetDistance() , 以及 carla::road::Lane::GetLength().
std::unique_ptr< Mesh > carla::geom::MeshFactory::GenerateTesselated | ( | const road::Lane & | lane, |
const double | s_start, | ||
const double | s_end ) const |
Generates a mesh that defines a lane from a given s start and end with bigger tesselation
在文件 MeshFactory.cpp 第 112 行定义.
引用了 carla::geom::Mesh::AddIndex(), carla::geom::Mesh::AddMaterial(), carla::geom::Mesh::AddUVs(), carla::geom::Mesh::AddVertices(), DEBUG_ASSERT, carla::geom::Mesh::EndMaterial(), carla::geom::EPSILON, carla::geom::MeshFactory::RoadParameters::extra_lane_width, carla::road::Lane::GetCornerPositions(), carla::road::Lane::GetDistance(), carla::road::Lane::GetId(), carla::road::Lane::GetLength(), carla::road::Lane::GetType(), carla::geom::MESH_EPSILON, RELEASE_ASSERT, carla::geom::MeshFactory::RoadParameters::resolution, road_param, carla::road::Lane::Sidewalk , 以及 carla::geom::MeshFactory::RoadParameters::vertex_width_resolution.
被这些函数引用 GenerateLaneSectionOrdered(), GenerateOrderedWithMaxLen(), carla::road::Map::GenerateSingleJunction() , 以及 GenerateTesselated().
std::unique_ptr< Mesh > carla::geom::MeshFactory::GenerateWalls | ( | const road::LaneSection & | lane_section | ) | const |
Genrates a mesh representing a wall on the road corners to avoid cars falling down
在文件 MeshFactory.cpp 第 368 行定义.
引用了 carla::geom::EPSILON, GenerateLeftWall(), GenerateRightWall() , 以及 carla::road::LaneSection::GetLanes().
被这些函数引用 GenerateWallsWithMaxLen().
std::vector< std::unique_ptr< Mesh > > carla::geom::MeshFactory::GenerateWallsWithMaxLen | ( | const road::LaneSection & | lane_section | ) | const |
Generates a list of meshes that defines a lane_section safety wall with a maximum length
在文件 MeshFactory.cpp 第 657 行定义.
引用了 carla::geom::EPSILON, GenerateLeftWall(), GenerateRightWall(), GenerateWalls(), carla::road::LaneSection::GetDistance(), carla::road::LaneSection::GetLanes(), carla::road::LaneSection::GetLength(), carla::geom::MeshFactory::RoadParameters::max_road_len , 以及 road_param.
std::vector< std::unique_ptr< Mesh > > carla::geom::MeshFactory::GenerateWallsWithMaxLen | ( | const road::Road & | road | ) | const |
Generates a list of meshes that defines a road safety wall with a maximum length
在文件 MeshFactory.cpp 第 644 行定义.
引用了 GenerateWallsWithMaxLen() , 以及 carla::road::Road::GetLaneSections().
被这些函数引用 GenerateAllWithMaxLen() , 以及 GenerateWallsWithMaxLen().
std::vector< std::unique_ptr< Mesh > > carla::geom::MeshFactory::GenerateWithMaxLen | ( | const road::LaneSection & | lane_section | ) | const |
Generates a list of meshes that defines a lane_section with a maximum length
在文件 MeshFactory.cpp 第 505 行定义.
引用了 carla::geom::EPSILON, Generate(), carla::road::LaneSection::GetDistance(), carla::road::LaneSection::GetLanes(), carla::road::LaneSection::GetLength(), carla::geom::MeshFactory::RoadParameters::max_road_len , 以及 road_param.
std::vector< std::unique_ptr< Mesh > > carla::geom::MeshFactory::GenerateWithMaxLen | ( | const road::Road & | road | ) | const |
Generates a list of meshes that defines a road with a maximum length
在文件 MeshFactory.cpp 第 492 行定义.
引用了 GenerateWithMaxLen() , 以及 carla::road::Road::GetLaneSections().
被这些函数引用 GenerateAllWithMaxLen() , 以及 GenerateWithMaxLen().
std::unique_ptr< Mesh > carla::geom::MeshFactory::MergeAndSmooth | ( | std::vector< std::unique_ptr< Mesh > > & | lane_meshes | ) | const |
在文件 MeshFactory.cpp 第 1134 行定义.
引用了 carla::geom::GetVertexNeighborhoodAndWeights(), road_param , 以及 carla::geom::Vector3D::z.
被这些函数引用 carla::road::Map::GenerateChunkedMesh() , 以及 carla::road::Map::GenerateMesh().
|
static |
在文件 MeshFactory.cpp 第 1169 行定义.
引用了 carla::road::Lane::Bidirectional, carla::road::Lane::Biking, carla::road::Lane::Driving, carla::road::Lane::Parking, carla::road::Lane::Shoulder , 以及 carla::road::Lane::Sidewalk.
被这些函数引用 GenerateLaneSectionOrdered() , 以及 GenerateOrderedWithMaxLen().
RoadParameters carla::geom::MeshFactory::road_param |
在文件 MeshFactory.h 第 150 行定义.
被这些函数引用 ComputeEdgesForLanemark(), Generate(), GenerateLaneMarksForCenterLine(), GenerateLaneMarksForNotCenterLine(), GenerateLaneSectionOrdered(), GenerateLeftWall(), carla::road::Map::GenerateMesh(), GenerateOrderedWithMaxLen(), GenerateRightWall(), GenerateSidewalk(), GenerateTesselated(), GenerateWallsWithMaxLen(), GenerateWithMaxLen(), MergeAndSmooth() , 以及 MeshFactory().