Use longest edge in face for horizontal/vertical alignment (#20374)
* App: Add second direction to getCameraAlignmentDirection() * Part: Find longest face edge for horizontal/vertical alignment * Gui: Use longest face edge for horizontal/vertical alignment * App: Improve horizontal/vertical alignment for Datums and LCS
This commit is contained in:
@@ -213,10 +213,11 @@ void GeoFeature::setMaterialAppearance(const App::Material& material)
|
||||
Q_UNUSED(material)
|
||||
}
|
||||
|
||||
bool GeoFeature::getCameraAlignmentDirection(Base::Vector3d& direction, const char* subname) const
|
||||
bool GeoFeature::getCameraAlignmentDirection(Base::Vector3d& directionZ, Base::Vector3d& directionX, const char* subname) const
|
||||
{
|
||||
Q_UNUSED(subname)
|
||||
Q_UNUSED(direction)
|
||||
Q_UNUSED(directionZ)
|
||||
Q_UNUSED(directionX)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user