Uses of Interface
com.solibri.geometry.linearalgebra.Vector3d
-
Uses of Vector3d in com.solibri.geometry.linearalgebra
Subinterfaces of Vector3d in com.solibri.geometry.linearalgebra Modifier and Type Interface Description interfaceMVector3dInterface for 3-dimensional vectors.Fields in com.solibri.geometry.linearalgebra declared as Vector3d Modifier and Type Field Description static Vector3dVector3d. NEG_UNIT_XThe vector (-1, 0, 0).static Vector3dVector3d. NEG_UNIT_YThe vector (0, -1, 0).static Vector3dVector3d. NEG_UNIT_ZThe vector (0, 0, -1).static Vector3dVector3d. UNIT_XThe vector (1, 0, 0).static Vector3dVector3d. UNIT_YThe vector (0, 1, 0).static Vector3dVector3d. UNIT_ZThe vector (0, 0, 1).static Vector3dVector3d. ZEROThe vector (0, 0, 0).Methods in com.solibri.geometry.linearalgebra that return Vector3d Modifier and Type Method Description static Vector3dVector3d. create(double x, double y, double z)Returns a new vector with the given component values.static Vector3dVector3d. create(Vector3d vector)Returns a new vector with the component values of the given vector.Methods in com.solibri.geometry.linearalgebra that return types with arguments of type Vector3d Modifier and Type Method Description Optional<Vector3d>Vector3d. project(Vector3d vector)Returns an orthogonal projection of this vector on the given vector if it exists.Methods in com.solibri.geometry.linearalgebra with parameters of type Vector3d Modifier and Type Method Description MVector3dVector3d. add(Vector3d vector)Returns the sum of this vector and the given vector.voidMVector3d. addInPlace(Vector3d vector)Adds the given vector to this vector in place.doubleVector3d. angle(Vector3d vector)Returns the angle in radians between this vector and the given vector.static Matrix4dMatrix4d. create(Vector3d x, Vector3d y, Vector3d z, Vector3d translation)Constructs a matrix from the given vectors and the translation vector.static MVector3dMVector3d. create(Vector3d vector)Returns a new instance with the same component values as in the given vector.static Vector3dVector3d. create(Vector3d vector)Returns a new vector with the component values of the given vector.MVector3dVector3d. crossProduct(Vector3d vector)Returns the cross product of this vector and the given vector.voidMVector3d. crossProductInPlace(Vector3d vector)Sets this vector to the cross product of this vector and the other vector.doubleVector3d. distance(Vector3d vector)Returns the distance between this vector and the given vector.doubleVector3d. distanceSquared(Vector3d vector)Returns the squared distance between this vector and the given vector.doubleVector3d. dotProduct(Vector3d vector)Returns the dot product of this vector and the given vector.booleanVector3d. equalsWithTolerance(Vector3d vector, double tolerance)Returns true if this vector is within tolerance of the given vector.MVector3dVector3d. interpolate(Vector3d vector, double alpha)Interpolates linearly between this vector and the given vector and returns the resulting vector.voidMVector3d. 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).Optional<Vector3d>Vector3d. project(Vector3d vector)Returns an orthogonal projection of this vector on the given vector if it exists.voidMVector3d. set(Vector3d vector)Sets the value of this vector to the value of the given vector.voidMMatrix4d. setColumn(int column, Vector3d vector)Sets the specified column with the x,y,z values received from the vector.voidMMatrix4d. setEuler(Vector3d euler)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.voidMMatrix4d. setRotation(Vector3d x, Vector3d y, Vector3d z)Sets the rotation (and scaling) based on the vectors given.voidMMatrix4d. setTranslation(Vector3d translationComponent)Sets the translation component of this matrix based on a vector.MVector3dVector3d. subtract(Vector3d vector)Returns the difference between this vector and the given vector.voidMVector3d. subtractInPlace(Vector3d vector)Subtracts the given vector from this vector.MVector3dMatrix4d. transform(Vector3d vector)Returns a copy of the given vector transformed by this matrix.MVector3dMatrix4d. transformNormal(Vector3d normal)Transforms the normal of this matrix by getting the normals of the inputed parameter.Method parameters in com.solibri.geometry.linearalgebra with type arguments of type Vector3d Modifier and Type Method Description static MVector3dVector3d. centroidOf(Collection<? extends Vector3d> vectors)Returns the centroid (the average vector) of the given collection of vectors.static List<MVector2d>MVector2d. to2dVectors(List<? extends Vector3d> vectors)Returns the vectors in the given list projected to the XY-plane.static List<Vector2d>Vector2d. to2dVectors(List<? extends Vector3d> vectors)Returns the vectors in the given list projected to the XY-plane.Collection<MVector3d>Matrix4d. transform(Collection<? extends Vector3d> points)Transforms the points with the transformation matrix. -
Uses of Vector3d in com.solibri.geometry.mesh
Methods in com.solibri.geometry.mesh that return types with arguments of type Vector3d Modifier and Type Method Description Iterable<Vector3d>TriangleMesh. getPoints()Returns an iterable of all the vertices of all the triangles in theTriangleMesh.Collection<Vector3d>TriangleMesh. toPointCollection()Returns a new collection containing all the vertices of all the triangles in thisTriangleMesh.Methods in com.solibri.geometry.mesh with parameters of type Vector3d Modifier and Type Method Description booleanTriangleMesh. encloses(Vector3d point)Returns true if theTriangleMeshis closed and the given point is inside thisTriangleMesh.Optional<Segment2d>TriangleMesh. shortest2dPathInXYPlaneProjectionTo(Vector3d point)Returns the shortest 2D path from the projection of thisTriangleMeshto the projection of a point in the XY-plane, if such path exists.Optional<Segment3d>TriangleMesh. shortestHorizontalPathTo(Vector3d point)Returns the shortest horizontal path from thisTriangleMeshto a point, if such path exists.Optional<Segment3d>TriangleMesh. shortestPathTo(Vector3d point)Returns the shortest path from thisTriangleMeshto a given point, if such path exists.Optional<Segment3d>TriangleMesh. shortestVerticalPathTo(Vector3d point)Returns the shortest vertical path from thisTriangleMeshto a point, if such path exists. -
Uses of Vector3d in com.solibri.geometry.primitive3d
Methods in com.solibri.geometry.primitive3d that return Vector3d Modifier and Type Method Description Vector3dLine3d. getDirection()Returns the normalized direction vector of this line.Vector3dRay3d. getDirection()Returns the direction of this ray.Vector3dSegment3d. getEndPoint()Returns the ending point of this Segment.Vector3dLine3d. getFirstPoint()Returns the first bootstrapping point of this line.Vector3dTriangle3d. getFirstPoint()Returns the first point of the triangle.Vector3dAABB3d. getLowerBound()Returns the lower bound of this bounding box.Vector3dPlane. getNormal()Returns the normal of the plane.Vector3dRay3d. getOrigin()Returns the origin of this ray.Vector3dPlane. getPoint()Returns a point on the plane used to define the plane.Vector3dLine3d. getSecondPoint()Returns the second bootstrapping point of this line.Vector3dTriangle3d. getSecondPoint()Returns the second point of the triangle.Vector3dSegment3d. getStartPoint()Returns the starting point of this Segment.Vector3dTriangle3d. getThirdPoint()Returns the third point of the triangle.Vector3dBox. getUpDirection()A convenience method for getting the up direction of this box.Vector3dAABB3d. getUpperBound()Returns the upper bound of this bounding box.Methods in com.solibri.geometry.primitive3d that return types with arguments of type Vector3d Modifier and Type Method Description List<Vector3d>Polygon3d. getVertices()Returns the vertices in this polygon.Methods in com.solibri.geometry.primitive3d with parameters of type Vector3d Modifier and Type Method Description MVector3dSegment3d. closestPointTo(Vector3d point)Returns the point on this Segment that is closest to the given point.booleanAABB3d. contains(Vector3d point)Returns true if the given point is inside this bounding box.booleanPlane. contains(Vector3d point, double tolerance)Checks if the distance of the given point for this plane is less than the given tolerance.booleanPolygon3d. contains(Vector3d point)Returns true if the given point is inside this polygon.booleanSegment3d. contains(Vector3d point)Returns true if the given point lies on this Segment, otherwise returns false.static AABB3dAABB3d. create(Vector3d lowerBound, Vector3d upperBound)Returns a bounding box with the given bounds.static Line3dLine3d. create(Vector3d firstPoint, Vector3d secondPoint)Creates a new instance.static MAABB3dMAABB3d. create(Vector3d lowerBound, Vector3d upperBound)Returns a bounding box with the given bounds.static MLine3dMLine3d. create(Vector3d firstPoint, Vector3d secondPoint)Creates a new instance.static MPlaneMPlane. create(Vector3d point, Vector3d normalVector)Creates an instance of MPlane.static MRay3dMRay3d. create(Vector3d origin, Vector3d direction)Returns a ray with the given origin and direction.static MSegment3dMSegment3d. create(Vector3d startPoint, Vector3d endPoint)Creates an instance.static MTriangle3dMTriangle3d. create(Vector3d firstPoint, Vector3d secondPoint, Vector3d thirdPoint)Creates a new instance.static PlanePlane. create(Vector3d pointOnPlane, Vector3d planeNormal)Returns the plane defined by the given points.static Ray3dRay3d. create(Vector3d origin, Vector3d direction)Returns a ray with the given origin and direction.static Segment3dSegment3d. create(Vector3d startPoint, Vector3d endPoint)Creates an instance.static Triangle3dTriangle3d. create(Vector3d firstPoint, Vector3d secondPoint, Vector3d thirdPoint)Creates a new instance.doublePlane. distance(Vector3d point)Calculates the distance of this plane from the given point.doubleSegment3d. distance(Vector3d point)Returns the minimum distance between this Segment and the given point.doublePlane. distanceSquared(Vector3d point)Calculates the distance of this plane from the given point squared.doubleSegment3d. distanceSquared(Vector3d point)Returns the square of the minimum distance between this Segment and the given point.voidMAABB3d. extend(Vector3d point)Extends this axis-aligned bounding box to contain the given point.MVector3dPlane. project(Vector3d point)Projects the given point onto this plane performing an orthogonal projection.Optional<MVector3d>Plane. project(Vector3d point, Vector3d direction)Projects the given point onto this plane in the direction of the given direction vector.voidMAABB3d. set(Vector3d lowerBound, Vector3d upperBound)Sets the given bounds to this bounding box.voidMLine3d. set(Vector3d startPoint, Vector3d endPoint)Sets the start and end points of this line.voidMSegment3d. set(Vector3d startPoint, Vector3d endPoint)Sets the start and end points of this Segment.voidMRay3d. setDirection(Vector3d direction)Sets the direction of this ray.voidMLine3d. setEndPoint(Vector3d endPoint)Sets the end point of this line to the value of the given point.voidMSegment3d. setEndPoint(Vector3d endPoint)Sets the end point of this Segment to the value of the given point.voidMTriangle3d. setFirstPoint(Vector3d firstPoint)Sets the first point of this triangle to the value of the given point.voidMAABB3d. setLowerBound(Vector3d lowerBound)Sets the lower bound of this bounding box to the given value.voidMPlane. setNormal(Vector3d vector)Sets the plane normal vector to the given vector.voidMRay3d. setOrigin(Vector3d origin)Sets the origin of this ray.voidMPlane. setPoint(Vector3d point)Sets the plane point to the given point.voidMTriangle3d. setPoints(Vector3d firstPoint, Vector3d secondPoint, Vector3d thirdPoint)Sets the given points to the triangle.voidMTriangle3d. setSecondPoint(Vector3d secondPoint)Sets the second point of this triangle to the value of the given point.voidMLine3d. setStartPoint(Vector3d startPoint)Sets the starting point of this line to the value of the given point.voidMSegment3d. setStartPoint(Vector3d startPoint)Sets the starting point of this Segment to the value of the given point.voidMTriangle3d. setThirdPoint(Vector3d thirdPoint)Sets the third point of this triangle to the value of the given point.voidMAABB3d. setUpperBound(Vector3d upperBound)Sets the upper bound of this bounding box to the given value.doublePlane. signedDistance(Vector3d point)Calculates the signed distance of this plane from the given point.Optional<Double>Plane. signedDistance(Vector3d point, Vector3d direction)Calculates the signed distance of this plane from the given point with some direction vector.voidMAABB3d. translate(Vector3d translator)Translates this bounding box by the given vector.voidMPolygon3d. translate(Vector3d translator)Translates this polygon by the given vector.Method parameters in com.solibri.geometry.primitive3d with type arguments of type Vector3d Modifier and Type Method Description static AABB3dAABB3d. create(Collection<Vector3d> points)Returns the minimum volume axis-aligned bounding box for the given collection of points.static MAABB3dMAABB3d. create(Collection<Vector3d> points)Returns the minimum volume axis-aligned bounding box for the given collection of points.static MPolygon3dMPolygon3d. create(List<? extends Vector3d> vertices)Creates a polygon with the given vertices.static MRectangle3dMRectangle3d. create(List<? extends Vector3d> vertices)Creates a new instance from the given points.static MTriangle3dMTriangle3d. create(List<? extends Vector3d> points)Creates a new instance.static Polygon3dPolygon3d. create(List<? extends Vector3d> vertices)Creates a polygon with the given vertices.static Rectangle3dRectangle3d. create(List<? extends Vector3d> vertices)Creates a new instance from the given points.static Triangle3dTriangle3d. create(List<? extends Vector3d> points)Creates a new instance.voidMAABB3d. extend(Collection<Vector3d> points)Extends this axis-aligned bounding box to contain the given points.booleanMRectangle3d. setPoints(List<? extends Vector3d> points)Sets the given points to the rectangle. -
Uses of Vector3d in com.solibri.smc.api.model
Methods in com.solibri.smc.api.model with parameters of type Vector3d Modifier and Type Method Description Optional<Double>Component. distance(Vector3d point)Returns the minimum 3d distance between the surface of thisComponentand a given point, if it exists.Optional<Double>Component. horizontalDistance(Vector3d point)Returns the horizontal distance between the surface of thisComponentand a point, if it exists.Optional<Double>Component. projectionOnXYPlaneDistance(Vector3d other)Returns the 2d distance between the projections of thisComponentand point on the XY-plane, if it exists.Optional<Double>Component. verticalDistance(Vector3d point)Returns the vertical distance between the surface of thisComponentand a point, if it exists. -
Uses of Vector3d in com.solibri.smc.api.model.components
Methods in com.solibri.smc.api.model.components that return Vector3d Modifier and Type Method Description Vector3dFlight. getBottomCenterPoint()Returns the 2D center point of the flight bottom segment.Vector3dFlight. getBottomDirection()Returns the 2D direction vector towards where the flight's bottom end is pointing at.Vector3dDoor. getReferenceDirection()Returns a direction vector of unit length that defines the hinge side and opening direction of the door.Vector3dFlight. getTopCenterPoint()Returns the 2D center point of the flight top segment.Vector3dFlight. 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
Methods in com.solibri.smc.api.threed that return Vector3d Modifier and Type Method Description Vector3dCamera. getDirection()Returns the direction the camera is targeting.Vector3dCameraState. getDirection()Returns the direction of the camera as unit vector in 3D space.Vector3dCamera. getLocation()Returns the global location of the 3D camera.Vector3dCameraState. getLocation()Returns the location of the camera in 3D space.Vector3dCameraState. getUpDirection()Returns the up direction of the camera as unit vector in 3D space.Vector3dCamera. getUpVector()Returns the upwards direction of the camera.Methods in com.solibri.smc.api.threed with parameters of type Vector3d Modifier and Type Method Description static OrthogonalCameraStateOrthogonalCameraState. create(Vector3d location, Vector3d direction, Vector3d upDirection, double viewToWorldScale)Creates a new orthogonal camera state.static PerspectiveCameraStatePerspectiveCameraState. create(Vector3d location, Vector3d direction, Vector3d upDirection, double fieldOfView)Creates a new perspective camera state.voidCamera. lookAt(Vector3d lookTarget)Look at the given target point.voidCamera. lookAtComponentsFromPosition(Collection<Component> components, Vector3d cameraLocation)Moves the camera to look at the given components from the given location.voidCamera. setLocation(Vector3d location)Sets the location of the camera.voidCamera. setUpVector(Vector3d upVector)Sets the upwards vector to the given vector. -
Uses of Vector3d in com.solibri.smc.api.visualization
Methods in com.solibri.smc.api.visualization that return Vector3d Modifier and Type Method Description Vector3dBitmap. getCenter()Returns a point indicating the center position of this bitmap.Vector3dText. getCenter()Returns a point indicating the center position of this text.Vector3dBitmap. getNormal()Returns a vector indicating where this bitmap faces.Vector3dText. getNormal()Returns a vector indicating where this text faces.Vector3dBitmap. getUp()Returns a vector indicating the 'up' direction of this bitmap's 2D content.Vector3dText. getUp()Returns a vector indicating the 'up' direction of this text's 2D content.Methods in com.solibri.smc.api.visualization that return types with arguments of type Vector3d Modifier and Type Method Description List<Vector3d>Points. getVertices()Return points to visualize.Methods in com.solibri.smc.api.visualization with parameters of type Vector3d Modifier and Type Method Description static BitmapBitmap. create(ARGBColor color, BufferedImage image, Vector3d normal, Vector3d up, Vector3d location, double width, double height)Creates a bitmap visualization.static BitmapBitmap. create(BufferedImage image, Vector3d normal, Vector3d up, Vector3d location, double width, double height)Creates a bitmap visualization.static TextText. 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.Method parameters in com.solibri.smc.api.visualization with type arguments of type Vector3d Modifier and Type Method Description static LinesLines. create(ARGBColor color, List<Vector3d> sequenceOfPoints, Lines.LinePattern linePattern, float lineThickness)Creates visualization of segments connecting the given sequence of points.static PointsPoints. create(ARGBColor color, Collection<Vector3d> points, float pointSize)Creates visualization of points.