Uses of Interface
com.solibri.geometry.linearalgebra.MVector3d
Packages that use MVector3d
-
Uses of MVector3d in com.solibri.geometry.linearalgebra
Methods in com.solibri.geometry.linearalgebra that return MVector3dModifier and TypeMethodDescriptionReturns the sum of this vector and the given vector.static MVector3d
Vector3d.centroidOf
(Collection<? extends Vector3d> vectors) Returns the centroid (the average vector) of the given collection of vectors.static MVector3d
MVector3d.create()
Returns a new instance with all components set to zero.static MVector3d
MVector3d.create
(double xyz) Returns a new instance with all components set to the given value.static MVector3d
MVector3d.create
(double x, double y, double z) Returns a new instance with the given component values.static MVector3d
Returns a new instance with the same component values as in the given vector.Vector3d.crossProduct
(Vector3d vector) Returns the cross product of this vector and the given vector.Matrix4d.getTranslation()
Returns the translation component of this matrix.Vector3d.interpolate
(Vector3d vector, double alpha) Interpolates linearly between this vector and the given vector and returns the resulting vector.Vector3d.negate()
Returns a negated copy of this vector.Vector3d.normalize()
Returns a normalized copy of this vector.Vector3d.scale
(double scalar) Returns a copy of this vector scaled by the given scalar.Returns the difference between this vector and the given vector.Vector2d.to3dVector()
Returns a new 3-dimensional vector with the X and Y components of this vector and the Z-component set to 0.Returns a copy of the given vector transformed by this matrix.Matrix4d.transformNormal
(Vector3d normal) Transforms the normal of this matrix by getting the normals of the inputed parameter.Methods in com.solibri.geometry.linearalgebra that return types with arguments of type MVector3dModifier and TypeMethodDescriptionMVector3d.to3dVectors
(List<? extends Vector2d> vectors) Returns a list of 3-dimensional vectors with the X and Y components from the given vectors and the Z component set to 0.Matrix4d.transform
(Collection<? extends Vector3d> points) Transforms the points with the transformation matrix. -
Uses of MVector3d in com.solibri.geometry.primitive3d
Methods in com.solibri.geometry.primitive3d that return MVector3dModifier and TypeMethodDescriptionSegment3d.closestPointTo
(Vector3d point) Returns the point on this Segment that is closest to the given point.AABB3d.getCentroid()
Returns a copy of the centroid vector of this bounding box.Polygon3d.getCentroid()
Returns the centroid of this polygon.Triangle3d.getCrossProduct()
Returns the cross product of this triangle.Polygon3d.getMean()
Returns the average vector of the vertices of this polygon.Polygon3d.getNormal()
Returns the normal of this polygon as a vector of unit length.Projects the given point onto this plane performing an orthogonal projection.Methods in com.solibri.geometry.primitive3d that return types with arguments of type MVector3dModifier and TypeMethodDescriptionLine3d.getIntersectionPoint
(Plane plane) Returns the point of intersection between this line and the given plane.Returns the intersection point of this polygon and the given segment.Ray3d.intersect
(Triangle3d triangle) Returns an optional containing the intersection point between the ray and the triangle if present, an empty optional otherwise.Returns the point of intersection between this Segment and the given plane.Returns the intersection point of this and other Segment.Returns an optional with the intersection point between the triangle and the line if present, otherwise an empty optional.Returns an optional with the intersection point between the triangle and the ray if present, otherwise an empty optional.Projects the given point onto this plane in the direction of the given direction vector.Segment3d.sample
(int amount) Samples the given amount of points from the segment.Methods in com.solibri.geometry.primitive3d with parameters of type MVector3dModifier and TypeMethodDescriptiondouble
Calculates the distance of a point from this line.double
Line3d.distanceSqr
(MVector3d point) Calculates the squared distance of a point from this line.