Uses of Interface
com.solibri.geometry.linearalgebra.Vector3d
Package
Description
-
Uses of Vector3d in com.solibri.geometry.linearalgebra
Modifier and TypeFieldDescriptionstatic final Vector3d
Vector3d.NEG_UNIT_X
The vector (-1, 0, 0).static final Vector3d
Vector3d.NEG_UNIT_Y
The vector (0, -1, 0).static final Vector3d
Vector3d.NEG_UNIT_Z
The vector (0, 0, -1).static final Vector3d
Vector3d.UNIT_X
The vector (1, 0, 0).static final Vector3d
Vector3d.UNIT_Y
The vector (0, 1, 0).static final Vector3d
Vector3d.UNIT_Z
The vector (0, 0, 1).static final Vector3d
Vector3d.ZERO
The vector (0, 0, 0).Modifier and TypeMethodDescriptionstatic Vector3d
Vector3d.create
(double x, double y, double z) Returns a new vector with the given component values.static Vector3d
Returns a new vector with the component values of the given vector.Modifier and TypeMethodDescriptionReturns an orthogonal projection of this vector on the given vector if it exists.Modifier and TypeMethodDescriptionReturns the sum of this vector and the given vector.void
MVector3d.addInPlace
(Vector3d vector) Adds the given vector to this vector in place.double
Returns the angle in radians between this vector and the given vector.static Matrix4d
Constructs a matrix from the given vectors and the translation vector.static MVector3d
Returns a new instance with the same component values as in the given vector.static Vector3d
Returns a new vector with the component values of the given vector.Vector3d.crossProduct
(Vector3d vector) Returns the cross product of this vector and the given vector.void
MVector3d.crossProductInPlace
(Vector3d vector) Sets this vector to the cross product of this vector and the other vector.double
Returns the distance between this vector and the given vector.double
Vector3d.distanceSquared
(Vector3d vector) Returns the squared distance between this vector and the given vector.double
Vector3d.dotProduct
(Vector3d vector) Returns the dot product of this vector and the given vector.boolean
Vector3d.equalsWithTolerance
(Vector3d vector, double tolerance) Returns true if this vector is within tolerance of the given vector.Vector3d.interpolate
(Vector3d vector, double alpha) Interpolates linearly between this vector and the given vector and returns the resulting vector.void
MVector3d.interpolateInPlace
(Vector3d vector, double alpha) Interpolates linearly between this vector and the given vector and places the result in this vector (this = (1 - alpha) * this + alpha * vector).Returns an orthogonal projection of this vector on the given vector if it exists.void
Sets the value of this vector to the value of the given vector.void
Sets the specified column with the x,y,z values received from the vector.void
Sets the rotational component (upper 3x3) of this transform to the rotation matrix converted from the Euler angles provided; the other non-rotational elements are set as if this were an identity matrix.void
MMatrix4d.setRotation
(Vector3d x, Vector3d y, Vector3d z) Sets the rotation (and scaling) based on the vectors given.void
MMatrix4d.setTranslation
(Vector3d translationComponent) Sets the translation component of this matrix based on a vector.Returns the difference between this vector and the given vector.void
MVector3d.subtractInPlace
(Vector3d vector) Subtracts the given vector from this vector.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.Modifier and TypeMethodDescriptionstatic MVector3d
Vector3d.centroidOf
(Collection<? extends Vector3d> vectors) Returns the centroid (the average vector) of the given collection of vectors.MVector2d.to2dVectors
(List<? extends Vector3d> vectors) Returns the vectors in the given list projected to the XY-plane.Vector2d.to2dVectors
(List<? extends Vector3d> vectors) Returns the vectors in the given list projected to the XY-plane.Matrix4d.transform
(Collection<? extends Vector3d> points) Transforms the points with the transformation matrix. -
Uses of Vector3d in com.solibri.geometry.mesh
Modifier and TypeMethodDescriptionTriangleMesh.getPoints()
Returns an iterable of all the vertices of all the triangles in theTriangleMesh
.TriangleMesh.toPointCollection()
Returns a new collection containing all the vertices of all the triangles in thisTriangleMesh
.Modifier and TypeMethodDescriptionboolean
Returns true if theTriangleMesh
is closed and the given point is inside thisTriangleMesh
.TriangleMesh.shortest2dPathInXYPlaneProjectionTo
(Vector3d point) Returns the shortest 2D path from the projection of thisTriangleMesh
to the projection of a point in the XY-plane, if such path exists.TriangleMesh.shortestHorizontalPathTo
(Vector3d point) Returns the shortest horizontal path from thisTriangleMesh
to a point, if such path exists.TriangleMesh.shortestPathTo
(Vector3d point) Returns the shortest path from thisTriangleMesh
to a given point, if such path exists.TriangleMesh.shortestVerticalPathTo
(Vector3d point) Returns the shortest vertical path from thisTriangleMesh
to a point, if such path exists. -
Uses of Vector3d in com.solibri.geometry.primitive3d
Modifier and TypeMethodDescriptionLine3d.getDirection()
Returns the normalized direction vector of this line.Ray3d.getDirection()
Returns the direction of this ray.Segment3d.getEndPoint()
Returns the ending point of this Segment.Line3d.getFirstPoint()
Returns the first bootstrapping point of this line.Triangle3d.getFirstPoint()
Returns the first point of the triangle.AABB3d.getLowerBound()
Returns the lower bound of this bounding box.Plane.getNormal()
Returns the normal of the plane.Ray3d.getOrigin()
Returns the origin of this ray.Plane.getPoint()
Returns a point on the plane used to define the plane.Line3d.getSecondPoint()
Returns the second bootstrapping point of this line.Triangle3d.getSecondPoint()
Returns the second point of the triangle.Segment3d.getStartPoint()
Returns the starting point of this Segment.Triangle3d.getThirdPoint()
Returns the third point of the triangle.Box.getUpDirection()
A convenience method for getting the up direction of this box.AABB3d.getUpperBound()
Returns the upper bound of this bounding box.Modifier and TypeMethodDescriptionSegment3d.closestPointTo
(Vector3d point) Returns the point on this Segment that is closest to the given point.boolean
Returns true if the given point is inside this bounding box.boolean
Returns true if the given point is inside this bounding box.boolean
Checks if the distance of the given point for this plane is less than the given tolerance.boolean
Returns true if the given point is inside this polygon.boolean
Returns true if the given point lies on this Segment, otherwise returns false.static AABB3d
Returns a bounding box with the given bounds.static Line3d
Creates a new instance.static MAABB3d
Returns a bounding box with the given bounds.static MLine3d
Creates a new instance.static MPlane
Creates an instance of MPlane.static MRay3d
Returns a ray with the given origin and direction.static MSegment3d
Creates an instance.static MTriangle3d
Creates a new instance.static Plane
Returns the plane defined by the given points.static Ray3d
Returns a ray with the given origin and direction.static Segment3d
Creates an instance.static Triangle3d
Creates a new instance.double
Calculates the distance of this plane from the given point.double
Returns the minimum distance between this Segment and the given point.double
Plane.distanceSquared
(Vector3d point) Calculates the distance of this plane from the given point squared.double
Segment3d.distanceSquared
(Vector3d point) Returns the square of the minimum distance between this Segment and the given point.void
Extends this axis-aligned bounding box to contain the given point.Projects the given point onto this plane performing an orthogonal projection.Projects the given point onto this plane in the direction of the given direction vector.void
Sets the given bounds to this bounding box.void
Sets the start and end points of this line.void
Sets the start and end points of this Segment.void
MRay3d.setDirection
(Vector3d direction) Sets the direction of this ray.void
MLine3d.setEndPoint
(Vector3d endPoint) Sets the end point of this line to the value of the given point.void
MSegment3d.setEndPoint
(Vector3d endPoint) Sets the end point of this Segment to the value of the given point.void
MTriangle3d.setFirstPoint
(Vector3d firstPoint) Sets the first point of this triangle to the value of the given point.void
MAABB3d.setLowerBound
(Vector3d lowerBound) Sets the lower bound of this bounding box to the given value.void
Sets the plane normal vector to the given vector.void
Sets the origin of this ray.void
Sets the plane point to the given point.void
Sets the given points to the triangle.void
MTriangle3d.setSecondPoint
(Vector3d secondPoint) Sets the second point of this triangle to the value of the given point.void
MLine3d.setStartPoint
(Vector3d startPoint) Sets the starting point of this line to the value of the given point.void
MSegment3d.setStartPoint
(Vector3d startPoint) Sets the starting point of this Segment to the value of the given point.void
MTriangle3d.setThirdPoint
(Vector3d thirdPoint) Sets the third point of this triangle to the value of the given point.void
MAABB3d.setUpperBound
(Vector3d upperBound) Sets the upper bound of this bounding box to the given value.double
Plane.signedDistance
(Vector3d point) Calculates the signed distance of this plane from the given point.Plane.signedDistance
(Vector3d point, Vector3d direction) Calculates the signed distance of this plane from the given point with some direction vector.void
Translates this bounding box by the given vector.void
Translates this polygon by the given vector.Modifier and TypeMethodDescriptionstatic AABB3d
AABB3d.create
(Collection<Vector3d> points) Returns the minimum volume axis-aligned bounding box for the given collection of points.static MAABB3d
MAABB3d.create
(Collection<Vector3d> points) Returns the minimum volume axis-aligned bounding box for the given collection of points.static MPolygon3d
Creates a polygon with the given vertices.static MRectangle3d
Creates a new instance from the given points.static MTriangle3d
Creates a new instance.static Polygon3d
Creates a polygon with the given vertices.static Rectangle3d
Creates a new instance from the given points.static Triangle3d
Creates a new instance.void
MAABB3d.extend
(Collection<Vector3d> points) Extends this axis-aligned bounding box to contain the given points.boolean
Sets the given points to the rectangle. -
Uses of Vector3d in com.solibri.smc.api.model
Modifier and TypeMethodDescriptionComponent.getGlobalCoordinate()
Returns the insertion point of the component in the global coordinates.Modifier and TypeMethodDescriptionReturns the minimum 3d distance between the surface of thisComponent
and a given point, if it exists.Component.horizontalDistance
(Vector3d point) Returns the horizontal distance between the surface of thisComponent
and a point, if it exists.Component.projectionOnXYPlaneDistance
(Vector3d other) Returns the 2d distance between the projections of thisComponent
and point on the XY-plane, if it exists.Component.verticalDistance
(Vector3d point) Returns the vertical distance between the surface of thisComponent
and a point, if it exists. -
Uses of Vector3d in com.solibri.smc.api.model.components
Modifier and TypeMethodDescriptionFlight.getBottomCenterPoint()
Returns the 2D center point of the flight bottom segment.Flight.getBottomDirection()
Returns the 2D direction vector towards where the flight's bottom end is pointing at.Door.getReferenceDirection()
Returns a direction vector of unit length that defines the hinge side and opening direction of the door.Flight.getTopCenterPoint()
Returns the 2D center point of the flight top segment.Flight.getTopDirection()
Returns the 2D direction vector towards where the flight's top end is pointing at. -
Uses of Vector3d in com.solibri.smc.api.threed
Modifier and TypeMethodDescriptionCamera.getDirection()
Returns the direction the camera is targeting.CameraState.getDirection()
Returns the direction of the camera as unit vector in 3D space.Camera.getLocation()
Returns the global location of the 3D camera.CameraState.getLocation()
Returns the location of the camera in 3D space.CameraState.getUpDirection()
Returns the up direction of the camera as unit vector in 3D space.Camera.getUpVector()
Returns the upwards direction of the camera.Modifier and TypeMethodDescriptionstatic OrthogonalCameraState
OrthogonalCameraState.create
(Vector3d location, Vector3d direction, Vector3d upDirection, double viewToWorldScale) Creates a new orthogonal camera state.static PerspectiveCameraState
PerspectiveCameraState.create
(Vector3d location, Vector3d direction, Vector3d upDirection, double fieldOfView) Creates a new perspective camera state.void
Look at the given target point.void
Camera.lookAtComponentsFromPosition
(Collection<Component> components, Vector3d cameraLocation) Moves the camera to look at the given components from the given location.void
Camera.setLocation
(Vector3d location) Sets the location of the camera.void
Camera.setUpVector
(Vector3d upVector) Sets the upwards vector to the given vector. -
Uses of Vector3d in com.solibri.smc.api.visualization
Modifier and TypeMethodDescriptionBitmap.getCenter()
Returns a point indicating the center position of this bitmap.Text.getCenter()
Returns a point indicating the center position of this text.Bitmap.getNormal()
Returns a vector indicating where this bitmap faces.Text.getNormal()
Returns a vector indicating where this text faces.Bitmap.getUp()
Returns a vector indicating the 'up' direction of this bitmap's 2D content.Text.getUp()
Returns a vector indicating the 'up' direction of this text's 2D content.Modifier and TypeMethodDescriptionstatic Bitmap
Bitmap.create
(ARGBColor color, BufferedImage image, Vector3d normal, Vector3d up, Vector3d location, double width, double height) Creates a bitmap visualization.static Bitmap
Bitmap.create
(BufferedImage image, Vector3d normal, Vector3d up, Vector3d location, double width, double height) Creates a bitmap visualization.static Text
Text.create
(ARGBColor color, Vector3d normal, Vector3d up, Vector3d location, double horizontalScaling, double verticalScaling, String text, float size) Creates a text visualization without any affine transformation (identity transformation).static List<VisualizationItem>
VisualizationItem.createAngle
(Vector3d origin, Vector3d firstDirection, Vector3d secondDirection) Creates an angle visualization with the degrees shown between the two direction segments.static List<VisualizationItem>
VisualizationItem.createDimension
(Vector3d startPoint, Vector3d endPoint) Creates a dimension visualization.Modifier and TypeMethodDescriptionstatic Lines
Lines.create
(ARGBColor color, List<Vector3d> sequenceOfPoints, Lines.LinePattern linePattern, float lineThickness) Creates visualization of segments connecting the given sequence of points.static Points
Points.create
(ARGBColor color, Collection<Vector3d> points, float pointSize) Creates visualization of points.