Tabnine Logo
FrameLine2d.getReferenceFrame
Code IndexAdd Tabnine to your IDE (free)

How to use
getReferenceFrame
method
in
us.ihmc.robotics.geometry.FrameLine2d

Best Java code snippets using us.ihmc.robotics.geometry.FrameLine2d.getReferenceFrame (Showing top 4 results out of 315)

origin: us.ihmc/IHMCRoboticsToolkit

public FrameLine2d(FrameLine2d frameLine2d)
{
 this(frameLine2d.getReferenceFrame(), new Line2d(frameLine2d.line));
}
origin: us.ihmc/IHMCRoboticsToolkit

@Override
public FramePoint2d intersectionWith(FrameLine2d line)
{
 checkReferenceFrameMatch(line);
 Point2d intersection = this.lineSegment.intersectionWith(line.line);
 if (intersection == null)
 {
   return null;
 }
 return new FramePoint2d(line.getReferenceFrame(), intersection);
}
origin: us.ihmc/IHMCRoboticsToolkit

@Override
public FramePoint2d intersectionWith(FrameLine2d secondLine)
{
 checkReferenceFrameMatch(secondLine);
 Point2d intersection = this.line.intersectionWith(secondLine.line);
 return new FramePoint2d(secondLine.getReferenceFrame(), intersection);
}
origin: us.ihmc/IHMCRoboticsToolkit

/**
* Find the intersection point between this FrameLineSegment2d and the argument FrameLine2d and store it in the FramePoint2d argument.
* @param intersectionPointToPack argument in which the intersect point is stored
* @param line used to find the intersection with this line segment
* @return true if successful, false otherwise.
*/
public boolean intersectionWith(FramePoint2d intersectionPointToPack, FrameLine2d line)
{
 checkReferenceFrameMatch(line);
 Point2d intersection = this.lineSegment.intersectionWith(line.line);
 if (intersection == null)
   return false;
 intersectionPointToPack.setIncludingFrame(line.getReferenceFrame(), intersection);
 return true;
}
us.ihmc.robotics.geometryFrameLine2dgetReferenceFrame

Popular methods of FrameLine2d

  • <init>
  • changeFrameAndProjectToXYPlane
  • checkReferenceFrameMatch
  • distance
  • getNormalizedFrameVector
  • isPointOnSideOfLine
  • orthogonalProjection
  • set
  • setPoint
  • applyTransform
  • applyTransformAndProjectToXYPlane
  • get
  • applyTransformAndProjectToXYPlane,
  • get,
  • getFramePoint2d,
  • getGeometryObject,
  • getLine2d,
  • getLine2dCopy,
  • getPoint2d,
  • intersectionWith,
  • isPointOnLine

Popular in Java

  • Reading from database using SQL prepared statement
  • getApplicationContext (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • BoxLayout (javax.swing)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now