Method Offset
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
Offset(double, GeoVector3)
Gets the segment parallel to this one at a distance towards a direction, using the default tolerance.
public GeoLine3 Offset(double distance, GeoVector3 direction)
Parameters
distancedoubleHow far to move it.
directionGeoVector3The side to move it to; only its part square to the segment counts.
Returns
Offset(double, GeoVector3, Tolerance)
Gets the segment parallel to this one at a distance towards a direction, within a tolerance.
public GeoLine3 Offset(double distance, GeoVector3 direction, Tolerance tolerance)
Parameters
distancedoubleHow far to move it.
directionGeoVector3The side to move it to; only its part square to the segment counts.
toleranceToleranceThe tolerance.
Returns
Offset(double, double, GeoVector3)
Gets the segment parallel to this one, moved sideways and upward in the frame an up direction fixes for it, using the default tolerance.
public GeoLine3 Offset(double lateral, double vertical, GeoVector3 up)
Parameters
lateraldoubleHow far to move it to its left, seen from above.
verticaldoubleHow far to move it up.
upGeoVector3Which way is up; only its part square to the segment counts.
Returns
Offset(double, double, GeoVector3, Tolerance)
Gets the segment parallel to this one, moved sideways and upward in the frame an up direction fixes for it, within a tolerance.
public GeoLine3 Offset(double lateral, double vertical, GeoVector3 up, Tolerance tolerance)
Parameters
lateraldoubleHow far to move it to its left, seen from above.
verticaldoubleHow far to move it up.
upGeoVector3Which way is up; only its part square to the segment counts.
toleranceToleranceThe tolerance.